mirror of
https://github.com/picocss/pico.git
synced 2025-04-25 10:46:14 -04: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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue