railwind icon indicating copy to clipboard operation
railwind copied to clipboard

Grouping syntax

Open nokome opened this issue 2 years ago • 1 comments

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.

nokome avatar Jan 22 '23 05:01 nokome

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.

pintariching avatar Jan 22 '23 22:01 pintariching