Commit d9c2a22
committed
Fix two light-mode rendering bugs flagged by full audit
Toast.svelte: hardcoded bg-[#222228] kept the toast dark in light mode
while text-fg-primary flipped to dark text, producing invisible labels.
Replaced with bg-bg-elevated so background and text invert together.
WallpaperEditor.svelte: "Loading image..." used text-fg-dimmed over a
fixed bg-black/40 scrim; the text flipped to dark in light mode while
the scrim stayed dark. Switched to text-white/80 per the CLAUDE.md rule
("never theme tokens on a black scrim").
Audit of ~50 components found no other real light-mode regressions.1 parent 7e41f3d commit d9c2a22
2 files changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
527 | 527 | | |
528 | 528 | | |
529 | 529 | | |
530 | | - | |
| 530 | + | |
531 | 531 | | |
532 | 532 | | |
533 | 533 | | |
| |||
0 commit comments