[ui] dark mode by default

feat/vaults
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
1 changed files with 21 additions and 21 deletions

View File

@ -38,34 +38,34 @@
} }
} }
html { @media (prefers-color-scheme: light) {
@include rebase(
colors.$base3,
colors.$base2,
colors.$base1,
colors.$base0,
colors.$base00,
colors.$base01,
colors.$base02,
colors.$base03
);
}
@media (prefers-color-scheme: dark) {
html { html {
@include rebase( @include rebase(
colors.$base03, colors.$base3,
colors.$base02,
colors.$base01,
colors.$base00,
colors.$base0,
colors.$base1,
colors.$base2, colors.$base2,
colors.$base3 colors.$base1,
colors.$base0,
colors.$base00,
colors.$base01,
colors.$base02,
colors.$base03
); );
} }
} }
html {
@include rebase(
colors.$base03,
colors.$base02,
colors.$base01,
colors.$base00,
colors.$base0,
colors.$base1,
colors.$base2,
colors.$base3
);
}
html, html,
body { body {
color: var(--foreground); color: var(--foreground);