mirror of
https://github.com/discourse/discourse.git
synced 2025-01-19 02:32:45 +08:00
UX: Update highlight.js styles (#23999)
This commit is contained in:
parent
16d16c8969
commit
6837888b8b
|
@ -11,7 +11,8 @@ github.com style (c) Vasily Polovnyov <vast@whiteants.net>
|
|||
}
|
||||
|
||||
.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 <vast@whiteants.net>
|
|||
|
||||
.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 <vast@whiteants.net>
|
|||
}
|
||||
|
||||
.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 <vast@whiteants.net>
|
|||
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 |
|
||||
|
|
Loading…
Reference in New Issue
Block a user