Dependabot's vianbas/finwatch#75 bumps `tailwindcss` from 3.4 to 4.x but cannot migrate the configuration, so `vite build` fails. Reproduced on its head: > `[postcss] It looks like you're trying to use tailwindcss directly as a PostCSS plugin … install @tailwindcss/postcss` ## Scope - Move to Tailwind v4 with the official `@tailwindcss/upgrade` tool, then review its output by hand: - The PostCSS plugin becomes `@tailwindcss/postcss`, and `autoprefixer` is dropped (v4 handles vendor prefixes itself). - `@tailwind base/components/utilities` becomes `@import "tailwindcss"`. - The `tailwind.config.ts` theme moves to CSS-first `@theme` tokens, keeping the shadcn-compatible CSS variables and the `.dark` class strategy. - Utilities renamed in v4 are updated (e.g. `shadow-sm`, `rounded-sm`, `outline-none`), and the v3 defaults for border and ring colour are preserved. - `components.json` is kept consistent. - **No visual change intended.** Before/after screenshots of Login, Dashboard, Alerts and Rules are compared. ## Acceptance criteria - [ ] `npm run lint`, `typecheck`, `test` and `build` pass, and CI including the Docker build is green. - [ ] The Login, Dashboard, Alerts and Rules pages render the same as before; any differences are explained. - [ ] Merging this PR makes #75 redundant (close it).
Activity