style[dark mode]: correct foreground and background color for code block

This commit is contained in:
365cent
2023-04-13 18:40:47 -04:00
committed by GitHub
parent e28d65b92b
commit aa7ee54c09
+7
View File
@@ -79,3 +79,10 @@ code {
.token.inserted {
color: green;
}
@media (prefers-color-scheme:dark) {
code, pre {
background: none;
color: unset;
}
}