As designed Prefix color #1 is not hardcoded

beerForo

Well-known member
Affected version
2.1
If you set a prefix color to the first prefix on the list (.label--primary) it picks up the color from your theme and not the blue that shows in admin. I believe this is because this one is styled to fit the default color scheme of XF. But it does not reflect this in admin, it looks like you are selecting a sky blue prefix but if you have a custom theme it is not.
It should either A. Always be blue, or B. Show the correct color in admin.
 
This is intentional.

By definition the primary prefix colour inherits from one of your primary colour palette colours - this may vary greatly depending on which style you are using. Similarly there is an accent prefix colour (light orange by default) which behaves in the same way.
 
If you have 5 different styles, which all have different colour palettes, and the Admin CP style itself is a totally different style with a different colour palette, which colour exactly do you expect we should display there? The name (primary) doesn't imply it is a specific colour so it is logical to expect it is contextual.
 
You can't tell they are primary or accent unless you inspect the elements with a right click. A notation would be nice telling us this will be our primary or accent color otherwise it looks like a bug.
 
Top Bottom