Joe Pea
Joe Pea
Ah, [prejss](https://github.com/axept/prejss) has it, looks awesome. And since it outputs JSS objects, I think that means it works with CSSX too.
Does CSSX support that media query?
Works when I remove the `#` symbols, as in ``` /* Custom, iPhone Retina */ @media only screen and (min-width : 320px) { permission-disclamer{ ... } } /* MD Medium...
As a workaround, I was able to just use a class instead, with the `.`, which works.
Cool. No rush in my case, as the workaround was easy.
What about also supporting template strings? So instead of ```jsx let style = input { color: red; } ``` we can write ```js let style = cssx` input { color:...
The template string version would actually be very very nice, because I am using this plugin to syntax highlight template strings in any language (including CSS): https://github.com/Quramy/vim-js-pretty-template
And TypeScript understands template strings, so no problem; I can run CSSX transpiler after TypeScript. Well, I would have to make sure that TypeScript doesn't transpile the template strings to...
I guess it would be easy to modify TypeScript to ignore template strings at that point.
No worries, just using JS object literals for now.