Low-contrast tabs, selected toggles, input borders and idle text #1741

Closed
opened 2026-11-02 04:13:33 +00:00 by sam · 2 comments
Owner

Measured against the tokens in ui/src/style.css:

  • Inactive tab labels (ui/src/components/ui/tabs/TabsTrigger.vue:22, text-foreground/60 in light): 4.1:1 on --secondary, 4.4:1 on white. Needs 4.5:1.
  • The selected segment of a toggle group (Appearance page and others) is #ecebe7 on white, about 1.2:1, so the current choice is hard to see.
  • Input borders: --input is 1.5:1 on the light card and 1.4:1 on the dark card; field edges need 3:1.
  • --idle text on the dark hover surface is 4.4:1.

Done when: inactive tabs use text-fg-muted, the selected toggle uses the sage fill or a strong border, --input reaches 3:1 in both themes, and --idle passes 4.5:1 on --accent.

Measured against the tokens in `ui/src/style.css`: - Inactive tab labels (`ui/src/components/ui/tabs/TabsTrigger.vue:22`, `text-foreground/60` in light): 4.1:1 on `--secondary`, 4.4:1 on white. Needs 4.5:1. - The selected segment of a toggle group (Appearance page and others) is `#ecebe7` on white, about 1.2:1, so the current choice is hard to see. - Input borders: `--input` is 1.5:1 on the light card and 1.4:1 on the dark card; field edges need 3:1. - `--idle` text on the dark hover surface is 4.4:1. Done when: inactive tabs use `text-fg-muted`, the selected toggle uses the sage fill or a strong border, `--input` reaches 3:1 in both themes, and `--idle` passes 4.5:1 on `--accent`.
sam added the mediumbug labels 2026-11-02 04:13:33 +00:00
sam self-assigned this 2026-11-02 04:13:33 +00:00
Author
Owner

Fixed in 9a4e59f0 and pushed. Inactive tabs now text-fg-muted (was foreground/60 at 4.1:1); the selected toggle/toggle-group segment gets a sage-deep ring (5.3:1 on white, 3.9:1 on the dark card) over its fill; --input is #8a877f light (3.6:1) and #70727a dark (3.5:1) against the card; dark --idle is #9a978f (5.1:1 on --accent). All values computed from the style.css tokens. Verified: task check passed on the committed tree.

Fixed in 9a4e59f0 and pushed. Inactive tabs now text-fg-muted (was foreground/60 at 4.1:1); the selected toggle/toggle-group segment gets a sage-deep ring (5.3:1 on white, 3.9:1 on the dark card) over its fill; --input is #8a877f light (3.6:1) and #70727a dark (3.5:1) against the card; dark --idle is #9a978f (5.1:1 on --accent). All values computed from the style.css tokens. Verified: task check passed on the committed tree.
Author
Owner

Fixed in 9a4e59f0 and pushed to main. Gate: task check exited 0 on the committed tree.

Fixed in 9a4e59f0 and pushed to main. Gate: task check exited 0 on the committed tree.
sam closed this issue 2026-11-07 06:09:28 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sam/archie#1741