Repository navigation
Chore/tailwind v4 upgrade - [INS-1653] - #9350
Conversation
991f0f0 to
9990d68
Compare
There was a problem hiding this comment.
Pull Request Overview
This PR upgrades Tailwind CSS to version 4, migrating from the JavaScript configuration file to CSS-native configuration using the new @theme and @plugin directives. The migration includes comprehensive updates to Tailwind class syntax across the codebase to align with v4's new conventions.
- Removes
tailwind.config.jsandpostcss.config.jsin favor of CSS-native configuration - Adds
@tailwindcss/viteplugin to Vite configuration - Updates CSS custom property syntax from
[--var]to(--var) - Migrates animation/keyframe definitions from JavaScript to CSS
@themeblocks - Updates hundreds of utility class names to v4 syntax (
shrink-0,grow,outline-hidden, etc.)
Reviewed Changes
Copilot reviewed 147 out of 189 changed files in this pull request and generated 5 comments.
Show a summary per file
| File | Description |
|---|---|
| vite.config.ts | Adds @tailwindcss/vite plugin for Tailwind v4 integration |
| tailwind.config.js | Deleted - configuration moved to CSS |
| postcss.config.js | Deleted - no longer required with Vite plugin |
| styles.css | Major restructure with @import layers, @plugin, and @theme directives for v4 |
| main.css | Updates import paths and removes conflicting CSS reset rules |
| 40+ component files | Comprehensive class syntax updates for Tailwind v4 compatibility |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Pull Request Overview
Copilot reviewed 147 out of 189 changed files in this pull request and generated no new comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
jackkav
left a comment
There was a problem hiding this comment.
Looks good to me, stuff like this will always have risk. I suggest we merge it as early as possible and alert the team to watch out for any UI issues they might notice.
Great job
|
We have some in-progress features for v12.1, to avoid conflicts, plan to merge once v12.1 released. |
c0d035b to
0446e44
Compare
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 148 out of 190 changed files in this pull request and generated 9 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
8b1fb1a to
6736e77
Compare
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 148 out of 190 changed files in this pull request and generated no new comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
6a13549 to
d195d1e
Compare
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 148 out of 190 changed files in this pull request and generated no new comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
d195d1e to
0f35401
Compare
There was a problem hiding this comment.
Copilot reviewed 148 out of 190 changed files in this pull request and generated 4 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Tailwind v4 upgrade: https://tailwindcss.com/docs/upgrade-guide
Tailwind v4 has some breaking changes so this upgrade has some risks. It's better to merge into the develop branch after the most recent major release (may be v12.1 or v12.2), so we have plenty of time to test and fix UI issues.