So this is cool, but there are some naive aspects. For example, all numbers are converted to px values? Hope you never use flexbox properties, line-height, etc.
Thanks!
> all numbers are converted to px values?
Exactly. We can set the number that you don't want to convert to px as a string. (e.g. { lineHeight: "1.4" }) But, I could understand what you want to do. I will research other CSS in JS libraries.