Monokai / monokai-pro-vscode

Issue tracking for Monokai Pro for Visual Studio Code
321 stars 8 forks source link

CSS animation keyframe syntax color problem #358

Closed smlombardi closed 6 months ago

smlombardi commented 1 year ago

As you can see, the last value in a keyframe with multiple values (i.e. 90% here ) is colored differently and italicized for no reason

Code-20230503_153919

Monokai Pro 1.2.1, Mac, VSCode Version: 1.77.3

Monokai commented 6 months ago

This is an issue with the VSCode CSS tokenizer. It doesn't capture the first two values correctly, so syntax highlighters can't color those differently.