> only changes the colors for syntax highlighting -- which is now slightly broken in the dark mode
might be of use:
@supports (color-scheme: dark light) {
@media screen and (prefers-color-scheme: dark) {
code { ... }
}
}