mirror of
https://github.com/picocss/pico.git
synced 2025-04-21 17:16:14 -04:00
custom themes also override auto switching
This commit is contained in:
parent
3052db4bd3
commit
5247a21b4b
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@
|
||||||
// Automatically enabled if user has Dark mode enabled
|
// Automatically enabled if user has Dark mode enabled
|
||||||
@import "default/dark";
|
@import "default/dark";
|
||||||
@media only screen and (prefers-color-scheme: dark) {
|
@media only screen and (prefers-color-scheme: dark) {
|
||||||
:root:not([data-theme="light"]) {
|
:root:not([data-theme]) {
|
||||||
@include dark;
|
@include dark;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue