Commit 89b4b92
fix(website): playground light mode + select elements + arbitrary bg override
Final light mode fixes from visual audit:
1. Playground root container: bg-[#09090b] is a hardcoded arbitrary
Tailwind class that no named-class CSS selector could match.
Added html.light .bg-\[\#09090b\] override to make playground
background light.
2. All select elements: instead of trying to match individual
bg-zinc-800/80 or bg-slate-800 classes on selects (unreliable
with Tailwind v4 encoding), override ALL selects in light mode
with html.light select { background: #F3F4F6 }.
3. Playground-specific overrides: active tab blue-400 → darker
blue for contrast, emerald code text, slate-700 dividers,
copy button hover, loading skeletons, green parser dot.
CodeMirror editor stays dark via its own scoped oneDark theme.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 5ab48d6 commit 89b4b92
1 file changed
Lines changed: 36 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
290 | 290 | | |
291 | 291 | | |
292 | 292 | | |
293 | | - | |
294 | | - | |
| 293 | + | |
| 294 | + | |
295 | 295 | | |
296 | | - | |
| 296 | + | |
297 | 297 | | |
298 | 298 | | |
299 | 299 | | |
| |||
312 | 312 | | |
313 | 313 | | |
314 | 314 | | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
315 | 348 | | |
316 | 349 | | |
317 | 350 | | |
| |||
0 commit comments