Add support for custom seperator in variant group. #871
Replies: 2 comments
-
Hey there - thanks for letting me know about that poll. I'm hesitant to implement the feature ahead of a Tailwind release - they may still change the syntax + theres a chance it'll "just work" once it's released in Tailwind as Twin uses some of the Tailwind codebase. |
Beta Was this translation helpful? Give feedback.
-
Hi Ben, Thanks for your response. I completely understand your hesitation about implementing this feature before Tailwind’s official release. I agree that the syntax might change, and Twin will likely sync up with Tailwind’s final version once it's out. That said, my main concern is that If this could be done in a non-breaking way, it would significantly improve the user experience. Looking forward to your thoughts! |
Beta Was this translation helpful? Give feedback.
-
The prettier-tailwindcss-plugin will cannot work well with variant group syntax. It tamper the original logic.
wiil be formatted to
Additionally, there is a hope for official variant group supporting.
The option A: Comma
was voted most.So, I think this feature request is reasonable.
https://x.com/adamwathan/status/1849509712368226792
Beta Was this translation helpful? Give feedback.
All reactions