mirror of
https://github.com/picocss/pico
synced 2025-06-11 14:15:34 +00:00
custom themes also override auto switching
This commit is contained in:
parent
3052db4bd3
commit
5247a21b4b
@ -17,7 +17,7 @@
|
||||
// Automatically enabled if user has Dark mode enabled
|
||||
@import "default/dark";
|
||||
@media only screen and (prefers-color-scheme: dark) {
|
||||
:root:not([data-theme="light"]) {
|
||||
:root:not([data-theme]) {
|
||||
@include dark;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user