kevin-mueller / HtmlCssClassCompletion

A Visual Studio 2022 extension, that improvies the exisiting intellisense of css classes for html-like languages.
MIT License
38 stars 3 forks source link

Cache CSS Variables for CSS Isolation Files #14

Open adamharshbarger opened 2 years ago

adamharshbarger commented 2 years ago

When writing CSS for Blazor CSS Isolation there is no Intellisense for CSS Variables declared in outside CSS Files. For example, I have my global style colors defined in variables under :root stored under a wwwroot folder within a Razor Class Library. I have the stylesheet linked in my index.html file as usual. However, when declaring colors with var(). There is no Intellisense. I would love to see a feature that searches the entire project for CSS variables and cache them for use in CSS isolation files.