chore: update TailwindCSS and opt max-w
Vercel Production Deployment / Deploy-Production (push) Successful in 3m2s

This commit is contained in:
2025-04-16 15:36:34 +08:00
parent cf391d0120
commit e505deb5d2
10 changed files with 622 additions and 816 deletions
+28 -3
View File
@@ -1,6 +1,27 @@
@tailwind base;
@tailwind components;
@tailwind utilities;
@import "tailwindcss";
@theme {
--color-background: var(--background);
--color-foreground: var(--foreground);
}
/*
The default border color has changed to `currentcolor` in Tailwind CSS v4,
so we've added these compatibility styles to make sure everything still
looks the same as it did with Tailwind CSS v3.
If we ever want to remove these styles, we need to add an explicit border
color utility to any element that depends on these defaults.
*/
@layer base {
*,
::after,
::before,
::backdrop,
::file-selector-button {
border-color: var(--color-gray-200, currentcolor);
}
}
body {
color: var(--foreground);
@@ -52,3 +73,7 @@ body {
.transition-shadow {
transition: box-shadow 0.3s ease-in-out;
}
.container {
max-width: 1200px;
}