vunguyentuan/vscode-css-variables

Support for Color Functional Notation

Closed this issue · 0 comments

Correct me if I'm wrong. This extension doesn't seem to work with modern color function notation which is supported by most modern browsers without a postcss polyfill.

Example: hsl(35deg 86% 67% / .5)

I then tried the same custom property written in the older hsl format, hsla(35, 86%, 67%, .5), and it worked, displaying a color preview while showing as an autocomplete option.
This proves the extension works but doesn't recognize colors formatted in the functional notation as illustrated above.