|
1 | 1 | @import "tailwindcss"; |
2 | 2 |
|
3 | | -@custom-variant dark (&:where(.dark, .dark *)); |
| 3 | +@plugin "tailwindcss-animate"; |
| 4 | +@import "tw-animate-css"; |
4 | 5 |
|
5 | | -:root { |
6 | | - --background: #ffffff; |
7 | | - --foreground: #171717; |
8 | | -} |
| 6 | +@custom-variant dark (&:where(.dark, .dark *)); |
9 | 7 |
|
10 | 8 | @theme inline { |
11 | 9 | --color-background: var(--background); |
12 | 10 | --color-foreground: var(--foreground); |
13 | 11 | --font-sans: "Space Grotesk", sans-serif; |
14 | 12 | --font-display: "Space Grotesk", sans-serif; |
15 | 13 |
|
| 14 | + --font-sans: var(--font-inter); |
| 15 | + --font-display: var(--font-anton); |
| 16 | + |
16 | 17 | /* Custom Colors */ |
17 | 18 | --color-primary: #00bfff; |
18 | 19 | --color-background-light: #f6f7f9; |
|
38 | 39 | --shadow-hard-sm: 2px 2px 0px 0px #101618; |
39 | 40 | --shadow-hard-lg: 8px 8px 0px 0px #101618; |
40 | 41 |
|
| 42 | + |
| 43 | + /* Border Radius */ |
| 44 | + --radius: 0.5rem; |
| 45 | + --radius-large: 2rem; |
| 46 | + |
41 | 47 | /* Animations */ |
42 | 48 | --animate-marquee: marquee 25s linear infinite; |
43 | 49 | --animate-marquee-reverse: marquee-reverse 25s linear infinite; |
44 | 50 | --animate-float: float 6s ease-in-out infinite; |
| 51 | + --color-sidebar-ring: var(--sidebar-ring); |
| 52 | + --color-sidebar-border: var(--sidebar-border); |
| 53 | + --color-sidebar-accent-foreground: var(--sidebar-accent-foreground); |
| 54 | + --color-sidebar-accent: var(--sidebar-accent); |
| 55 | + --color-sidebar-primary-foreground: var(--sidebar-primary-foreground); |
| 56 | + --color-sidebar-primary: var(--sidebar-primary); |
| 57 | + --color-sidebar-foreground: var(--sidebar-foreground); |
| 58 | + --color-sidebar: var(--sidebar); |
| 59 | + --color-chart-5: var(--chart-5); |
| 60 | + --color-chart-4: var(--chart-4); |
| 61 | + --color-chart-3: var(--chart-3); |
| 62 | + --color-chart-2: var(--chart-2); |
| 63 | + --color-chart-1: var(--chart-1); |
| 64 | + --color-ring: var(--ring); |
| 65 | + --color-input: var(--input); |
| 66 | + --color-border: var(--border); |
| 67 | + --color-destructive: var(--destructive); |
| 68 | + --color-accent-foreground: var(--accent-foreground); |
| 69 | + --color-accent: var(--accent); |
| 70 | + --color-muted-foreground: var(--muted-foreground); |
| 71 | + --color-muted: var(--muted); |
| 72 | + --color-secondary-foreground: var(--secondary-foreground); |
| 73 | + --color-secondary: var(--secondary); |
| 74 | + --color-primary-foreground: var(--primary-foreground); |
| 75 | + --color-popover-foreground: var(--popover-foreground); |
| 76 | + --color-popover: var(--popover); |
| 77 | + --color-card-foreground: var(--card-foreground); |
| 78 | + --color-card: var(--card); |
| 79 | + --radius-sm: calc(var(--radius) - 4px); |
| 80 | + --radius-md: calc(var(--radius) - 2px); |
| 81 | + --radius-lg: var(--radius); |
| 82 | + --radius-xl: calc(var(--radius) + 4px); |
| 83 | + --radius-2xl: calc(var(--radius) + 8px); |
| 84 | + --radius-3xl: calc(var(--radius) + 12px); |
| 85 | + --radius-4xl: calc(var(--radius) + 16px); |
45 | 86 | } |
46 | 87 |
|
47 | 88 | @keyframes marquee { |
48 | 89 | 0% { |
49 | 90 | transform: translateX(0%); |
50 | 91 | } |
| 92 | + |
51 | 93 | 100% { |
52 | 94 | transform: translateX(-100%); |
53 | 95 | } |
|
57 | 99 | 0% { |
58 | 100 | transform: translateX(-100%); |
59 | 101 | } |
| 102 | + |
60 | 103 | 100% { |
61 | 104 | transform: translateX(0%); |
62 | 105 | } |
63 | 106 | } |
64 | 107 |
|
65 | 108 | @keyframes float { |
66 | | - 0%, 100% { |
| 109 | + |
| 110 | + 0%, |
| 111 | + 100% { |
67 | 112 | transform: translateY(0); |
68 | 113 | } |
| 114 | + |
69 | 115 | 50% { |
70 | 116 | transform: translateY(-20px); |
71 | 117 | } |
72 | 118 | } |
73 | 119 |
|
74 | | -@media (prefers-color-scheme: dark) { |
75 | | - :root { |
76 | | - --background: #0a0a0a; |
77 | | - --foreground: #ededed; |
78 | | - } |
79 | | -} |
80 | | - |
81 | 120 | body { |
82 | | - background: var(--background); |
83 | | - color: var(--foreground); |
84 | 121 | font-family: var(--font-inter), Arial, Helvetica, sans-serif; |
85 | 122 | } |
86 | 123 |
|
@@ -235,3 +272,164 @@ body { |
235 | 272 | white-space: nowrap; |
236 | 273 | direction: ltr; |
237 | 274 | } |
| 275 | +/* Cursor Hover Animation */ |
| 276 | +.cursor-animation { |
| 277 | + animation: cursorMove 3s ease-in-out infinite; |
| 278 | +} |
| 279 | + |
| 280 | +.buy-button { |
| 281 | + animation: buttonHover 3s ease-in-out infinite; |
| 282 | +} |
| 283 | + |
| 284 | +@keyframes cursorMove { |
| 285 | + 0% { |
| 286 | + transform: translate(80px, 60px); |
| 287 | + opacity: 1; |
| 288 | + } |
| 289 | + |
| 290 | + 30% { |
| 291 | + transform: translate(0px, 0px); |
| 292 | + opacity: 1; |
| 293 | + } |
| 294 | + |
| 295 | + 45% { |
| 296 | + transform: translate(0px, 0px) scale(0.9); |
| 297 | + opacity: 1; |
| 298 | + } |
| 299 | + |
| 300 | + 55% { |
| 301 | + transform: translate(0px, 0px) scale(1); |
| 302 | + opacity: 1; |
| 303 | + } |
| 304 | + |
| 305 | + 70% { |
| 306 | + transform: translate(0px, 0px); |
| 307 | + opacity: 1; |
| 308 | + } |
| 309 | + |
| 310 | + 100% { |
| 311 | + transform: translate(80px, 60px); |
| 312 | + opacity: 1; |
| 313 | + } |
| 314 | +} |
| 315 | + |
| 316 | +@keyframes buttonHover { |
| 317 | + 0% { |
| 318 | + background-color: black; |
| 319 | + transform: scale(1); |
| 320 | + box-shadow: 4px 4px 0px 0px rgba(0, 0, 0, 0.3); |
| 321 | + } |
| 322 | + |
| 323 | + 30% { |
| 324 | + background-color: #FFD600; |
| 325 | + color: black; |
| 326 | + transform: scale(1.05); |
| 327 | + box-shadow: 6px 6px 0px 0px rgba(0, 0, 0, 0.4); |
| 328 | + } |
| 329 | + |
| 330 | + 45% { |
| 331 | + background-color: #00D68F; |
| 332 | + color: black; |
| 333 | + transform: scale(0.95); |
| 334 | + box-shadow: 2px 2px 0px 0px rgba(0, 0, 0, 0.2); |
| 335 | + } |
| 336 | + |
| 337 | + 55% { |
| 338 | + background-color: #00D68F; |
| 339 | + color: black; |
| 340 | + transform: scale(1.05); |
| 341 | + box-shadow: 6px 6px 0px 0px rgba(0, 0, 0, 0.4); |
| 342 | + } |
| 343 | + |
| 344 | + 70% { |
| 345 | + background-color: #FFD600; |
| 346 | + color: black; |
| 347 | + transform: scale(1.05); |
| 348 | + box-shadow: 6px 6px 0px 0px rgba(0, 0, 0, 0.4); |
| 349 | + } |
| 350 | + |
| 351 | + 100% { |
| 352 | + background-color: black; |
| 353 | + color: white; |
| 354 | + transform: scale(1); |
| 355 | + box-shadow: 4px 4px 0px 0px rgba(0, 0, 0, 0.3); |
| 356 | + } |
| 357 | +} |
| 358 | + |
| 359 | +:root { |
| 360 | + --radius: 0.625rem; |
| 361 | + --background: oklch(1 0 0); |
| 362 | + --foreground: oklch(0.145 0 0); |
| 363 | + --card: oklch(1 0 0); |
| 364 | + --card-foreground: oklch(0.145 0 0); |
| 365 | + --popover: oklch(1 0 0); |
| 366 | + --popover-foreground: oklch(0.145 0 0); |
| 367 | + --primary: oklch(0.205 0 0); |
| 368 | + --primary-foreground: oklch(0.985 0 0); |
| 369 | + --secondary: oklch(0.97 0 0); |
| 370 | + --secondary-foreground: oklch(0.205 0 0); |
| 371 | + --muted: oklch(0.97 0 0); |
| 372 | + --muted-foreground: oklch(0.556 0 0); |
| 373 | + --accent: oklch(0.97 0 0); |
| 374 | + --accent-foreground: oklch(0.205 0 0); |
| 375 | + --destructive: oklch(0.577 0.245 27.325); |
| 376 | + --border: oklch(0.922 0 0); |
| 377 | + --input: oklch(0.922 0 0); |
| 378 | + --ring: oklch(0.708 0 0); |
| 379 | + --chart-1: oklch(0.646 0.222 41.116); |
| 380 | + --chart-2: oklch(0.6 0.118 184.704); |
| 381 | + --chart-3: oklch(0.398 0.07 227.392); |
| 382 | + --chart-4: oklch(0.828 0.189 84.429); |
| 383 | + --chart-5: oklch(0.769 0.188 70.08); |
| 384 | + --sidebar: oklch(0.985 0 0); |
| 385 | + --sidebar-foreground: oklch(0.145 0 0); |
| 386 | + --sidebar-primary: oklch(0.205 0 0); |
| 387 | + --sidebar-primary-foreground: oklch(0.985 0 0); |
| 388 | + --sidebar-accent: oklch(0.97 0 0); |
| 389 | + --sidebar-accent-foreground: oklch(0.205 0 0); |
| 390 | + --sidebar-border: oklch(0.922 0 0); |
| 391 | + --sidebar-ring: oklch(0.708 0 0); |
| 392 | +} |
| 393 | + |
| 394 | +.dark { |
| 395 | + --background: oklch(0.145 0 0); |
| 396 | + --foreground: oklch(0.985 0 0); |
| 397 | + --card: oklch(0.205 0 0); |
| 398 | + --card-foreground: oklch(0.985 0 0); |
| 399 | + --popover: oklch(0.205 0 0); |
| 400 | + --popover-foreground: oklch(0.985 0 0); |
| 401 | + --primary: oklch(0.922 0 0); |
| 402 | + --primary-foreground: oklch(0.205 0 0); |
| 403 | + --secondary: oklch(0.269 0 0); |
| 404 | + --secondary-foreground: oklch(0.985 0 0); |
| 405 | + --muted: oklch(0.269 0 0); |
| 406 | + --muted-foreground: oklch(0.708 0 0); |
| 407 | + --accent: oklch(0.269 0 0); |
| 408 | + --accent-foreground: oklch(0.985 0 0); |
| 409 | + --destructive: oklch(0.704 0.191 22.216); |
| 410 | + --border: oklch(1 0 0 / 10%); |
| 411 | + --input: oklch(1 0 0 / 15%); |
| 412 | + --ring: oklch(0.556 0 0); |
| 413 | + --chart-1: oklch(0.488 0.243 264.376); |
| 414 | + --chart-2: oklch(0.696 0.17 162.48); |
| 415 | + --chart-3: oklch(0.769 0.188 70.08); |
| 416 | + --chart-4: oklch(0.627 0.265 303.9); |
| 417 | + --chart-5: oklch(0.645 0.246 16.439); |
| 418 | + --sidebar: oklch(0.205 0 0); |
| 419 | + --sidebar-foreground: oklch(0.985 0 0); |
| 420 | + --sidebar-primary: oklch(0.488 0.243 264.376); |
| 421 | + --sidebar-primary-foreground: oklch(0.985 0 0); |
| 422 | + --sidebar-accent: oklch(0.269 0 0); |
| 423 | + --sidebar-accent-foreground: oklch(0.985 0 0); |
| 424 | + --sidebar-border: oklch(1 0 0 / 10%); |
| 425 | + --sidebar-ring: oklch(0.556 0 0); |
| 426 | +} |
| 427 | + |
| 428 | +@layer base { |
| 429 | + * { |
| 430 | + @apply border-border outline-ring/50; |
| 431 | + } |
| 432 | + body { |
| 433 | + @apply bg-background text-foreground; |
| 434 | + } |
| 435 | +} |
0 commit comments