pintariching / railwind

Tailwind compiler rewritten in rust
MIT License
317 stars 9 forks source link

Grouping syntax #34

Open nokome opened 1 year ago

nokome commented 1 year ago

Hi. I was excited to stumble across Railwind recently. I've been using (and contributing to) tailwind-rs . One of the nice features it has is Twind style grouping syntax https://twind.dev/handbook/grouping-syntax.html. This is useful for reducing the length of class attributes (a common complaint when using Tailwind).

I was wondering if this would be possible with Railwind (given the architecture) and if there would be an interest in implementing it.

pintariching commented 1 year ago

Hi! Thanks for stopping by! This grouping feature seems like a nice to have thing. I think it should be possible to implement with the current architecture. I'll have to think about it, but this is something that's going on a list, that I'm eventually going to create, of things to do.