You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We always should provide one level of specifity (class ONLY selector, no children no ID, no TAGS). This helps the consumer of the library if they have to override styles
Are you reporting a bug or a feature?
Expected Behavior
It's expected that our consumers don't have to deal with CSS specificity hell originating form the patterns-library itself.
The goal is to avoid
.adjoining.classes
or.parent .classes
and only get the desired CSS by@media
queriesLet's discuss how we want to approach this and if we need common rules.
I think the downside is:
Actual Behavior
States and some modifiers increase CSS specificity slightly.
The text was updated successfully, but these errors were encountered: