Skip to content

chore: migrate Tailwind CSS v3 to v4 (PostCSS plugin split) - #446

Open
Diyaaa-12 wants to merge 1 commit into
drydocs:mainfrom
Diyaaa-12:chore/tailwind-v4-migration
Open

chore: migrate Tailwind CSS v3 to v4 (PostCSS plugin split)#446
Diyaaa-12 wants to merge 1 commit into
drydocs:mainfrom
Diyaaa-12:chore/tailwind-v4-migration

Conversation

@Diyaaa-12

Copy link
Copy Markdown
Contributor

Summary

Migrates apps/web from Tailwind CSS v3 to v4, fixing the PostCSS plugin split that was blocking Dependabot PR #412.

  • Removed tailwindcss v3 + autoprefixer, installed tailwindcss 4.3.3 + @tailwindcss/postcss
  • Updated postcss.config.cjs to use @tailwindcss/postcss instead of the old tailwindcss/autoprefixer plugin pair
  • Replaced the three @tailwind directives in globals.css with the v4 @import "tailwindcss"; syntax
  • Removed tailwind.config.js — theme.extend was empty and there were no custom plugins, so v4's automatic content detection covers this without a config file
  • Unrelated pre-existing peer dependency warning in apps/docs (vitepress → @docsearch/react wanting React <19) — not in scope for this PR
  • Once merged, dependabot PR chore(deps): bump tailwindcss from 3.4.19 to 4.3.3 #412 can be closed/superseded

Test plan

  • pnpm --filter @meridian/web build passes (tsc + vite build clean)
  • Full Playwright E2E suite passes (12/12)
  • Manually checked the rendered app for v4 default changes (border color, ring width) — no visual regressions observed

Closes #445

@vercel

vercel Bot commented Jul 26, 2026

Copy link
Copy Markdown

@Diyaaa-12 is attempting to deploy a commit to the Collins' projects Team on Vercel.

A member of the Team first needs to authorize it.

@Diyaaa-12
Diyaaa-12 force-pushed the chore/tailwind-v4-migration branch from 7b7377e to 11ab129 Compare July 28, 2026 10:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Chore] Migrate Tailwind CSS v3 to v4 (PostCSS plugin split)

1 participant