v4.0.2
📦 tailwind-cssView on GitHub →
🐛 12 fixes🔧 8 symbols
Summary
This maintenance release focuses on bug fixes for CSS parsing, Vite integration (specifically for SolidStart), and refining the behavior of @theme and @variant directives.
🐛 Bug Fixes
- Only generate positive grid-cols-* and grid-rows-* utilities
- Ensure escaped theme variables are handled correctly
- Ensure Tailwind CSS features are processed when only using @reference or @variant
- Refactor gradient implementation to work around Prettier issue #17058
- Fix Vite hot-reloading and dev server crashes in SolidStart setups
- Prevent Vite from rebasing URLs that appear to be aliases
- Enable Vite transformation of <style> blocks in HTML files
- Prevent camel-casing of CSS custom properties added by JavaScript plugins
- Stop emitting @keyframes in @theme reference
- Discard invalid declarations during CSS parsing
- Prevent emission of empty CSS rules and at-rules
- Correctly handle @variant when placed at the top-level of a stylesheet
🔧 Affected Symbols
grid-cols-*grid-rows-*@reference@variant@theme reference@keyframesViteSolidStart