fix dark mode
This commit is contained in:
parent
7ec2137652
commit
07376d41c3
@ -1,3 +1,10 @@
|
|||||||
|
@media (prefers-color-scheme: light) {
|
||||||
|
html {
|
||||||
|
background: #fff;
|
||||||
|
color: #282828;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
@media (prefers-color-scheme: dark) {
|
@media (prefers-color-scheme: dark) {
|
||||||
html {
|
html {
|
||||||
background: #282828;
|
background: #282828;
|
||||||
@ -11,7 +18,6 @@ body {
|
|||||||
font-size: calc(0.8rem + 0.25vw);
|
font-size: calc(0.8rem + 0.25vw);
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
line-height: 1.65;
|
line-height: 1.65;
|
||||||
color: #282828;
|
|
||||||
-webkit-font-smoothing: antialiased;
|
-webkit-font-smoothing: antialiased;
|
||||||
-moz-osx-font-smoothing: grayscale;
|
-moz-osx-font-smoothing: grayscale;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user