fix dark mode

This commit is contained in:
Niklas Buschmann 2019-08-02 14:14:37 +02:00
parent 7ec2137652
commit 07376d41c3

View File

@ -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;
} }