chore: tailwind v4 migration

This commit is contained in:
Timothy Jaeryang Baek committed 2025-02-15 19:27:25 -08:00
1 parent 30182d77cc
commit e3fa48b6ce
132 files changed
+1056 -1034

No files matched your search

+25 -3
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);
}
}
@layer base {
html,
@@ -13,4 +31,8 @@
pre {
white-space: pre-wrap;
}
button {
@apply cursor-pointer;
}
}