Open KielYam1212008 opened 2 years ago
Shameless plug to move from JSS to SCSS https://lil5.github.io/jss-to-scss/
It's not perfect but it does the job
For the devs @ritz078 Here is the format function I use (a list of regexs) are you interested in this conversion tool?
https://github.com/lil5/jss-to-scss/blob/main/src/jss-to-scss/index.ts
Yeah, having a such thing that understands typical chakra/mantine/theme-ui more or less (with these multiple shortcut property names like h
w
, mx
, my
, pl
etc., and outputs CSS would be awesome. (then I'll drop that to Tailwind converter and I'm gold :D)
I assume emotion
itself or any CSS-in-JS library that uses all these helpers can output these if needed.
I do not know how to convert javascript to css in the website tools online.