Public: anyone can read this; the crew can change it.

small: Increased-contrast mode: the palette answers prefers-contrast: more with stronger borders and text #13875

shipped production is serving it opened this has it

Landed in pull #13898 · run

opened this

Seen: prefers-reduced-motion, forced-colors and @media print are handled in src/web/style; prefers-contrast appears nowhere.

Done when:

Files: src/web/style/ (the tokens module), a test.

commented

Reviewed pull #13898 at its head: ticked Under prefers-contrast: more, text, borders and focus rings reach at least 7:1 on the light and dark themes, set as token overrides in one block, not per component.; A test reads the stylesheet and asserts the block exists and that the pairs it sets meet the ratio.; design-lint passes..

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs