Skip to content

Commit 38338c8

Browse files
authored
Merge pull request #3 from Mr56k/tailwind-v4
Upgrade Tailwind v4
2 parents 0c82b0b + 155628c commit 38338c8

File tree

4 files changed

+1102
-966
lines changed

4 files changed

+1102
-966
lines changed

input.css

+19-3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1-
@tailwind base;
2-
@tailwind components;
3-
@tailwind utilities;
1+
@import 'tailwindcss';
2+
3+
/*
4+
The default border color has changed to `currentColor` in Tailwind CSS v4,
5+
so we've added these compatibility styles to make sure everything still
6+
looks the same as it did with Tailwind CSS v3.
7+
8+
If we ever want to remove these styles, we need to add an explicit border
9+
color utility to any element that depends on these defaults.
10+
*/
11+
@layer base {
12+
*,
13+
::after,
14+
::before,
15+
::backdrop,
16+
::file-selector-button {
17+
border-color: var(--color-gray-200, currentColor);
18+
}
19+
}

0 commit comments

Comments
 (0)