mirror of
https://github.com/picocss/pico
synced 2025-06-16 00:19:09 +00:00
Merge pull request #272 from immers-space/theme-override
Allow use of custom data-theme values that also override auto light/dark switching
This commit is contained in:
commit
f33b27fabb
@ -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