Skip to content

Commit d0cb5a5

Browse files
committed
Insert snippets injected by the upgrade tool
1 parent 768594a commit d0cb5a5

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

lib/install/application.tailwind.css

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

0 commit comments

Comments
 (0)