Reduce dark theme contrast to avoid eye strain

Switch to BG: #121212 and 87% opaque text as recommended by Material Design.
This commit is contained in:
James Lu
2021-06-29 18:19:38 -07:00
parent e3212127e5
commit 0359f1d37a

View File

@ -1,7 +1,10 @@
@media (prefers-color-scheme: dark) { @media (prefers-color-scheme: dark) {
body { body {
background-color: black; background-color: #121212;
filter: invert(1) hue-rotate(180deg) color: rgba(255, 255, 255, 0.87);
}
a {
filter: invert(0.85) hue-rotate(180deg);
} }
} }