iOS

How iOS uses the system: every color, space, radius and font comes from AppTheme.

Rules

Views use AppTheme, never raw values.

TokenUseNever
ColorAppTheme.Colors.* (light and dark via Color.dynamic(light:dark:))A hex literal
SpacingAppTheme.Spacing.*A raw number such as .padding(14)
RadiusAppTheme.Radius.*A raw corner radius
TypeAppTheme.Typography.*, or SwiftUI text styles for Dynamic TypeA fixed font size

Live specimens

Where tokens liveAll in AppTheme.swift; never raw hex or raw integers.
AppTheme.Colors
Color
AppTheme.Spacing
Spacing
AppTheme.Radius
Corner radius
AppTheme.Typography
Typography
ComponentsThe SwiftUI names the rules point to.
.cardSurface()
Flat card
CardSurfaceOverlay
Card on a gradient
Toggle + .tint(brandPrimary)
Switch
AppNavCircleButton
Back and bar buttons
.confirmationDialog
Destructive confirm
.sheet + presentationDetents
Task sheet
.redacted(reason: .placeholder)
Loading skeleton