mirror of
https://github.com/jonasbark/swiftcontrol.git
synced 2026-11-30 17:52:33 +01:00
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>