feat: Allow custom data-theme

#272
This commit is contained in:
Lucas Larroche 2022-12-29 17:51:38 +07:00
parent 7ea1f94316
commit f8a9293942

View file

@ -19,7 +19,7 @@
// Dark color scheme (Auto)
// Automatically enabled if user has Dark mode enabled
@media only screen and (prefers-color-scheme: dark) {
:root:not([data-theme="light"]) {
:root:not([data-theme]) {
@include dark.theme;
}
}