-
-
Notifications
You must be signed in to change notification settings - Fork 64
Closed
Description
When using the plug-in with the following CSS:
:where(.foo) {
color: #000;
&__bar {
font-size: 1rem;
}
}The output currently is this:
:where(.foo) {
color: #000;
}
:where(.foo)__bar {
font-size: 1rem;
}I get that the logic is supposed to be putting __bar at the end of the & parent, but in this case I would expect the following instead:
:where(.foo) {
color: #000;
}
:where(.foo__bar) {
font-size: 1rem;
}Is there a way to make this happen?
For context, I'm using this setup to make BEM-style selectors that can easily be overridden due to the :where selector that brings the specificity down to 0.
Metadata
Metadata
Assignees
Labels
No labels