|
24 | 24 | --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1); |
25 | 25 | } |
26 | 26 |
|
| 27 | +/* Light theme variables */ |
| 28 | +:root[data-theme="light"] { |
| 29 | + --bg-void: #ffffff; |
| 30 | + --bg-panel: #f5f5f5; |
| 31 | + --text-primary: #1a1a1a; |
| 32 | + --text-muted: #666666; |
| 33 | + |
| 34 | + --accent-signal: #00c853; |
| 35 | + --accent-error: #d32f2f; |
| 36 | + --accent-haze: #00c85320; |
| 37 | + |
| 38 | + --border-dim: #e0e0e0; |
| 39 | + --border-bright: #cccccc; |
| 40 | +} |
| 41 | + |
27 | 42 | /* RESET & BASE */ |
28 | 43 | *, |
29 | 44 | *::before, |
@@ -62,6 +77,10 @@ body { |
62 | 77 | background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.5'/%3E%3C/svg%3E"); |
63 | 78 | } |
64 | 79 |
|
| 80 | +:root[data-theme="light"] .noise-overlay { |
| 81 | + opacity: 0.02; |
| 82 | +} |
| 83 | + |
65 | 84 | .erreval-haze { |
66 | 85 | position: fixed; |
67 | 86 | top: -50%; |
@@ -117,6 +136,10 @@ a:hover { |
117 | 136 | /* Highest */ |
118 | 137 | } |
119 | 138 |
|
| 139 | +:root[data-theme="light"] .site-header { |
| 140 | + background: rgba(255, 255, 255, 0.85); |
| 141 | +} |
| 142 | + |
120 | 143 | .logo-type { |
121 | 144 | font-size: 4rem; |
122 | 145 | line-height: 0.8; |
@@ -154,6 +177,35 @@ a:hover { |
154 | 177 | .site-nav { |
155 | 178 | display: flex; |
156 | 179 | gap: 2rem; |
| 180 | + align-items: center; |
| 181 | +} |
| 182 | + |
| 183 | +/* Theme Toggle Button */ |
| 184 | +.theme-toggle { |
| 185 | + background: transparent; |
| 186 | + border: 1px solid var(--border-dim); |
| 187 | + color: var(--text-primary); |
| 188 | + cursor: pointer; |
| 189 | + padding: 0.5rem; |
| 190 | + font-family: var(--font-mono); |
| 191 | + font-size: 0.8rem; |
| 192 | + transition: all 0.3s var(--ease-out-expo); |
| 193 | + display: flex; |
| 194 | + align-items: center; |
| 195 | + justify-content: center; |
| 196 | + width: 36px; |
| 197 | + height: 36px; |
| 198 | + border-radius: 4px; |
| 199 | +} |
| 200 | + |
| 201 | +.theme-toggle:hover { |
| 202 | + border-color: var(--accent-signal); |
| 203 | + color: var(--accent-signal); |
| 204 | +} |
| 205 | + |
| 206 | +.theme-toggle svg { |
| 207 | + width: 18px; |
| 208 | + height: 18px; |
157 | 209 | } |
158 | 210 |
|
159 | 211 | .nav-link { |
@@ -356,6 +408,10 @@ select:focus { |
356 | 408 | background-color: #ffffff; |
357 | 409 | } |
358 | 410 |
|
| 411 | +:root[data-theme="light"] .legend-dot.white { |
| 412 | + background-color: #1a1a1a; |
| 413 | +} |
| 414 | + |
359 | 415 | .legend-dot.grey { |
360 | 416 | background-color: var(--text-muted); |
361 | 417 | } |
|
0 commit comments