We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a668d59 commit 3ba9bf8Copy full SHA for 3ba9bf8
1 file changed
.changeset/mighty-ravens-fail.md
@@ -7,13 +7,13 @@ Allow `:where` and `:is` in `selectors` if all selectors target `&`
7
EXAMPLE USAGE:
8
9
```ts
10
-const whereStyle = style({
+const example = style({
11
color: 'red',
12
selectors: {
13
- // Valid: all selectors in the list target `whereStyle`
14
- ':where(h1 > &, h2 > &)': { color: 'blue' }
15
- // Invalid: the second selector in the list does not target `whereStyle`
16
- ':where(h1 > &, h2)': { color: 'blue' }
+ // Valid: all selectors in the list target `example`
+ ':is(h1 > &, h2 > &)': { color: 'blue' }
+ // Invalid: the second selector in the list does not target `example`
+ ':is(h1 > &, h2)': { color: 'blue' }
17
}
18
});
19
```
0 commit comments