update tailwind

This commit is contained in:
Melaine Gérard 2025-02-22 21:30:17 +01:00
parent 13ba510d55
commit 9e7b35fdd9

@ -7,3 +7,22 @@
@source "../node_modules/flowbite";
@custom-variant dark (@media (prefers-color-scheme: dark));
/*
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);
}
}