fix: Package name in Go always white

Some how the `fmt` in `fmt.Println("Hello, World")` is not recognized as a token so there is no color apply to it.
Fixed this by setting a default color for the `code` tag.
This commit is contained in:
Vĩnh Phước
2025-03-08 15:50:11 +07:00
parent a0bcb9c5f6
commit 2cff086048

View File

@@ -41,8 +41,7 @@ code.language-scss,
.token.function,
.token.function-name,
.token.deleted,
code.language-javascript,
code.language-html,
code[class*="language-"],
.command-line-prompt > span:before {
color: var(--syntax-func-color, color-mix(in srgb, var(--accent) 70%, #999 30%)) !important;
}