Files
swiftcontrol/lib/pages
Jonas Acker 23c0950785 fix(a11y): 48 dp touch targets for the primary actions on phones
shadcn's text buttons are 35-38 px tall on a phone (28-32 px at size
small). BkTouchTarget grows a button to Android's 48x48 minimum on
compact windows only, with its content centred; desktop and the dense
inline buttons keep shadcn's sizes, so this is not a global restyle.

Applied to the action buttons on home (ready banner, chain-card step and
edit actions, footer rows, trial and Health ride cards), onboarding (the
footer, welcome, permission/help sheets) and the paywall's restore
button (purchase was already 52 px). The home and onboarding phone tests
now assert every filled/outlined button meets 48 dp at 1x and 1.3x text;
the paywall test checks purchase and restore.

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