Skip to content

chore(tailwind): upgrade to tailwind v4#2575

Draft
caillou wants to merge 13 commits intoseerr-team:developfrom
caillou:2541-update-tailwind-to-v4
Draft

chore(tailwind): upgrade to tailwind v4#2575
caillou wants to merge 13 commits intoseerr-team:developfrom
caillou:2541-update-tailwind-to-v4

Conversation

@caillou
Copy link
Contributor

@caillou caillou commented Feb 25, 2026

Description

Upgrade to Talwind v4.

See https://tailwindcss.com/docs/upgrade-guide for details.

Fixes #2541

Todo

  • run pnpx @tailwindcss/upgrade
  • migrate from tailwind.config.js to global.css
  • manual review and fix potential bugs
    • move plugins and typography colors to global.css
    • font-family loading
    • transition with custom value (width)
    • fix element selector nesting order in utility classes
    • add missing label css
    • focus-ring color went from blue-500/50 to currentColor
    • remove border-color hack in global.css and update code
    • use canonical shrink-0 instead of flex-shrink-0
    • input - focus border
    • input - remove flash of white outline on focus
    • style react-select
  • figure out what gen-docs is. does it need to go to v4?

How Has This Been Tested?

TODO

Screenshots / Logs (if applicable)

image image

Checklist:

  • I have read and followed the contribution guidelines.
  • Disclosed any use of AI (see our policy)
  • I have updated the documentation accordingly.
  • All new and existing tests passed.
  • Successful build pnpm build
  • Translation keys pnpm i18n:extract
  • Database migration (if required)

@coderabbitai
Copy link

coderabbitai bot commented Feb 25, 2026

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. 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.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Tip

Try Coding Plans. Let us write the prompt for your AI agent so you can ship faster (with fewer bugs).
Share your feedback on Discord.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

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

@caillou caillou force-pushed the 2541-update-tailwind-to-v4 branch from 7ca7420 to 8a5c1dd Compare February 26, 2026 14:20
@caillou caillou force-pushed the 2541-update-tailwind-to-v4 branch from e8fcf19 to 2507d92 Compare February 26, 2026 14:24
@github-actions github-actions bot added the merge conflict Cannot merge due to merge conflicts label Feb 27, 2026
@github-actions
Copy link

This pull request has merge conflicts. Please resolve the conflicts so the PR can be successfully reviewed and merged.

caillou added 5 commits March 2, 2026 21:28
Added focus:border-blue-600 to the input/select/textarea base styles in globals.css:737. This
restores the blue focus border that was lost due to Tailwind v4's native CSS cascade layers, where
the @layer components border-color was overriding the @layer base :focus border-color from
@tailwindcss/forms.
Tailwind v4's transition utility now includes outline-color in its transition properties. Since
currentColor resolved to white (from text-white), the outline would briefly flash white during the
150ms transition when @tailwindcss/forms set outline: 2px solid transparent on focus. By setting
outline-color: transparent from the start, the transition goes from transparent -> transparent.
@caillou caillou force-pushed the 2541-update-tailwind-to-v4 branch from 3943b24 to 0df1add Compare March 2, 2026 20:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merge conflict Cannot merge due to merge conflicts

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Chore]: Update Tailwind v3 -> v4

1 participant