feat(home): custom SVG zone icons for body-zone cards #15

Merged
millianlmx merged 1 commits from feat/zone-card-icons into main 2026-07-20 14:31:34 +02:00

1 Commits

Author SHA1 Message Date
Millian Lamiaux
a843a2bd20 feat(home): custom SVG zone icons for body-zone cards
All checks were successful
CI / Detect Changes (pull_request) Successful in 4s
CI / YouTube Worker (pull_request) Has been skipped
CI / Deploy (pull_request) Has been skipped
PR → Build → devicectl Deploy → LGTM / Build & Deploy to iPhone (devicectl) (pull_request) Successful in 6m58s
PR → Build → devicectl Deploy → LGTM / Wait for LGTM comment (pull_request) Successful in 31s
Replace the hand-drawn Path silhouettes in ZoneHighlightIcon with
polished vector SVG artwork (upper/lower/full body figures).

- Add ZoneIconUpper/Lower/Full.imagesets to Assets.xcassets with
  preserves-vector-representation for crisp rendering at any size
- Rewrite ZoneHighlightIcon to load the SVG assets via Image with
  scaledToFit, preserving the zone: String API so ZoneCard is unchanged

Verified: xcodegen + xcodebuild (Swift 6 strict concurrency) succeeds;
rendered on iPhone 17 Pro simulator.
2026-07-20 14:20:48 +02:00