Skip to content

Tailwind v4 upgrade#25

Closed
kentcdodds wants to merge 1 commit into
mainfrom
cursor/tailwind-v4-upgrade-14d8
Closed

Tailwind v4 upgrade#25
kentcdodds wants to merge 1 commit into
mainfrom
cursor/tailwind-v4-upgrade-14d8

Conversation

@kentcdodds
Copy link
Copy Markdown
Member

Summary

This PR upgrades the project to Tailwind CSS v4. Key changes include:

  • Migrating to a configless Tailwind setup by removing tailwind.config.ts and postcss.config.js.
  • Integrating Tailwind v4 via @tailwindcss/vite plugin.
  • Consolidating theme tokens, animations, and container utility directly into app/styles/tailwind.css using Tailwind v4's new @theme and @utility directives.
  • Updating Tailwind dependencies and adding tw-animate-css for animation utilities.

Test Plan

  1. Run npm install to ensure all new dependencies are installed.
  2. Run npm run build to verify the Tailwind v4 build pipeline completes successfully.
  3. Run npm run dev and manually check the homepage styling in the browser to ensure all styles render correctly.

Checklist

  • Tests updated
  • Docs updated

Screenshots


Homepage styling renders correctly after Tailwind v4.

tailwind-v4-homepage


Open in Cursor Open in Web

Co-authored-by: me <me@kentcdodds.com>
@cursor
Copy link
Copy Markdown

cursor Bot commented Jan 30, 2026

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

@kentcdodds kentcdodds closed this Jan 30, 2026
@kentcdodds kentcdodds deleted the cursor/tailwind-v4-upgrade-14d8 branch January 31, 2026 17:01
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