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
Handling multiple selectors #401
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This issue is to resurface a four year old issue #196.
As the issue already explains, using a
,
to separate two psuedo slectors in the same style block, wont add the base style (with the hash) to the second psuedo-selector. I've been scrutinising the library's code and beleive it si due to the fact that the logic only targets the first psuedo selector in thegenerateSubtreeStyles
function:aphrodite/src/generate.js
Lines 74 to 81 in 225f43c
I don't have the expertise to solve this problem or I would submit a PR. I hope this sort of feature can be added.
Ideally, I would want it to work like this:
to output something like this:
Thanks!
The text was updated successfully, but these errors were encountered: