Skip to content

Commit 5247a21

Browse files
committed
custom themes also override auto switching
1 parent 3052db4 commit 5247a21

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scss/themes/default.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
// Automatically enabled if user has Dark mode enabled
1818
@import "default/dark";
1919
@media only screen and (prefers-color-scheme: dark) {
20-
:root:not([data-theme="light"]) {
20+
:root:not([data-theme]) {
2121
@include dark;
2222
}
2323
}

0 commit comments

Comments
 (0)