Skip to content

Commit e66cac5

Browse files
committed
tailwind fix
1 parent f8edc28 commit e66cac5

File tree

1 file changed

+104
-0
lines changed

1 file changed

+104
-0
lines changed

assets/css/tailwind.css

Lines changed: 104 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,104 @@
1+
@import 'tailwindcss';
2+
3+
@config '../../tailwind.config.js';
4+
5+
/*
6+
The default border color has changed to `currentcolor` in Tailwind CSS v4,
7+
so we've added these compatibility styles to make sure everything still
8+
looks the same as it did with Tailwind CSS v3.
9+
10+
If we ever want to remove these styles, we need to add an explicit border
11+
color utility to any element that depends on these defaults.
12+
*/
13+
@layer base {
14+
*,
15+
::after,
16+
::before,
17+
::backdrop,
18+
::file-selector-button {
19+
border-color: var(--color-gray-200, currentcolor);
20+
}
21+
}
22+
23+
@utility step {
24+
counter-increment: step;
25+
26+
&:before {
27+
@apply absolute w-9 h-9 bg-muted rounded-full font-mono font-medium text-center text-base inline-flex items-center justify-center -indent-px border-4 border-background;
28+
@apply -ml-[50px] -mt-1;
29+
content: counter(step);
30+
}
31+
}
32+
33+
@layer base {
34+
:root {
35+
--background: 0 0% 100%;
36+
--foreground: 222.2 84% 4.9%;
37+
38+
--card: 0 0% 100%;
39+
--card-foreground: 222.2 84% 4.9%;
40+
41+
--popover: 0 0% 100%;
42+
--popover-foreground: 222.2 84% 4.9%;
43+
44+
--primary: 221.2 83.2% 53.3%;
45+
--primary-foreground: 210 40% 98%;
46+
47+
--secondary: 210 40% 96.1%;
48+
--secondary-foreground: 222.2 47.4% 11.2%;
49+
50+
--muted: 210 40% 96.1%;
51+
--muted-foreground: 215.4 16.3% 46.9%;
52+
53+
--accent: 210 40% 96.1%;
54+
--accent-foreground: 222.2 47.4% 11.2%;
55+
56+
--destructive: 0 84.2% 60.2%;
57+
--destructive-foreground: 210 40% 98%;
58+
59+
--border: 214.3 31.8% 91.4%;
60+
--input: 214.3 31.8% 91.4%;
61+
--ring: 221.2 83.2% 53.3%;
62+
--radius: 0.5rem;
63+
}
64+
65+
.dark {
66+
--background: 222.2 84% 4.9%;
67+
--foreground: 210 40% 98%;
68+
69+
--card: 222.2 84% 4.9%;
70+
--card-foreground: 210 40% 98%;
71+
72+
--popover: 222.2 84% 4.9%;
73+
--popover-foreground: 210 40% 98%;
74+
75+
--primary: 217.2 91.2% 59.8%;
76+
--primary-foreground: 222.2 47.4% 11.2%;
77+
78+
--secondary: 217.2 32.6% 17.5%;
79+
--secondary-foreground: 210 40% 98%;
80+
81+
--muted: 217.2 32.6% 17.5%;
82+
--muted-foreground: 215 20.2% 65.1%;
83+
84+
--accent: 217.2 32.6% 17.5%;
85+
--accent-foreground: 210 40% 98%;
86+
87+
--destructive: 0 62.8% 30.6%;
88+
--destructive-foreground: 210 40% 98%;
89+
90+
--border: 217.2 32.6% 17.5%;
91+
--input: 217.2 32.6% 17.5%;
92+
--ring: 224.3 76.3% 48%;
93+
}
94+
}
95+
96+
@layer base {
97+
* {
98+
@apply border-border outline-ring/50;
99+
}
100+
101+
body {
102+
@apply bg-background text-foreground;
103+
}
104+
}

0 commit comments

Comments
 (0)