fix(deps): migrate Tailwind CSS from v3 to v4#711
Open
wpfleger96 wants to merge 2 commits into
Open
Conversation
6b5e7a9 to
38155ce
Compare
38155ce to
ede1a14
Compare
ede1a14 to
1319882
Compare
Replace tailwindcss v3 + autoprefixer with @tailwindcss/postcss. Replace tailwindcss-animate with tw-animate-css (pure CSS). Update CSS directives from @tailwind to @import "tailwindcss". Rename shifted utility classes across 83 component files (shadow-sm→shadow-xs, rounded-sm→rounded-xs, outline-none→outline-hidden, backdrop-blur→backdrop-blur-sm).
Migrate from the legacy JS plugins array to the v4-native CSS @plugin directive, which is the recommended approach for Tailwind v4.
eebdfb7 to
d26fc01
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
tailwindcssv3 +autoprefixerwith@tailwindcss/postcssv4 in both packages (autoprefixer is now built-in)tailwindcss-animatewithtw-animate-css(pure CSS, not a plugin)@tailwind base/components/utilitiesto@import "tailwindcss"with@configdirectivetailwind.config.js— removecontentarray (v4 auto-detects), removedarkMode: ["class"](v4 handles natively)shadow-sm→shadow-xs,rounded-sm→rounded-xs,outline-none→outline-hidden,backdrop-blur→backdrop-blur-sm@tailwindcss/typographyv0.5.19 already supports Tailwind v4 — no version change needed