Coobaha/postcss-variables-loader

kebab-case or camelCase

fenderil opened this issue · 3 comments

Maybe it would be better to get vars in camelCase in JS imports insteed of default css kebab-case?

Agree! We just use camelCase in CSS too because it is less magic & more grepable.

Thanks for the idea @fenderil

P.S. Maybe it should be optional... Ping me if someone thinks that this behaviour should be switchable or create PR :)

problem with lodash/camelCase is that it converts color-RGBA to colorRgba. I have changed this behaviour in 629c906, so it converts to colorRGBA.

Nice note about RGBA abbreviation. That is what i wanted to use.