Commit 3b65be0
fix(webapp): treat the White theme as light, not dark
useThemeMode only counted `light` itself as a light theme, so White fell
through to the dark branch. The toast rendered dark on a white page, and the
agent logo picked its dark dot palette.
It now classifies by theme family, reusing the enum that drives the "Light"
end of the `system` preference so a new theme is only classified once.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>1 parent 1570540 commit 3b65be0
1 file changed
Lines changed: 8 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
2 | 3 | | |
3 | 4 | | |
4 | 5 | | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
5 | 11 | | |
6 | 12 | | |
7 | 13 | | |
| |||
10 | 16 | | |
11 | 17 | | |
12 | 18 | | |
13 | | - | |
| 19 | + | |
| 20 | + | |
14 | 21 | | |
15 | 22 | | |
16 | 23 | | |
| |||
0 commit comments