AgentCosmic / postcss-import-json

Imports a JSON file and generates CSS custom properties (variables)
ISC License
8 stars 1 forks source link

Intellisense support #3

Open olegkron opened 1 year ago

olegkron commented 1 year ago

Hi @AgentCosmic, just wanted to know, is it possible to somehow have intellisense for the generated variables? Maybe there's a plugin for that for postCss that I don't know of. Just wanted to know how you solve this problem for yourself. I'm using pcss modules in my React projects, and since I'm importing all the variables in index.css, I don't get any variable suggestions in my css modules files.

Thanks for advice!

AgentCosmic commented 1 year ago

Hi Olegkron, I don't use vscode so I'm not very sure. You might need to generate and save the resulting CSS to a file for Intellisense to pick up the variables.