[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
Describe the bug
When using the CSS variables theme (createCssVariablesTheme) with the diff language; the highlighting is not properly done and all spans are highlighted with --shiki-foreground.
Validations
Describe the bug
When using the CSS variables theme (
createCssVariablesTheme
) with thediff
language; the highlighting is not properly done and all spans are highlighted with--shiki-foreground
.Reproduction
Run the following code:
And observe the results being:
While if it's run with
theme: 'vitesse-dark'
, the result is:I'll investigate more into the shiki codebase to understand the differences between the 2.
Reproduction
See code
Contributes