Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ public extension CGFloat {

// MARK: - Spacing
static let s0: CGFloat = 0
static let s2: CGFloat = 2
static let s2: CGFloat = 3
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Restore s2 spacing token to 2pt

Changing s2 from 2 to 3 makes the token semantically inconsistent with the spacing scale (s0=0, s4=4, s8=8, ...), and any screen using .s2 will now render with 50% larger gaps than intended. Because this constant is shared across the design system, the regression propagates to all components relying on the 2pt spacing step.

Useful? React with 👍 / 👎.

static let s4: CGFloat = 4
static let s8: CGFloat = 8
static let s16: CGFloat = 16
Expand Down
Loading