macaron-css / macaron

Compiler-augmented typesafe CSS-in-JS with zero runtime, colocation, maximum safety and productivity
https://macaron.js.org/
MIT License
735 stars 16 forks source link

qwik js support #47

Open blackPeppper opened 1 year ago

blackPeppper commented 1 year ago

Hi want to make ui framework that supports react soild and qwik

Mokshit06 commented 1 year ago

Do you mean that the components should just work in all 3 frameworks, or a separate adapter for Qwik? If the former, then macaron can't really do that as each framework adapter has it's own internal logic, though a separate adapter for qwik should be relatively easy.

If you want a framework agnostic interface then the core APIs like recipe and style are probably what you are looking for

blackPeppper commented 1 year ago

I want @macaron-css/qwik like react and soild

Mokshit06 commented 1 year ago

So I've published @macaron-css/qwik@1.0.0 but there seems to be some issue with how qwik-city is handling the macaron plugin in dev-mode. All the virtual css files are for some reason returned with text/html headers, which makes the browser not apply the styles.

Could someone from @BuilderIO team help with this?