|
1 | 1 | @import "tailwindcss"; |
2 | 2 |
|
3 | 3 | :root { |
4 | | - --background: #f8f5ef; |
5 | | - --foreground: #0f172a; |
6 | | - --font-sans-stack: "Avenir Next", "Segoe UI", sans-serif; |
| 4 | + --background: #f7f4ed; |
| 5 | + --foreground: #112032; |
| 6 | + --card: rgba(255, 250, 243, 0.9); |
| 7 | + --card-foreground: #112032; |
| 8 | + --popover: rgba(255, 250, 243, 0.98); |
| 9 | + --popover-foreground: #112032; |
| 10 | + --primary: #0d7c66; |
| 11 | + --primary-foreground: #effcf8; |
| 12 | + --secondary: #e7dfd0; |
| 13 | + --secondary-foreground: #112032; |
| 14 | + --muted: #efe7db; |
| 15 | + --muted-foreground: #536273; |
| 16 | + --accent: #e3f6f1; |
| 17 | + --accent-foreground: #0f4f43; |
| 18 | + --destructive: #c65353; |
| 19 | + --destructive-foreground: #fff8f7; |
| 20 | + --border: rgba(17, 32, 50, 0.12); |
| 21 | + --input: rgba(17, 32, 50, 0.16); |
| 22 | + --ring: rgba(13, 124, 102, 0.42); |
| 23 | + --chart-1: #0d7c66; |
| 24 | + --chart-2: #e29a2f; |
| 25 | + --chart-3: #173b63; |
| 26 | + --chart-4: #58b89b; |
| 27 | + --chart-5: #9d6132; |
| 28 | + --radius: 1.25rem; |
| 29 | + --font-sans-stack: "Sora", "Avenir Next", "Segoe UI", sans-serif; |
7 | 30 | --font-mono-stack: "SFMono-Regular", "SF Mono", "Roboto Mono", monospace; |
8 | 31 | } |
9 | 32 |
|
10 | 33 | @theme inline { |
11 | 34 | --color-background: var(--background); |
12 | 35 | --color-foreground: var(--foreground); |
| 36 | + --color-card: var(--card); |
| 37 | + --color-card-foreground: var(--card-foreground); |
| 38 | + --color-popover: var(--popover); |
| 39 | + --color-popover-foreground: var(--popover-foreground); |
| 40 | + --color-primary: var(--primary); |
| 41 | + --color-primary-foreground: var(--primary-foreground); |
| 42 | + --color-secondary: var(--secondary); |
| 43 | + --color-secondary-foreground: var(--secondary-foreground); |
| 44 | + --color-muted: var(--muted); |
| 45 | + --color-muted-foreground: var(--muted-foreground); |
| 46 | + --color-accent: var(--accent); |
| 47 | + --color-accent-foreground: var(--accent-foreground); |
| 48 | + --color-destructive: var(--destructive); |
| 49 | + --color-destructive-foreground: var(--destructive-foreground); |
| 50 | + --color-border: var(--border); |
| 51 | + --color-input: var(--input); |
| 52 | + --color-ring: var(--ring); |
| 53 | + --radius-sm: calc(var(--radius) - 8px); |
| 54 | + --radius-md: calc(var(--radius) - 4px); |
| 55 | + --radius-lg: var(--radius); |
| 56 | + --radius-xl: calc(var(--radius) + 4px); |
13 | 57 | --font-sans: var(--font-sans-stack); |
14 | 58 | --font-mono: var(--font-mono-stack); |
15 | 59 | } |
16 | 60 |
|
17 | | -@media (prefers-color-scheme: dark) { |
18 | | - :root { |
19 | | - --background: #0f172a; |
20 | | - --foreground: #f8fafc; |
21 | | - } |
| 61 | +.dark { |
| 62 | + --background: #09131f; |
| 63 | + --foreground: #edf6f7; |
| 64 | + --card: rgba(10, 21, 34, 0.84); |
| 65 | + --card-foreground: #edf6f7; |
| 66 | + --popover: rgba(9, 19, 31, 0.96); |
| 67 | + --popover-foreground: #edf6f7; |
| 68 | + --primary: #45c1a2; |
| 69 | + --primary-foreground: #052c24; |
| 70 | + --secondary: rgba(89, 111, 131, 0.22); |
| 71 | + --secondary-foreground: #edf6f7; |
| 72 | + --muted: rgba(89, 111, 131, 0.2); |
| 73 | + --muted-foreground: #98a8b8; |
| 74 | + --accent: rgba(69, 193, 162, 0.14); |
| 75 | + --accent-foreground: #d8fbf2; |
| 76 | + --destructive: #f28585; |
| 77 | + --destructive-foreground: #20090a; |
| 78 | + --border: rgba(237, 246, 247, 0.1); |
| 79 | + --input: rgba(237, 246, 247, 0.12); |
| 80 | + --ring: rgba(69, 193, 162, 0.3); |
| 81 | + --chart-1: #45c1a2; |
| 82 | + --chart-2: #f4b860; |
| 83 | + --chart-3: #87aef2; |
| 84 | + --chart-4: #4f8b7a; |
| 85 | + --chart-5: #ff9770; |
22 | 86 | } |
23 | 87 |
|
24 | | -* { |
25 | | - box-sizing: border-box; |
26 | | -} |
| 88 | +@layer base { |
| 89 | + * { |
| 90 | + @apply border-border; |
| 91 | + } |
| 92 | + |
| 93 | + html { |
| 94 | + scroll-behavior: smooth; |
| 95 | + } |
| 96 | + |
| 97 | + body { |
| 98 | + @apply bg-background text-foreground; |
| 99 | + min-height: 100vh; |
| 100 | + font-family: var(--font-sans-stack); |
| 101 | + background-image: |
| 102 | + radial-gradient(circle at top left, rgba(226, 154, 47, 0.18), transparent 24%), |
| 103 | + radial-gradient(circle at 90% 18%, rgba(13, 124, 102, 0.14), transparent 22%), |
| 104 | + linear-gradient(180deg, rgba(247, 244, 237, 0.98), rgba(240, 245, 247, 0.95)); |
| 105 | + } |
27 | 106 |
|
28 | | -html { |
29 | | - scroll-behavior: smooth; |
| 107 | + .dark body { |
| 108 | + background-image: |
| 109 | + radial-gradient(circle at top left, rgba(242, 183, 90, 0.12), transparent 20%), |
| 110 | + radial-gradient(circle at 88% 16%, rgba(69, 193, 162, 0.16), transparent 22%), |
| 111 | + linear-gradient(180deg, rgba(9, 19, 31, 0.98), rgba(8, 17, 29, 0.96)); |
| 112 | + } |
30 | 113 | } |
31 | 114 |
|
32 | | -body { |
33 | | - background: var(--background); |
34 | | - color: var(--foreground); |
35 | | - font-family: var(--font-sans-stack); |
| 115 | +* { |
| 116 | + box-sizing: border-box; |
36 | 117 | } |
37 | 118 |
|
38 | 119 | a { |
|
41 | 122 | } |
42 | 123 |
|
43 | 124 | ::selection { |
44 | | - background: rgba(245, 158, 11, 0.28); |
| 125 | + background: rgba(69, 193, 162, 0.28); |
| 126 | +} |
| 127 | + |
| 128 | +.glass-surface { |
| 129 | + background: color-mix(in srgb, var(--card) 82%, transparent); |
| 130 | + backdrop-filter: blur(18px); |
| 131 | +} |
| 132 | + |
| 133 | +.noise-overlay { |
| 134 | + position: relative; |
| 135 | +} |
| 136 | + |
| 137 | +.noise-overlay::before { |
| 138 | + content: ""; |
| 139 | + position: absolute; |
| 140 | + inset: 0; |
| 141 | + pointer-events: none; |
| 142 | + background-image: |
| 143 | + linear-gradient(rgba(255, 255, 255, 0.024) 1px, transparent 1px), |
| 144 | + linear-gradient(90deg, rgba(255, 255, 255, 0.024) 1px, transparent 1px); |
| 145 | + background-size: 24px 24px; |
| 146 | + mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent); |
| 147 | + opacity: 0.35; |
45 | 148 | } |
0 commit comments