Skip to content

Commit e5d5b73

Browse files
committed
refactor: simplified selector
1 parent f9a9f2f commit e5d5b73

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/foundations/scss/defaults/default-required.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
}
3434

3535
// We'll set the color scheme (https://developer.mozilla.org/en-US/docs/Web/CSS/color-scheme) to light and dark if it's not already set as a meta tag in the head, which would be the recommended way.
36-
html:not(:has(> head > meta[name="color-scheme"])) {
36+
html:not(:has([name="color-scheme"])) {
3737
color-scheme: light dark;
3838
}
3939

0 commit comments

Comments
 (0)