chore: update tailwindcss to v4

This commit is contained in:
Igor Klepacki 2025-01-23 14:54:03 +01:00
parent 712ddfecf8
commit 3600c214f3
8 changed files with 390 additions and 325 deletions

View file

@ -1,3 +1,21 @@
@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);
}
}