fix(shell): the attention count was red text on its own red fill #67
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/nav-count-contrast"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The nav item's
.count.badpainted--od-status-critical-inkon a--od-status-criticalbackground. The ink tokens are the text-safe variants for the page, not for their own fill, so the badge came out red on red:#ef7070on#d03b3b— 1.7:1#d03b3b— 4.8:1#c22f2fon#d03b3b— worseThe one count somebody actually has to act on (failed runs, ahead of the merely-busy count next to it) was the one that could not be read.
White on the critical fill is what
NotificationCenter's error count and the danger button already do, so this follows them rather than inventing a token. Grepped for the same ink-on-its-own-fill pattern elsewhere inshell/ui— this was the only one, and the Android app has no equivalent.One line plus a comment saying why the ink token is wrong here.
🤖 Generated with Claude Code
Verified the token values on both themes (
#c22f2f/#ef7070ink on#d03b3bfill), confirmed there is no existing "on-critical" text token, and thatNotificationCenterand the danger button already use#fffon--od-status-critical. Grep acrosspackages/agrees this was the only ink-on-own-fill pairing. LGTM.