docs: Improve dark mode syntax highlighting (#18002)

This PR introduces [GitHub
Light](https://github.com/highlightjs/highlight.js/blob/main/src/styles/github.css)
and [GitHub
Dark](https://github.com/highlightjs/highlight.js/blob/main/src/styles/github-dark.css)
as the syntax highlighting themes for the corresponding modes.

Release Notes:

- N/A
This commit is contained in:
Danilo Leal
2024-09-18 09:14:03 -03:00
committed by GitHub
parent 430ce073d2
commit 3b153a54c2
4 changed files with 256 additions and 5 deletions
+2 -2
View File
@@ -355,7 +355,7 @@ kbd {
font-style: italic;
}
code.hljs {
code:not(pre code).hljs {
color: var(--code-text) !important;
background-color: var(--code-bg);
background-color: var(--code-bg) !important;
}