Skip to content

Adopt spacing tokens across Mac views (#201)#206

Merged
dprodger merged 1 commit into
mainfrom
mac-spacing-tokens-201
May 29, 2026
Merged

Adopt spacing tokens across Mac views (#201)#206
dprodger merged 1 commit into
mainfrom
mac-spacing-tokens-201

Conversation

@dprodger

Copy link
Copy Markdown
Owner

Summary

Re-lands the #201 Mac spacing-token sweep. This was originally bundled into PR #205 but did not make it into that squash-merge (it was pushed after the squash captured the branch), so it's being landed cleanly here off the current main.

Now that #202 and the SongDetailView parity (#204) have merged, this sweep also covers SongDetailView, RecordingCard, and RecordingDetailView — which were deferred earlier to avoid colliding with that work.

What it does

  • Value-preserving spacing-token sweep across apps/Mac (only spacing: and .padding(...) numeric args), mirroring the iOS bring all views into conformance with the updated layout.md spec #199 transform:
    • on-scale 4/8/12/16/20/24ApproachNoteTheme.spacing*
    • off-scale content gaps snapped: 2→spacingXXS, 6→spacingXS, 10→spacingXS
    • decorative/component insets (badge .padding(6/2), PageDots vertical 6) and large page-level values left as literals
  • Reconciles PerformerDetailView with SongDetailView: section spacing → spacingMD, and hides the duplicate macOS sort-menu disclosure chevron.

28 files changed, symmetric diff (+274/−272).

Testing

  • ApproachNoteMac scheme builds green (macOS, code signing disabled).

Closes #201.

🤖 Generated with Claude Code

Value-preserving spacing-token sweep across apps/Mac, mirroring the iOS
#199 transform (only `spacing:` and `.padding(...)` numeric args): on-scale
4/8/12/16/20/24 renamed to spacing* tokens, off-scale content gaps snapped
(2->spacingXXS, 6->spacingXS, 10->spacingXS). Decorative/component insets
(badge .padding(6/2), PageDots vertical 6) and large page-level values are
left as literals.

Now that #202 and #204 have landed, this covers all Mac views including
SongDetailView, RecordingCard, and RecordingDetailView (previously deferred
to avoid a merge collision with that work).

Also reconcile PerformerDetailView with SongDetailView: align section
spacing to spacingMD and hide the duplicate macOS sort-menu disclosure
chevron.

Closes #201.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@dprodger dprodger merged commit 5dc6c22 into main May 29, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Adopt spacing tokens across Mac views (follow-up to #199)

1 participant