Skip to content

Recipe base has higher priority than variants #466

Answered by markdalgleish
gabro asked this question in Q&A
Discussion options

You must be logged in to vote

This is because your sprinkles have a lower specificity than the newly-created reset style.

The easiest fix is to avoid Sprinkles here entirely, but that's obviously not ideal. Personally, I'd recommend moving the transparent background into its own kind variant so that you avoid applying conflicting styles.

Replies: 5 comments 7 replies

Comment options

You must be logged in to vote
3 replies
@gabro
Comment options

@markdalgleish
Comment options

@gabro
Comment options

Answer selected by gabro
Comment options

You must be logged in to vote
4 replies
@okonet
Comment options

@mattcompiles
Comment options

@okonet
Comment options

@mattcompiles
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
7 participants