summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMicah Jerome Ellison <micah.jerome.ellison@gmail.com>2024-10-19 14:28:21 -0700
committerGitHub <noreply@github.com>2024-10-19 14:28:21 -0700
commit1143fba0235fdc87fa6bfc7d946f7abf2cb1afaa (patch)
treea34127f6974f18c5c7711157f43625560722359a
parent41279ae943b6762829d859b7a9c058b6bc56cbb5 (diff)
Force brighter color with XML syntax highlighting (#1943)
-rw-r--r--docs_theme/assets/highlight.css6
1 files changed, 6 insertions, 0 deletions
diff --git a/docs_theme/assets/highlight.css b/docs_theme/assets/highlight.css
index 45dcd523..afed4971 100644
--- a/docs_theme/assets/highlight.css
+++ b/docs_theme/assets/highlight.css
@@ -139,3 +139,9 @@ Original One Dark Syntax theme from https://github.com/atom/one-dark-syntax
.rst-content .tip .admonition {
background: var(--light-blue);
}
+
+/* hack to bypass a11y issue with conflicting highlight.css files */
+code.language-xml span.hljs-meta span.hljs-string {
+ color: var(--green) !important;
+}
+