Tailwind JIT + AOT style interpreter in rust!

40 points GalAster

Take a look at this if you want to develop a front-end framework with rust.

tailwind-css is a way to write css in the form of short instructions.

I wrote an interpreter where you can generate css dynamically at runtime or just generate styles at compile time: https://github.com/tailwind-rs

Here is an example of compile-time AOT:

compile-time computation

Here is an example of a runtime JIT:

https://tailwind-wasm.netlify.app/

The JIT version has more functions.

The project is still in an early stage so not all features are covered