The page follows the style guide's design half (#507)

Measured at 390 px with touch: the toolbar's buttons were 36 px wide and
the tabs 36 px tall, under the guide's 40 for a dense row; both are 40
now. A chapter's hover sat outside (hover:hover) and stuck after a tap.
An item row's pin and its download button had a tooltip and no
aria-label. Gaps of 5, 7 and 9 px are on the scale's 4, 6 and 8. The
guide said 25 palettes where there are 24; it now says every palette.

Left as they are: the folder triangle, 18 px wide by design (#486,
#491), and an episode's title button, inside a row that is the tap
target.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RqkrVCCH8YcP2Y3i8VNYWA
This commit is contained in:
2026-12-02 12:03:36 -05:00
parent a9f4fa51e6
commit 19f9790eef
4 changed files with 19 additions and 18 deletions

View File

@@ -50,8 +50,8 @@ line up on the right.
**Colour** is by role, never by value: `--bg`, `--panel`, `--panel2`, `--raise` for surfaces;
`--fg`, `--dim`, `--faint` for text by importance; `--accent`, `--accent2` for the selection and
the primary action; `--good`, `--warn`, `--bad` for state; `--line` for rules. ✅
`color:var(--bad)` · ❌ `color:#d33`. Each of the 25 palettes defines every role, and
`node tests/contrast.ts` checks each against WCAG AA; a new role needs a value in all 25 and a
`color:var(--bad)` · ❌ `color:#d33`. Every palette defines every role, and
`node tests/contrast.ts` checks each against WCAG AA; a new role needs a value in every palette and a
contrast check. Working on a component never changes a theme's colours.
**Colour is never the only signal.** An unread item has its dot and its weight; a failing feed has
@@ -177,7 +177,7 @@ focus in it; closing it puts focus back.
* Every toggle has `aria-pressed`; every dialog `aria-labelledby` its title; a dialog makes the
page behind it `inert`.
* Every pointer action has a keyboard path, and every swipe a button.
* Contrast passes WCAG AA in all 25 palettes (`node tests/contrast.ts`), for text and for icons.
* Contrast passes WCAG AA in every palette (`node tests/contrast.ts`), for text and for icons.
* Nothing relies on colour alone, on hover alone, or on sound alone.
* Reduced motion, reduced transparency and more contrast are honoured
(`prefers-reduced-motion`, `prefers-reduced-transparency`, `prefers-contrast`).