Skip to content

chore(app-icon): add 24% rounded-corner clipPath for macOS native render - #74

Merged
wei18 merged 1 commit into
mainfrom
chore/app-icon-rounded-corners
May 21, 2026
Merged

wei18 merged 1 commit into
mainfrom
chore/app-icon-rounded-corners

Conversation

@wei18

@wei18 wei18 commented May 21, 2026

Copy link
Copy Markdown
Owner

Brand audit S1-C (2026-05-21) — both finalist SVGs were full-bleed; macOS does not auto-squircle. Add 24% (246pt) corner-radius clipPath to both SVGs + re-rasterize PNGs.

iOS still applies its own squircle mask on top (slight double-rounding), accepted per icon-as-shared-asset decision.

Source: meetings/2026-05-21_app-icon-brand-audit.impl-notes.md S1-C.

Brand audit S1-C (2026-05-21): both finalist SVGs were full-bleed
rectangles. macOS does not auto-apply squircle masking like iOS, so the
icon would ship as hard squares in Dock/Launchpad/Finder. Wrap each SVG's
visible content in a clipPath with 246pt (24%) corner radius. iOS will
still re-apply its own squircle on top — slightly suboptimal double-
rounding, accepted per the icon-as-shared-asset path (#70).

Re-rasterized both PNGs via qlmanage -t -s 1024. Dimensions verified
1024×1024.

Co-Authored-By: Claude Opus 4.7 <[email protected]>
@wei18
wei18 merged commit 822351a into main May 21, 2026
@wei18
wei18 deleted the chore/app-icon-rounded-corners branch May 21, 2026 13:15
wei18 added a commit that referenced this pull request May 23, 2026
…g §未決) (#114)

Resolves the "AppIcon has 3 unassigned children" warning that XCC was
emitting after PR #70 dropped platform:ios for cross-platform support.
Path A: per-platform image sets.

iOS — App/Assets.xcassets/AppIcon.appiconset/Contents.json
  Restored platform:"ios" on 3 entries (light / dark / tinted). Reverts
  the iOS portion of PR #70 — the cross-platform "universal" shape was
  the source of "unassigned children" because AppKit's macOS asset
  pipeline requires a discrete size ladder (16/32/128/256/512 @1x/@2x).

macOS — NEW App/Assets.xcassets/AppIcon-macOS.appiconset/ (10 PNGs)
  Generated from AppIcon-Light.png via Pillow Lanczos at the 10 standard
  Mac icon sizes. PR #74's 24% rounded clip is baked into the source so
  the downscales preserve the shape.

Project.swift
  + appTargetSettings with ASSETCATALOG_COMPILER_APPICON_NAME = "AppIcon"
  + SDK-conditional override [sdk=macosx*] = "AppIcon-macOS"
  Switches the App target to .settings(base: appTargetSettings).

Verification:
- mise exec -- tuist generate ✓
- xcodebuild -destination 'generic/platform=iOS' build: SUCCEEDED, no
  unassigned-children warning
- xcodebuild -destination 'platform=macOS' build: SUCCEEDED, no warning

§未決 (impl-notes)
- 16×16/32×32 Lanczos downscale visual review (may smudge detailed Light
  icon — hand-tuned small variants candidate for future iteration)
- macOS currently uses Light at all sizes; dark/tinted variant not
  surfaced on macOS (acceptable — macOS doesn't tint icons like iOS)

Co-authored-by: Claude Opus 4.7 <[email protected]>
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.

1 participant