feat: update darkmode support

This commit is contained in:
Sivan 2020-05-18 00:49:59 +08:00
parent 150d657a8e
commit a0367d5a66
14 changed files with 1456 additions and 504 deletions

View file

@ -76,7 +76,7 @@
font-family: $font-family-hei;
line-height: $line-height-size-normal;
@media (prefers-color-scheme: dark) {
@include darkmode-style {
border-block-start-color: hsl(0, 0%, 25%);
}
@ -89,7 +89,7 @@
&:target {
background-color: hsl(210, 100%, 93%);
@media (prefers-color-scheme: dark) {
@include darkmode-style {
background-color: hsl(210, 40%, 38%);
}
}