|
118 | 118 | @apply bg-neutral-400 dark:bg-neutral-600;
|
119 | 119 | }
|
120 | 120 |
|
| 121 | +@utility bg-interactive { |
| 122 | + @apply bg-neutral-50 dark:bg-neutral-700; |
| 123 | +} |
| 124 | +@utility bg-interactive-hover { |
| 125 | + @apply hover:bg-neutral-100 dark:hover:bg-neutral-600; |
| 126 | +} |
| 127 | +@utility interactive-disabled { |
| 128 | + @apply disabled:opacity-50 disabled:bg-disabled disabled:hover:bg-disabled disabled:text-primary disabled:border-default disabled:cursor-default; |
| 129 | +} |
| 130 | + |
121 | 131 | /* Borders */
|
122 | 132 | @utility border-default {
|
123 | 133 | @apply border-neutral-200 dark:border-neutral-700;
|
|
197 | 207 | @apply border-primary-600;
|
198 | 208 | }
|
199 | 209 |
|
200 |
| -/* ---------------------------------- */ |
201 |
| -/* Interactive */ |
202 |
| -/* ---------------------------------- */ |
203 |
| - |
204 |
| -@utility bg-interactive { |
205 |
| - @apply bg-neutral-50 dark:bg-neutral-800; |
206 |
| -} |
207 |
| -@utility bg-interactive-hover { |
208 |
| - @apply hover:bg-neutral-100 dark:hover:bg-neutral-700; |
209 |
| -} |
210 |
| -@utility interactive-disabled { |
211 |
| - @apply disabled:opacity-50 disabled:bg-disabled disabled:hover:bg-disabled disabled:text-primary disabled:border-default disabled:cursor-default; |
212 |
| -} |
213 |
| - |
214 | 210 | /* ========================================================================== */
|
215 | 211 | /* 1. Semantic Animation Utilities */
|
216 | 212 | /* ========================================================================== */
|
|
248 | 244 | @apply opacity-0;
|
249 | 245 | }
|
250 | 246 |
|
251 |
| -/* Interactive States */ |
252 |
| -@utility interactive-element { |
253 |
| - transition: all 0.2s ease; |
254 |
| - @apply cursor-pointer focus-accent; |
255 |
| -} |
256 |
| - |
257 | 247 | /* Focus Animations */
|
258 | 248 | @utility focus-ring {
|
259 | 249 | @apply focus:outline-none focus:ring-2 focus:ring-primary-500 focus:ring-offset-2 transition-all duration-200;
|
|
374 | 364 | @apply bg-surface border border-default rounded-xl shadow-soft dark:shadow-soft-dark p-4 border-1 w-full;
|
375 | 365 | }
|
376 | 366 | .card-interactive {
|
377 |
| - @apply interactive-element hover-lift; |
| 367 | + @apply cursor-pointer focus-accent hover-lift; |
378 | 368 | }
|
379 | 369 |
|
380 | 370 | .voucher-code {
|
|
0 commit comments