tailwind-variants icon indicating copy to clipboard operation
tailwind-variants copied to clipboard

Tailwind V4 responsive variants

Open gijsbotje opened this issue 9 months ago • 5 comments

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 the globals.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 a tailwind.config.ts file.

gijsbotje avatar Jan 28 '25 14:01 gijsbotje