-
Notifications
You must be signed in to change notification settings - Fork 919
CSS Modules does not support deep selector #1703
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
Comments
@hoomersinpsom transfered to #1703 |
@posva any update? |
This issue can be closed as "won't fix" I assume. |
After a bit of research, it turns out that CSS Modules has its own analog of Example: .parent > :global(.child) {} Is compiled to: ._parent_pjgkn_1 > .child {} |
If we are using css modules exclusively in a project, and this is not supported, how to update child component styles from parent? |
There is no way to target a class defined in a child's Alternatively, you can define some classes in a regular |
link update https://github.com/css-modules/css-modules/blob/master/docs/composition.md#exceptions |
What problem does this feature solve?
when using css modules, the deep selector '>>>' does not work at all, when using css scoped it works fine, would be great if css modules has this feature
What does the proposed API look like?
The text was updated successfully, but these errors were encountered: