chore(deps): update tailwindcss to v4

Switch to the @tailwindcss/vite plugin and the @import entry. Load the existing config with @config and keep class-based dark mode through a custom variant. Remove the postcss config and its autoprefixer dependency, which v4 no longer needs.
This commit is contained in:
2026-10-04 10:15:44 +01:00
parent 20470bfd3e
commit 70d6c8988a
5 changed files with 346 additions and 567 deletions
+3 -3
View File
@@ -1,8 +1,8 @@
@import '@fortawesome/fontawesome-free/css/all.min.css';
@tailwind base;
@tailwind components;
@tailwind utilities;
@import 'tailwindcss';
@config '../../tailwind.config.js';
@custom-variant dark (&:is(.dark *));
@layer base {
:root {