diff --git a/assets/styles/layout/_code.scss b/assets/styles/layout/_code.scss index 407363154..c2fc6eefa 100644 --- a/assets/styles/layout/_code.scss +++ b/assets/styles/layout/_code.scss @@ -280,9 +280,11 @@ div.code-toolbar > .toolbar > .toolbar-item > span:focus { .layout-wrapper-dark { pre[class*="language-"] { code { + color: var(--text-color) !important; + .token { &.tag { - color: var(--text-color) !important; + color: rgb(141,219,140) !important; } &.keyword { color: rgb(244,112,103) !important; @@ -322,10 +324,6 @@ div.code-toolbar > .toolbar > .toolbar-item > span:focus { color: rgb(220,189,251) !important; } - &.class-name { - color: rgb(141,219,140) !important; - } - &.operator { color: rgb(150,208,255) !important; }