Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Label] Remove hardcoded color exception "not()" for menu item labels #331

Merged
merged 1 commit into from
Dec 31, 2018

Conversation

lubber-de
Copy link
Member

Description

Menu Item Labels have a different default color (darker grey) than normal labels. To not interfere with the new dynamic colors, which do not use !important anymore, i originally (in #230) had to add :not({color}) statements for each color to the menu item label.
Now, having implemented the dynamic color system #261, this, still hardcoded, part of :not() had to be removed from menu item labels to fully support individual color maps. Thus an increase of specificity for the labels was needed.

Testcase

http://jsfiddle.net/7hp8m5og/

@lubber-de lubber-de added the type/feat Any feature requests or improvements label Dec 30, 2018
@lubber-de lubber-de added this to the 2.7.x milestone Dec 30, 2018
@lubber-de lubber-de added lang/css Anything involving CSS state/awaiting-reviews Pull requests which are waiting for reviews labels Dec 31, 2018
@ColinFrick
Copy link
Member

LGTM

Copy link
Member

@y0hami y0hami left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@y0hami y0hami merged commit 207e40e into fomantic:develop Dec 31, 2018
@lubber-de lubber-de modified the milestones: 2.7.x, 2.7.2 Dec 31, 2018
@lubber-de lubber-de removed the state/awaiting-reviews Pull requests which are waiting for reviews label Dec 31, 2018
@lubber-de lubber-de deleted the fix/label_specificity branch December 31, 2018 18:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lang/css Anything involving CSS type/feat Any feature requests or improvements
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants