Commit cef20b9
fix(webapp): let light's whole surface stack respond to contrast
Light's overlay covered 14 tokens where dark's covered 17, and the three it
missed were background-dimmed, background-bright and input-bg - the page and
the cards. Measured as a share of painted background area, only 0.6% of the
dashboard, 0.3% of the account page and 0.0% of the runs page changed when the
slider moved, because 95-97% of every page is white and white was pinned.
All six surfaces now travel two stops together, mirroring the dark side, so the
gaps between the tiers are identical at both ends of the slider. Responding
area goes to 95.4%, 96.7% and 97.3%. Contrast 0 is still byte-identical to
light's shipped palette, and White pins all six afterwards so it stays flat.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>1 parent 4a6e9d3 commit cef20b9
1 file changed
Lines changed: 14 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1057 | 1057 | | |
1058 | 1058 | | |
1059 | 1059 | | |
1060 | | - | |
1061 | | - | |
1062 | | - | |
1063 | | - | |
1064 | | - | |
1065 | | - | |
| 1060 | + | |
| 1061 | + | |
| 1062 | + | |
| 1063 | + | |
| 1064 | + | |
| 1065 | + | |
| 1066 | + | |
| 1067 | + | |
| 1068 | + | |
| 1069 | + | |
| 1070 | + | |
| 1071 | + | |
| 1072 | + | |
| 1073 | + | |
1066 | 1074 | | |
1067 | 1075 | | |
1068 | 1076 | | |
| |||
0 commit comments