style: modify code highlight style.

This commit is contained in:
jaywcjlove 2022-10-01 12:02:44 +08:00
parent e76c245a61
commit 274c96f8ce

View File

@ -692,9 +692,6 @@ body:not(.home) .h2wrap > h2 a::after {
.token.punctuation { .token.punctuation {
color: var(--color-prettylights-syntax-markup-bold); color: var(--color-prettylights-syntax-markup-bold);
} }
.token.function {
color: var(--color-prettylights-syntax-entity);
}
.code-line .token.deleted { .code-line .token.deleted {
background-color: var(--color-prettylights-syntax-markup-deleted-bg); background-color: var(--color-prettylights-syntax-markup-deleted-bg);
} }
@ -720,7 +717,9 @@ body:not(.home) .h2wrap > h2 a::after {
.token.coord { .token.coord {
color: var(--color-prettylights-syntax-meta-diff-range); color: var(--color-prettylights-syntax-meta-diff-range);
} }
.token.function {
color: var(--color-prettylights-syntax-entity);
}
.token.number { .token.number {
color: var(--color-accent-emphasis); color: var(--color-accent-emphasis);
} }