|
1 |
| -@tailwind base; |
2 |
| -@tailwind components; |
3 |
| -@tailwind utilities; |
| 1 | +@import 'tailwindcss'; |
4 | 2 |
|
5 |
| -@reference { |
6 |
| - @import "tailwindcss"; |
| 3 | +@theme { |
| 4 | + --background-image-gradient-radial: radial-gradient(var(--tw-gradient-stops)); |
| 5 | + --background-image-gradient-conic: conic-gradient( |
| 6 | + from 180deg at 50% 50%, |
| 7 | + var(--tw-gradient-stops) |
| 8 | + ); |
| 9 | + |
| 10 | + --radius-lg: var(--radius); |
| 11 | + --radius-md: calc(var(--radius) - 2px); |
| 12 | + --radius-sm: calc(var(--radius) - 4px); |
| 13 | + |
| 14 | + --color-background: hsl(var(--background)); |
| 15 | + --color-foreground: hsl(var(--foreground)); |
| 16 | + |
| 17 | + --color-card: hsl(var(--card)); |
| 18 | + --color-card-foreground: hsl(var(--card-foreground)); |
| 19 | + |
| 20 | + --color-popover: hsl(var(--popover)); |
| 21 | + --color-popover-foreground: hsl(var(--popover-foreground)); |
| 22 | + |
| 23 | + --color-primary: hsl(var(--primary)); |
| 24 | + --color-primary-foreground: hsl(var(--primary-foreground)); |
| 25 | + |
| 26 | + --color-secondary: hsl(var(--secondary)); |
| 27 | + --color-secondary-foreground: hsl(var(--secondary-foreground)); |
| 28 | + |
| 29 | + --color-muted: hsl(var(--muted)); |
| 30 | + --color-muted-foreground: hsl(var(--muted-foreground)); |
| 31 | + |
| 32 | + --color-accent: hsl(var(--accent)); |
| 33 | + --color-accent-foreground: hsl(var(--accent-foreground)); |
| 34 | + |
| 35 | + --color-destructive: hsl(var(--destructive)); |
| 36 | + --color-destructive-foreground: hsl(var(--destructive-foreground)); |
| 37 | + |
| 38 | + --color-border: hsl(var(--border)); |
| 39 | + --color-input: hsl(var(--input)); |
| 40 | + --color-ring: hsl(var(--ring)); |
| 41 | + |
| 42 | + --color-chart-1: hsl(var(--chart-1)); |
| 43 | + --color-chart-2: hsl(var(--chart-2)); |
| 44 | + --color-chart-3: hsl(var(--chart-3)); |
| 45 | + --color-chart-4: hsl(var(--chart-4)); |
| 46 | + --color-chart-5: hsl(var(--chart-5)); |
7 | 47 | }
|
8 | 48 |
|
9 |
| -@keyframes slideInUp { |
| 49 | +/* |
| 50 | + The default border color has changed to `currentcolor` in Tailwind CSS v4, |
| 51 | + so we've added these compatibility styles to make sure everything still |
| 52 | + looks the same as it did with Tailwind CSS v3. |
| 53 | +
|
| 54 | + If we ever want to remove these styles, we need to add an explicit border |
| 55 | + color utility to any element that depends on these defaults. |
| 56 | +*/ |
| 57 | +@layer base { |
| 58 | + *, |
| 59 | + ::after, |
| 60 | + ::before, |
| 61 | + ::backdrop, |
| 62 | + ::file-selector-button { |
| 63 | + border-color: var(--color-gray-200, currentcolor); |
| 64 | + } |
| 65 | +} |
| 66 | + |
| 67 | +@utility text-balance { |
| 68 | + text-wrap: balance; |
| 69 | +} |
| 70 | + |
| 71 | +@layer utilities { |
| 72 | + @reference { |
| 73 | + @import 'tailwindcss'; |
| 74 | + } |
| 75 | + |
| 76 | + @keyframes slideInUp { |
10 | 77 | from {
|
11 |
| - opacity: 0; |
12 |
| - transform: translateY(30px); |
| 78 | + opacity: 0; |
| 79 | + transform: translateY(30px); |
13 | 80 | }
|
14 | 81 | to {
|
15 |
| - opacity: 1; |
16 |
| - transform: translateY(0); |
| 82 | + opacity: 1; |
| 83 | + transform: translateY(0); |
17 | 84 | }
|
18 |
| -} |
| 85 | + } |
19 | 86 |
|
20 |
| -@keyframes slideInLeft { |
| 87 | + @keyframes slideInLeft { |
21 | 88 | from {
|
22 |
| - opacity: 0; |
23 |
| - transform: translateX(-30px); |
| 89 | + opacity: 0; |
| 90 | + transform: translateX(-30px); |
24 | 91 | }
|
25 | 92 | to {
|
26 |
| - opacity: 1; |
27 |
| - transform: translateX(0); |
| 93 | + opacity: 1; |
| 94 | + transform: translateX(0); |
28 | 95 | }
|
29 |
| -} |
| 96 | + } |
30 | 97 |
|
31 |
| -@keyframes slideInRight { |
| 98 | + @keyframes slideInRight { |
32 | 99 | from {
|
33 |
| - opacity: 0; |
34 |
| - transform: translateX(30px); |
| 100 | + opacity: 0; |
| 101 | + transform: translateX(30px); |
35 | 102 | }
|
36 | 103 | to {
|
37 |
| - opacity: 1; |
38 |
| - transform: translateX(0); |
| 104 | + opacity: 1; |
| 105 | + transform: translateX(0); |
39 | 106 | }
|
40 |
| -} |
| 107 | + } |
41 | 108 |
|
42 |
| -@keyframes fadeInUp { |
| 109 | + @keyframes fadeInUp { |
43 | 110 | from {
|
44 |
| - opacity: 0; |
45 |
| - transform: translateY(20px); |
| 111 | + opacity: 0; |
| 112 | + transform: translateY(20px); |
46 | 113 | }
|
47 | 114 | to {
|
48 |
| - opacity: 1; |
49 |
| - transform: translateY(0); |
| 115 | + opacity: 1; |
| 116 | + transform: translateY(0); |
50 | 117 | }
|
51 |
| -} |
| 118 | + } |
52 | 119 |
|
53 |
| -@keyframes bounceIn { |
| 120 | + @keyframes bounceIn { |
54 | 121 | 0% {
|
55 |
| - opacity: 0; |
56 |
| - transform: scale(0.3); |
| 122 | + opacity: 0; |
| 123 | + transform: scale(0.3); |
57 | 124 | }
|
58 | 125 | 50% {
|
59 |
| - opacity: 1; |
60 |
| - transform: scale(1.05); |
| 126 | + opacity: 1; |
| 127 | + transform: scale(1.05); |
61 | 128 | }
|
62 | 129 | 70% {
|
63 |
| - transform: scale(0.9); |
| 130 | + transform: scale(0.9); |
64 | 131 | }
|
65 | 132 | 100% {
|
66 |
| - opacity: 1; |
67 |
| - transform: scale(1); |
| 133 | + opacity: 1; |
| 134 | + transform: scale(1); |
68 | 135 | }
|
69 |
| -} |
| 136 | + } |
70 | 137 |
|
71 |
| -.animate-slideInUp { |
| 138 | + .animate-slideInUp { |
72 | 139 | animation: slideInUp 0.8s ease-out forwards;
|
73 |
| -} |
| 140 | + } |
74 | 141 |
|
75 |
| -.animate-slideInLeft { |
| 142 | + .animate-slideInLeft { |
76 | 143 | animation: slideInLeft 0.8s ease-out forwards;
|
77 |
| -} |
| 144 | + } |
78 | 145 |
|
79 |
| -.animate-slideInRight { |
| 146 | + .animate-slideInRight { |
80 | 147 | animation: slideInRight 0.8s ease-out forwards;
|
81 |
| -} |
| 148 | + } |
82 | 149 |
|
83 |
| -.animate-fadeInUp { |
| 150 | + .animate-fadeInUp { |
84 | 151 | animation: fadeInUp 1s ease-out 0.5s forwards;
|
85 |
| -} |
| 152 | + } |
86 | 153 |
|
87 |
| -.animate-bounceIn { |
| 154 | + .animate-bounceIn { |
88 | 155 | animation: bounceIn 0.8s ease-out forwards;
|
89 |
| -} |
| 156 | + } |
90 | 157 |
|
91 |
| -/* Smooth scroll behavior */ |
92 |
| -html { |
| 158 | + /* Smooth scroll behavior */ |
| 159 | + html { |
93 | 160 | scroll-behavior: smooth;
|
94 |
| -} |
| 161 | + } |
95 | 162 |
|
96 |
| -/* Custom scrollbar */ |
97 |
| -::-webkit-scrollbar { |
| 163 | + /* Custom scrollbar */ |
| 164 | + ::-webkit-scrollbar { |
98 | 165 | width: 8px;
|
99 |
| -} |
| 166 | + } |
100 | 167 |
|
101 |
| -::-webkit-scrollbar-track { |
| 168 | + ::-webkit-scrollbar-track { |
102 | 169 | background: rgba(30, 41, 59, 0.5);
|
103 |
| -} |
| 170 | + } |
104 | 171 |
|
105 |
| -::-webkit-scrollbar-thumb { |
| 172 | + ::-webkit-scrollbar-thumb { |
106 | 173 | background: linear-gradient(to bottom, #8b5cf6, #ec4899);
|
107 | 174 | border-radius: 4px;
|
108 |
| -} |
| 175 | + } |
109 | 176 |
|
110 |
| -::-webkit-scrollbar-thumb:hover { |
| 177 | + ::-webkit-scrollbar-thumb:hover { |
111 | 178 | background: linear-gradient(to bottom, #7c3aed, #db2777);
|
112 |
| -} |
| 179 | + } |
113 | 180 |
|
114 |
| -/* Glow effect for buttons */ |
115 |
| -.glow-on-hover { |
| 181 | + /* Glow effect for buttons */ |
| 182 | + .glow-on-hover { |
116 | 183 | position: relative;
|
117 | 184 | overflow: hidden;
|
118 |
| -} |
| 185 | + } |
119 | 186 |
|
120 |
| -.glow-on-hover::before { |
| 187 | + .glow-on-hover::before { |
121 | 188 | content: '';
|
122 | 189 | position: absolute;
|
123 | 190 | top: 0;
|
124 | 191 | left: -100%;
|
125 | 192 | width: 100%;
|
126 | 193 | height: 100%;
|
127 |
| - background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent); |
| 194 | + background: linear-gradient( |
| 195 | + 90deg, |
| 196 | + transparent, |
| 197 | + rgba(255, 255, 255, 0.2), |
| 198 | + transparent |
| 199 | + ); |
128 | 200 | transition: left 0.5s;
|
129 |
| -} |
| 201 | + } |
130 | 202 |
|
131 |
| -.glow-on-hover:hover::before { |
| 203 | + .glow-on-hover:hover::before { |
132 | 204 | left: 100%;
|
133 |
| -} |
| 205 | + } |
134 | 206 |
|
135 |
| -:root { |
| 207 | + :root { |
136 | 208 | --foreground-rgb: 0, 0, 0;
|
137 | 209 | --background-start-rgb: 214, 219, 220;
|
138 | 210 | --background-end-rgb: 255, 255, 255;
|
139 |
| -} |
| 211 | + } |
140 | 212 |
|
141 |
| -@media (prefers-color-scheme: dark) { |
| 213 | + @media (prefers-color-scheme: dark) { |
142 | 214 | :root {
|
143 |
| - --foreground-rgb: 255, 255, 255; |
144 |
| - --background-start-rgb: 0, 0, 0; |
145 |
| - --background-end-rgb: 0, 0, 0; |
146 |
| - } |
147 |
| -} |
148 |
| - |
149 |
| -@layer utilities { |
150 |
| - .text-balance { |
151 |
| - text-wrap: balance; |
| 215 | + --foreground-rgb: 255, 255, 255; |
| 216 | + --background-start-rgb: 0, 0, 0; |
| 217 | + --background-end-rgb: 0, 0, 0; |
152 | 218 | }
|
| 219 | + } |
153 | 220 | }
|
154 | 221 |
|
155 | 222 | @layer base {
|
|
0 commit comments