[ui] dark mode by default

This commit is contained in:
Tomáš Mládek 2022-02-04 20:25:14 +01:00
parent 9b978c39d1
commit a7efb4766b
No known key found for this signature in database
GPG key ID: ED21612889E75EC5

View file

@ -38,6 +38,7 @@
} }
} }
@media (prefers-color-scheme: light) {
html { html {
@include rebase( @include rebase(
colors.$base3, colors.$base3,
@ -50,8 +51,8 @@ html {
colors.$base03 colors.$base03
); );
} }
}
@media (prefers-color-scheme: dark) {
html { html {
@include rebase( @include rebase(
colors.$base03, colors.$base03,
@ -64,7 +65,6 @@ html {
colors.$base3 colors.$base3
); );
} }
}
html, html,
body { body {