Add automatic dark/light theme switching based on os

This commit is contained in:
Djordje Atlialp 2021-01-14 10:55:00 +01:00
parent 8035db5c05
commit 79d0488087
16 changed files with 28 additions and 72 deletions

View file

@ -1,11 +1,9 @@
.menu {
background: #fafafa;
border-right: 1px solid;
margin-right: 18px;
background: $light-background-header;
z-index: 9999;
.dark-theme & {
background: #1b1c1d;
@media (prefers-color-scheme: dark) {
background: $dark-background-header;
}
@media #{$media-size-phone} {