From 4cab8583e85c307975b86a38a813018623ceb421 Mon Sep 17 00:00:00 2001 From: Micah Jerome Ellison Date: Sat, 19 Oct 2024 13:53:35 -0700 Subject: [PATCH] Force brighter color with XML syntax highlighting --- 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 45dcd5236..afed4971e 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; +} +