A platform for community discussion. Free, open, simple.
UX: Update highlight.js styles (#23999)
Penar Musaraj6837888b8b71
diff --git a/app/assets/stylesheets/common/base/code_highlighting.scss b/app/assets/stylesheets/common/base/code_highlighting.scssindex f659e35d51d..05941f0e094 100644--- a/app/assets/stylesheets/common/base/code_highlighting.scss+++ b/app/assets/stylesheets/common/base/code_highlighting.scss@@ -11,7 +11,8 @@ github.com style (c) Vasily Polovnyov <[email protected]>}.hljs-comment,-.hljs-doctag {+.hljs-doctag,+.hljs-code {color: var(--hljs-comment);font-style: italic;}@@ -33,12 +34,18 @@ github.com style (c) Vasily Polovnyov <[email protected]>.hljs-string,.hljs-tag .hljs-string,+.hljs-template-tag,+.hljs-template-variable,.tex .hljs-formula {color: var(--hljs-string);}.hljs-title,.hljs-name,+.hljs-quote,+.hljs-operator,+.hljs-selector-pseudo,+.hljs-selector-tag,.coffeescript .hljs-params,.scss .hljs-meta {color: var(--hljs-string);@@ -68,6 +75,9 @@ github.com style (c) Vasily Polovnyov <[email protected]>}.hljs-attribute,+.hljs-selector-attr,+.hljs-selector-class,+.hljs-selector-id,.css .hljs-keyword,.hljs-variable,.lisp .hljs-body {@@ -110,6 +120,24 @@ github.com style (c) Vasily Polovnyov <[email protected]>color: var(--primary-low);}+.hljs-section {+ color: var(--hljs-builtin-name);+ font-weight: bold;+}++.hljs-bullet {+ color: var(--hljs-attribute);+}++.hljs-emphasis {+ color: var(--hljs-comment);+ font-style: italic;+}++.hljs-strong {+ font-weight: bold;+}+/*--------------------------------------------------------------------------------| SHOULD NOT BE REMOVED |