postcss-rename icon indicating copy to clipboard operation
postcss-rename copied to clipboard

css variables renaming

Open theseanl opened this issue 1 year ago • 4 comments

I've always wished Closure Stylesheets would have such a feature – it could rename css variables and emit it in a call goog.setCssNameMapping just like other class names, so that one can modify its value in JS via something like element.style.setProperty(goog.getCssName("--my-variable"), "#fff"). Would such a feature be in the scope of this project?

theseanl avatar Jul 13 '22 16:07 theseanl

In principle I could see this supporting something like that

nex3 avatar Jul 13 '22 20:07 nex3