by Linux-Fan · 3y ago · 0 comments
My page uses a minimalistic CSS and only changes the colors for syntax highlighting -- which is now slightly broken in the dark mode but probably still an improvement over the white background for those people who want the dark mode :)
might be of use:
@supports (color-scheme: dark light) {
@media screen and (prefers-color-scheme: dark) {
code { ... }
}
}