UX: Update highlight.js styles (#23999)

This commit is contained in:
Penar Musaraj 2023-10-18 19:07:39 -04:00 committed by GitHub
parent 16d16c8969
commit 6837888b8b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 |