Files
swiftcontrol/test/widgets
Jonas Acker 5228e83c10 feat(theme): one light/dark theme factory with legible muted text
BkTheme.build() builds both brightnesses from one place: shared Geist
typography, radius 0.7, the brand blue as primary in light and a lifted
brand blue (with a dark foreground) in dark. Dark surfaces are one
neutral grey family instead of navy cards on a grey page.

- light mutedForeground #A1A1AA (2.56:1) -> #71717A (>= 4.5:1 on white
  and on the activity rail)
- phone widths get shadcn size scaling 1.25 instead of shrinking text
  to 0.9, so icon buttons reach a finger-sized target
- bkAccent() and the onboarding accent ternary are gone: primary is
  the brand colour in both themes now
- activity rail, markdown text and instruction-link borders use theme
  tokens instead of brightness ternaries
- adds a window-size helper (compact/medium/expanded + named legacy
  breakpoints) and a WCAG contrast test helper

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-09-28 08:16:50 +02:00
..