feat(frontend): upgrade Tailwind CSS v4 + DaisyUI v5#1
Merged
Conversation
- Upgrade tailwindcss 3→4.2, daisyui 4→5, add @tailwindcss/vite plugin - Remove postcss.config.js and tailwind.config.ts (CSS-first config) - Rewrite index.css: @import tailwindcss, @plugin daisyui, custom themes - Add DaisyUI v5 design tokens to custom themes (--radius-*, --size-*, etc.) - Migrate removed classes across 14 component files: - form-control → flex flex-col - label-text → text-sm, label-text-alt → text-xs - Remove input-bordered, select-bordered, textarea-bordered, file-input-bordered - Remove .label wrapper divs, convert label toggles to flex - Convert @Utility blocks for led-branding, led-indicator, history-row - Remove postcss-import, autoprefixer, tailwindcss PostCSS plugins
revtex
added a commit
that referenced
this pull request
Apr 25, 2026
Resolves Dependabot alert #1: "PostCSS has XSS via unescaped </style> in CSS stringify output" (medium).\n\nPostCSS is a dev-only transitive dep of Vite/Tailwind and never reaches the production runtime, but pinning it removes the alert and ensures contributors build against the patched version. Adds a pnpm `overrides` entry; lockfile updated to 8.5.10.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Upgrades the frontend styling stack from Tailwind CSS 3 + DaisyUI 4 to Tailwind CSS 4.2 + DaisyUI 5.
Changes
@tailwindcss/viteplugin; deletepostcss.config.jsandtailwind.config.tsindex.csswith CSS-first config (@import,@plugin,@utility); add DaisyUI v5 design tokens to custom themesform-control→flex flex-collabel-text→text-sm,label-text-alt→text-xs*-borderedmodifiers (input, select, textarea, file-input).labelwrapper divs; convert toggle labels toflex items-centerpostcss-import,autoprefixer; add@tailwindcss/viteVerification
tsc --noEmit)