Skip to content

Inverted color variables: are these correct? #2086

Discussion options

You must be logged in to vote

primaryColor and secondaryColor are (unfortunately) often used for background colors and are dark (black and blue),

@primaryColor : @blue;
@secondaryColor : @black;
@lightPrimaryColor : @lightBlue;
@lightSecondaryColor : @lightBlack;

so the primaryTextColor and secondaryTextColor (used inside buttons/labels) cannot be the same. The desired color is white, that's why we have choosen to use invertedTextColor here

They are defined as text colors, which is used inside buttons/labels in the central colors.less file here

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by lubber-de
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants