feat(ui): migrate to Tailwind CSS v4#2969
Merged
Merged
Conversation
- CSS-first theme: @theme + @plugin in globals.css; remove tailwind.config.js - Use @tailwindcss/vite; drop postcss, autoprefixer, @tailwindcss/aspect-ratio - Fix v4 regressions: @tailwindcss/forms .form-input collision (strategy: base), dead bg-opacity-* -> slash syntax, checkbox focus ring + single .checkbox class, translucent backgrounds, unlayered prose colors - Standardize Plex checkboxes, Manual badge, and input-action button states; delay the overlay-schedule loading hint - Add dev/seed-db.mjs to seed collections/rules/storage for local testing
Contributor
|
🎉 This PR is included in version 3.13.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
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.
Migrates the UI from Tailwind CSS v3 → v4, matching the website (maintainerr.info).
CSS-first setup
apps/ui/styles/globals.cssvia@theme/@plugin;tailwind.config.jsremoved.@tailwindcss/vite(dropspostcss,autoprefixer,@tailwindcss/aspect-ratio).tailwindStylesheet; class sort order updated repo-wide.v4 regressions fixed
@tailwindcss/formsregisters a.form-inpututility that collided with our component class (white inputs under v4 layering) →strategy: base.bg-opacity-*classes (removed in v4) →/<n>slash syntax (38 across 11 files)..checkboxclass withfocus:ring-0 focus:ring-offset-0; applied to all checkboxes.prosecolors (unlayered so they win over the typography plugin's defaults).Consistency
bg-maintainerr-600), and.input-actionbutton states (no white inversion on press).Dev tooling
dev/seed-db.mjsseeds collections / rules / storage for local testing (fictional media, placeholder posters).