fix(ui): meet wcag aa text contrast in both themes

- add --color-primary-text for lime used as text or icon color
- stop dimming the idle refresh label with opacity
- darken the light danger button and lighten the dark danger hover
- define syntax highlighting colors per theme as --hl-* tokens
- darken light muted text slightly
- add a storybook contrast page, fail storybook tests on a11y violations
  and show live token values in the colors story
- bump version to 1.20.2
This commit is contained in:
Andrii Arsenin committed 2026-09-30 22:27:06 +03:00
1 parent 6e17f75030
commit 6dea786a8e
11 files changed
+437 -24

No files matched your search

+2 -1
View File
@@ -37,7 +37,8 @@ const preview: Preview = {
},
},
a11y: {
test: 'todo',
// Accessibility violations (e.g. color contrast) fail the story's test
test: 'error',
},
},
};