Upgrade Tailwind CSS from v3 to v4#5180
Draft
ZJvandeWeg wants to merge 2 commits into
Draft
Conversation
ZJvandeWeg
commented
Jun 10, 2026
Member
- Replace tailwindcss@3 + autoprefixer + postcss-import with tailwindcss@4 + @tailwindcss/postcss
- Delete tailwind.config.js; migrate all theme config to @theme{} in style.css
- Load typography plugin via @plugin directive instead of require() in config
- Replace all @tailwind base/components/utilities directives with @import "tailwindcss"
- Replace all theme(colors.x.y) calls with var(--color-x-y) across all CSS files
- Port custom utilities (grid-cols-header, transition-*, text-shadow-header) to @Utility
- Port safelist to @source inline()
- Remove style.base.css (was only @tailwind base;)
- Remove TAILWIND_MODE=watch from dev scripts (v3 JIT-only flag)
- Replace tailwindcss@3 + autoprefixer + postcss-import with tailwindcss@4 + @tailwindcss/postcss - Delete tailwind.config.js; migrate all theme config to @theme{} in style.css - Load typography plugin via @plugin directive instead of require() in config - Replace all @tailwind base/components/utilities directives with @import "tailwindcss" - Replace all theme(colors.x.y) calls with var(--color-x-y) across all CSS files - Port custom utilities (grid-cols-header, transition-*, text-shadow-header) to @Utility - Port safelist to @source inline() - Remove style.base.css (was only @tailwind base;) - Remove TAILWIND_MODE=watch from dev scripts (v3 JIT-only flag)
✅ Deploy Preview for flowforge-website ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
The chokidar watcher hit circular symlinks in nuxt/.netlify/ (a Nuxt production build artifact with self-referencing node_modules/vue symlinks). Although .netlify is gitignored, chokidar can ELOOP before the gitignore check is applied. - Add @source not rule to explicitly exclude nuxt/.netlify/** from scanning - Add nuxt/.netlify to the clean:nuxt script so build artifacts are cleaned up before the next build
Member
Author
|
@Yndira-E This change creates some weird artifacts on the new homepage, and I have not figured out yet why. |
Contributor
|
I'll check it out in the morning |
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.
