Skip to content

Commit 3ba9bf8

Browse files
authored
Tweak changeset again (#1705)
1 parent a668d59 commit 3ba9bf8

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

.changeset/mighty-ravens-fail.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@ Allow `:where` and `:is` in `selectors` if all selectors target `&`
77
EXAMPLE USAGE:
88

99
```ts
10-
const whereStyle = style({
10+
const example = style({
1111
color: 'red',
1212
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' }
13+
// Valid: all selectors in the list target `example`
14+
':is(h1 > &, h2 > &)': { color: 'blue' }
15+
// Invalid: the second selector in the list does not target `example`
16+
':is(h1 > &, h2)': { color: 'blue' }
1717
}
1818
});
1919
```

0 commit comments

Comments
 (0)