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

@ -75,7 +75,7 @@
background-color: hsla(58, 100%, 50%, 0.88);
color: inherit;
@media (prefers-color-scheme: dark) {
@include darkmode-style {
background-color: hsla(58, 100%, 15%, 0.88);
}
}
@ -132,7 +132,7 @@
a:target {
background-color: hsl(210, 100%, 93%);
@media (prefers-color-scheme: dark) {
@include darkmode-style {
background-color: hsl(210, 40%, 38%);
}
}
@ -155,7 +155,7 @@
border-block-end-style: double;
border-block-end-color: hsla(0, 0%, 0%, 0.54);
@media (prefers-color-scheme: dark) {
@include darkmode-style {
border-block-end-color: hsla(0, 0%, 100%, 0.54);
}
}