vunguyentuan / vscode-css-variables

CSS variables autocomplete for vscode
https://marketplace.visualstudio.com/items?itemName=vunguyentuan.vscode-css-variables
MIT License
139 stars 22 forks source link

Color preview accidentally rendered for font-weight values, a red color #94

Open Firsh opened 3 months ago

Firsh commented 3 months ago

When the value is something like a font-weight, such as 400, 500, 600 the plugin thinks it's a short hex notation for #400, #500, #600 previewing it as a deep red color.

image

Also, thanks for this, it's the only extension that gave me autocomplete from an scss file (of design system tokens) into css-in-js blocks in tsx.