postcss / postcss-custom-properties

Use Custom Properties in CSS
https://postcss.github.io/postcss-custom-properties
MIT License
595 stars 77 forks source link

importFrom CSS string #238

Open jscheid opened 3 years ago

jscheid commented 3 years ago

It would be useful if importFrom could accept a CSS string or buffer, rather than a file. Would you accept a PR for this feature?

romainmenke commented 2 years ago

importFrom can already be a string that is a file path. Overloading this option even more to also possible be a css string would make it overly complicated.