Skip to content
Discussion options

You must be logged in to vote

Hello! This is an intentional limitation of style selectors. You have to use globalStyle for this, or create an individual style that you apply as a class to the child element (this is the recommended approach). You can read more about the rationale here: https://vanilla-extract.style/documentation/styling/#complex-selectors

Replies: 1 comment

Comment options

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