[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,7 +38,8 @@
} }
} }
html { @media (prefers-color-scheme: light) {
html {
@include rebase( @include rebase(
colors.$base3, colors.$base3,
colors.$base2, colors.$base2,
@ -49,10 +50,10 @@ html {
colors.$base02, colors.$base02,
colors.$base03 colors.$base03
); );
}
} }
@media (prefers-color-scheme: dark) { html {
html {
@include rebase( @include rebase(
colors.$base03, colors.$base03,
colors.$base02, colors.$base02,
@ -63,7 +64,6 @@ html {
colors.$base2, colors.$base2,
colors.$base3 colors.$base3
); );
}
} }
html, html,