From 1143fba0235fdc87fa6bfc7d946f7abf2cb1afaa Mon Sep 17 00:00:00 2001 From: Micah Jerome Ellison Date: Sat, 19 Oct 2024 14:28:21 -0700 Subject: [PATCH] Force brighter color with XML syntax highlighting (#1943) --- docs_theme/assets/highlight.css | 6 ++++++ 1 file changed, 6 insertions(+) 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; +} +