You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Now I should be able to use any radix colour anywhere in my css and postcss will import only that variable from the index.css file. However it requires that all available CSS variables be stored in a single file to read from. There is no option for this other than for me to combine all the available colour CSS files into a single file and use that.
Instead, I propose since there is already an index.js file exporting all the colours, why not include an index.css file that includes every colour variable.
The text was updated successfully, but these errors were encountered:
I would like to use postcss-jit-props to extract only the variables I need from each colour stylesheet. It would allow me to do the following:
Now I should be able to use any radix colour anywhere in my css and postcss will import only that variable from the index.css file. However it requires that all available CSS variables be stored in a single file to read from. There is no option for this other than for me to combine all the available colour CSS files into a single file and use that.
Instead, I propose since there is already an index.js file exporting all the colours, why not include an index.css file that includes every colour variable.
The text was updated successfully, but these errors were encountered: