add highlighting for other languages

This commit is contained in:
Luke Boswell 2023-04-10 13:21:24 +10:00
parent 0820780e73
commit ac07ddcbaf
No known key found for this signature in database
GPG key ID: F6DB3C9DB47377B0
4 changed files with 95 additions and 15 deletions

View file

@ -626,19 +626,42 @@ samp .comment,
code .comment {
color: var(--green);
}
/* Number, String, Tag, Type literals */
/* Number, String, Tag literals */
samp .storage.type,
code .storage.type,
samp .string,
code .string,
samp .string.begin,
code .string.begin,
samp .string.end,
code .string.end,
samp .constant,
code .constant,
samp .literal,
code .literal {
color: var(--cyan);
}
/* Keywords and punctuation */
samp .kw,
samp .keyword,
code .keyword,
samp .punctuation.section,
code .punctuation.section,
samp .punctuation.separator,
code .punctuation.separator,
samp .punctuation.terminator,
code .punctuation.terminator,
samp .kw,
code .kw {
color: var(--magenta);
color: var(--magenta);
}
/* Operators */
samp .op,
code .op {
code .op,
samp .keyword.operator,
code .keyword.operator {
color: var(--orange);
}
@ -649,12 +672,22 @@ code .delimeter {
}
/* Variables modules and field names */
samp .function,
code .function,
samp .meta.group,
code .meta.group,
samp .meta.block,
code .meta.block,
samp .lowerident,
code .lowerident {
color: var(--blue);
}
/* Types, Tags, and Modules */
samp .type,
code .type,
samp .meta.path,
code .meta.path,
samp .upperident,
code .upperident {
color: var(--green);