Skip to content

Conversation

Copy link

Copilot AI commented Dec 9, 2025

Migrates from Tailwind CSS v3.4.18 to v4.1.17, adopting the new CSS-first configuration approach.

Configuration Migration

  • CSS imports: Replaced @tailwind directives with @import 'tailwindcss'
  • Theme config: Moved from tailwind.config.ts to inline @theme directive in globals.css
  • PostCSS: Updated to use @tailwindcss/postcss plugin
  • Font application: Converted @apply font-primary text-text to vanilla CSS properties (v4 requires theme variables to be fully declared before use)

Example

/* Before (v3) */
@tailwind base;
@tailwind components;
@tailwind utilities;

/* After (v4) */
@import 'tailwindcss';

@theme {
  --font-family-primary: CircularStd, ui-sans-serif, system-ui, sans-serif;
  --color-primary: #ff5c24;
}

Dependencies

  • Added @tailwindcss/postcss 4.1.17
  • Removed tailwind.config.ts (no longer needed)
  • Updated prettier plugin configuration for v4 class ordering

✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

@vercel
Copy link

vercel bot commented Dec 9, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
sentiment Ready Ready Preview Comment Dec 9, 2025 1:57am

@coderabbitai
Copy link

coderabbitai bot commented Dec 9, 2025

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


Comment @coderabbitai help to get the list of available commands and usage tips.

Co-authored-by: dmnktoe <34511635+dmnktoe@users.noreply.github.com>
Copy link
Author

Copilot AI commented Dec 9, 2025

Just as a heads up, I was blocked by some firewall rules while working on your feedback. Expand below for details.

Copilot AI changed the title [WIP] Update dependency tailwindcss to version 4 chore: migrate to tailwind css v4 Dec 9, 2025
Copilot AI requested a review from dmnktoe December 9, 2025 01:55
@renovate renovate bot force-pushed the renovate/major-tailwindcss-monorepo branch 2 times, most recently from 80839d7 to d2bf134 Compare December 12, 2025 00:32
@renovate renovate bot force-pushed the renovate/major-tailwindcss-monorepo branch from d2bf134 to c834f37 Compare December 31, 2025 16:53
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.

2 participants