From 4f4cbf02ecbbe28cf8fa7c9517ef993d03c4e6fa Mon Sep 17 00:00:00 2001 From: lolabird <89228316+Lolabird@users.noreply.github.com> Date: Wed, 5 Feb 2025 10:49:18 -0700 Subject: [PATCH] Fix html tag colors for code blocks --- everforest-ant-dark.css | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/everforest-ant-dark.css b/everforest-ant-dark.css index 0de6c78..7b3cfe6 100644 --- a/everforest-ant-dark.css +++ b/everforest-ant-dark.css @@ -1017,19 +1017,19 @@ code.hljs { .hljs-comment,.hljs-quote { color: var(--code-comment) !important; } -.hljs-name,.hljs-selector-tag,.hljs-tag,.hljs-deletion,.hljs-selector-attr { +.hljs-name,.hljs-name>.hljs-tag,.hljs-selector-tag,.hljs-tag,.hljs-deletion,.hljs-selector-attr { color: var(--code-tag) !important; } .hljs-attribute { color: var(--code-attribute) !important; } -.hljs-addition,.hljs-literal,.hljs-section,.hljs-string,.hljs-template-tag,.hljs-template-variable,.hljs-type,.hljs-regexp { +.hljs-addition,.hljs-literal,.hljs-section,.hljs-string.hljs-string>.hljs-tag,.hljs-template-tag,.hljs-template-variable,.hljs-type,.hljs-regexp { color: var(--code-string) !important; } .hljs-built_in { color: var(--code-builtin) !important; } -.hljs-doctag,.hljs-attr,.hljs-bullet,.hljs-link,.hljs-symbol { +.hljs-doctag,.hljs-attr,.hljs-attr>.hljs-tag,.hljs-bullet,.hljs-link,.hljs-symbol { color: var(--soft-sea-green) !important; } .hljs-emphasis {