tailwind-css-variables icon indicating copy to clipboard operation
tailwind-css-variables copied to clipboard

Extract :root variables into separate file

Open jshrssll opened this issue 5 years ago • 1 comments

It would be great if there was a feature to automatically extract the :root {} variables out of the compiled tailwind.css file and have them stored in a separate file. Has anyone achieved this?

jshrssll avatar Aug 04 '20 05:08 jshrssll

I have added a pull request for this feature, keen to get your feedback.

https://github.com/omarkhatibco/tailwind-css-variables/pull/11

jshrssll avatar Aug 04 '20 06:08 jshrssll