Commit 678fabb
committed
fix: restore dark HC contrast for emphasis, attention, severe, and success tokens
All 4 failures were introduced by calibrating dark HC base color steps
to red's luminance profile, which moved mid-range steps from dark to
medium-brightness, breaking fg/bg pair relationships.
Fixes:
- display-blue-bgColor-emphasis: blue.4 -> blue.2 in all dark HC variants
(all other hues already used step 2; blue used step 4 only because
old uncalibrated steps 1-4 were all identical, accidentally passing)
- fgColor-success (colorblind/tritanopia HC): blue.8 -> blue.9
(blue.8 got dimmer, blue.5 muted bg got brighter = less contrast)
- fgColor-attention (dark HC variants): add yellow.9 override
(no dark HC override existed; inherited yellow.8 which got dimmer)
- fgColor-severe (dark HC): orange.8 -> orange.9, red.8 -> red.9
(tritanopia uses red for severe; both got dimmer from calibration)1 parent 2032e37 commit 678fabb
2 files changed
Lines changed: 12 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
182 | 182 | | |
183 | 183 | | |
184 | 184 | | |
185 | | - | |
| 185 | + | |
186 | 186 | | |
187 | 187 | | |
188 | | - | |
| 188 | + | |
189 | 189 | | |
190 | 190 | | |
191 | | - | |
| 191 | + | |
192 | 192 | | |
193 | 193 | | |
194 | | - | |
| 194 | + | |
195 | 195 | | |
196 | 196 | | |
197 | 197 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
255 | 255 | | |
256 | 256 | | |
257 | 257 | | |
258 | | - | |
| 258 | + | |
259 | 259 | | |
260 | 260 | | |
261 | 261 | | |
262 | | - | |
| 262 | + | |
263 | 263 | | |
264 | 264 | | |
265 | 265 | | |
| |||
313 | 313 | | |
314 | 314 | | |
315 | 315 | | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
316 | 319 | | |
317 | 320 | | |
318 | 321 | | |
| |||
339 | 342 | | |
340 | 343 | | |
341 | 344 | | |
342 | | - | |
| 345 | + | |
343 | 346 | | |
344 | | - | |
| 347 | + | |
345 | 348 | | |
346 | 349 | | |
347 | | - | |
| 350 | + | |
348 | 351 | | |
349 | 352 | | |
350 | 353 | | |
| |||
0 commit comments