mirror of
https://github.com/discourse/discourse.git
synced 2025-03-01 20:03:10 +08:00
UX: Add some missing hljs classes
This commit is contained in:
parent
a48595ae7a
commit
683c038ec0
@ -15,7 +15,8 @@ pre > code {
|
|||||||
|
|
||||||
.hljs-comment,
|
.hljs-comment,
|
||||||
.hljs-doctag,
|
.hljs-doctag,
|
||||||
.hljs-code {
|
.hljs-code,
|
||||||
|
.hljs-meta {
|
||||||
color: var(--hljs-comment);
|
color: var(--hljs-comment);
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
}
|
}
|
||||||
@ -35,7 +36,8 @@ pre > code {
|
|||||||
.hljs-string,
|
.hljs-string,
|
||||||
.hljs-tag .hljs-string,
|
.hljs-tag .hljs-string,
|
||||||
.hljs-template-tag,
|
.hljs-template-tag,
|
||||||
.hljs-template-variable {
|
.hljs-template-variable,
|
||||||
|
.hljs-type {
|
||||||
color: var(--hljs-string);
|
color: var(--hljs-string);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -44,7 +46,8 @@ pre > code {
|
|||||||
.hljs-quote,
|
.hljs-quote,
|
||||||
.hljs-operator,
|
.hljs-operator,
|
||||||
.hljs-selector-pseudo,
|
.hljs-selector-pseudo,
|
||||||
.hljs-selector-tag {
|
.hljs-selector-tag,
|
||||||
|
.hljs-link {
|
||||||
color: var(--hljs-string);
|
color: var(--hljs-string);
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
@ -53,6 +56,7 @@ pre > code {
|
|||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.hljs-literal,
|
||||||
.hljs-class .hljs-title {
|
.hljs-class .hljs-title {
|
||||||
color: var(--hljs-literal);
|
color: var(--hljs-literal);
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
@ -65,6 +69,11 @@ pre > code {
|
|||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.hljs-tag .hljs-attr,
|
||||||
|
.hljs-tag .hljs-name {
|
||||||
|
color: var(--hljs-attribute);
|
||||||
|
}
|
||||||
|
|
||||||
.hljs-attribute,
|
.hljs-attribute,
|
||||||
.hljs-selector-attr,
|
.hljs-selector-attr,
|
||||||
.hljs-selector-class,
|
.hljs-selector-class,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user