Chore: upgrade to tailwind v4 (#4863)

This commit is contained in:
shamoon
2025-03-02 08:42:57 -08:00
committed by GitHub
parent fdf405fe0a
commit d55a5e5efe
28 changed files with 945 additions and 1165 deletions

View File

@@ -1,6 +1,24 @@
@tailwind base;
@tailwind components;
@tailwind utilities;
@import 'tailwindcss';
@config '../../tailwind.config.js';
/*
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);
}
}
#__next {
width: 100%;