-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tailwind V4 responsive variants #240
Comments
Tailwindcss V4 no longer supports the config.content.transform so we remove the responsive variants feature If you want to use responsive variants, you need to add it manually to your classname. |
Are you planning to bring it back? Responsive variants is the only reason to exist alongside CVA, no? |
@twosixstudio there are more reasons actually
We do not plan to add responsive variants support in tailwind v4 for now |
As of tailwindcss v4 the theme config is advised to be done in a CSS file. I've upgraded a project that used responsive variants, which used
withTV()
to allow responsive variants, and migrated my config file into theglobals.css
file.Will there be a way to enable responsive variants with the new CSS config?
Until the fix discussed in #239 is published, the
withTV()
wrapper is currently broken for v4 when using@config
to load atailwind.config.ts
file.The text was updated successfully, but these errors were encountered: