Skip to content

Commit 063325a

Browse files
committed
Update example
1 parent 8c0bf96 commit 063325a

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,17 +34,17 @@ from media query to special class.
3434
/* Output CSS */
3535

3636
@media (prefers-color-scheme: dark) {
37-
html:not(.is-light) {
37+
html:where(:not(.is-light)) {
3838
--text-color: white
3939
}
40-
html:not(.is-light) body {
40+
:where(html:not(.is-light)) body {
4141
background: black
4242
}
4343
}
44-
html.is-dark {
44+
html:where(.is-dark) {
4545
--text-color: white
4646
}
47-
html.is-dark body {
47+
:where(html.is-dark) body {
4848
background: black
4949
}
5050
```

0 commit comments

Comments
 (0)