fix(desktop): macOS icon safe-area padding (was oversized/full-bleed)#93
Merged
Conversation
The app icon was a blue squircle filling the entire 1024 canvas edge-to-edge with no transparent margin, so in the Dock it rendered visibly larger than neighbouring apps (which follow the macOS Big Sur+ grid: the rounded square occupies ~80% of the canvas with a ~10% transparent margin), and the big white cat dominated on launch. Rework icon.svg to the macOS grid: inset the squircle to 80% (transparent margin), corner radius ≈ 22.5% of the square, and inset the cat to ~58% inside the squircle so it reads as a mark rather than a full-bleed silhouette. Regenerated 32/128/128@2x PNG + icon.icns via `tauri icon` (dropped the iOS/Android/Windows variants it also emits — this is a Mac-only app). Note: macOS caches icons by app version (HANDOFF §8c); takes effect on the next tauri:build, and a stale Dock icon may need an `lsregister -kill -r` to refresh. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bug
The Dock icon rendered noticeably larger than neighbouring apps, and a big white cat dominated on launch.
Cause
icon.svgwas a blue squircle filling the entire 1024 canvas edge-to-edge — no transparent margin. macOS Big Sur+ icons follow a grid where the rounded square occupies ~80% of the canvas with a ~10% transparent margin, so a full-bleed icon visually overflows its tile.Fix
Rework
icon.svgto the macOS grid: squircle inset to 80% (transparent margin), corner radius ≈ 22.5% of the square, and the cat inset to ~58% inside the squircle (a mark, not a full-bleed silhouette). Regenerated32/128/128@2xPNG +icon.icnsviatauri icon(dropped the iOS/Android/Windows variants it also emits — Mac-only app).Before → after (128px): full-bleed cat → padded squircle with an inset cat.
Note
macOS caches icons by app version (HANDOFF §8c). Takes effect on the next
tauri:build; a stale Dock icon may needlsregister -kill -r -domain local -domain userto refresh.🤖 Generated with Claude Code