Commit cff4a7b
committed
fix(theme): tokyo-night-storm unread brighter than waiting on dark bg
The unread row color #7dcfff (cyan) had a higher Rec. 601 luminance
(188.0) than waiting #e0af68 (181.6), so an unread Idle row visually
outshone a Waiting peer on the dark-themed sort, contradicting the
Attention-sort promoter contract from agent-of-empires#2088 that floats unread rows
just below Waiting. Cyan is also off the upstream spec slot for info:
tokyonight.nvim defines colors.info = colors.blue2 = #0db9d7 directly.
Switch to blue2 #0db9d7 (Rec. 601 = 137.0). The replacement sits
between waiting (181.6) and idle (97.1) on dark bg, restores the
ordering under both Rec. 601 and WCAG 2.1 relative luminance, matches
the upstream info slot, and stays inside the Storm palette.
Extend theme_attention_hierarchy_holds to also assert
waiting > unread > idle for every builtin theme so future drift is
caught at test time. The new assertion fails on the prior #7dcfff
with the exact panic 'tokyo-night-storm (dark bg): waiting luminance
181.6 should exceed unread 188.0'. unread vs fresh_idle ordering is
intentionally unconstrained so themes can tie them (empire and zinc
do, at the same Tailwind step).1 parent a561584 commit cff4a7b
2 files changed
Lines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
537 | 537 | | |
538 | 538 | | |
539 | 539 | | |
| 540 | + | |
540 | 541 | | |
541 | 542 | | |
542 | 543 | | |
543 | 544 | | |
| 545 | + | |
| 546 | + | |
| 547 | + | |
| 548 | + | |
| 549 | + | |
544 | 550 | | |
545 | 551 | | |
546 | 552 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| |||
0 commit comments