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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user