From d297ffac3f2c305e0d52d9c00cd9f2267a4723c1 Mon Sep 17 00:00:00 2001 From: lolabird <89228316+Lolabird@users.noreply.github.com> Date: Sun, 6 Apr 2025 16:51:43 -0600 Subject: [PATCH] Adjust hljs styles --- og_stellar-dark.css | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/og_stellar-dark.css b/og_stellar-dark.css index 39604c1..44291ba 100644 --- a/og_stellar-dark.css +++ b/og_stellar-dark.css @@ -959,8 +959,8 @@ code.hljs { padding:3px 5px; } .hljs{ - background:#fff; - color: yellow !important; + background: var(--main-background); + color: var(--shallow-sea-blue) !important; } .hljs-number { color: var(--code-number) !important; @@ -986,19 +986,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-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 {