tailwind-variants
tailwind-variants copied to clipboard
Tailwind V4 responsive variants
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.