fix(icons): put the dev Dock icon on the mac grid and enlarge the mac art

Dev runs replace the Dock icon with public/apple-touch-icon.png, which the
generator rendered full-bleed, so it drew ~24% larger than its Dock
neighbors. Render it from the mac-grid master like the icns targets.

On the 824 grid the plate matches peers, but the girl inside a white tile
with a ring read small; scale her 1.12x about the plate center for every
mac target.
This commit is contained in:
Hermes Agent
2026-09-24 21:15:22 -05:00
committed by brooklyn!
parent f4795c922c
commit c8094dc399
5 changed files with 8 additions and 3 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 66 KiB

After

Width:  |  Height:  |  Size: 55 KiB

View File

@@ -121,8 +121,10 @@ BORDER_FRACTION = 0.0407747197
GIRL_BOXES = {
"squircle-light.svg": (72.149433, 104.703674, 872.767801, 872.767801),
"squircle-dark.svg": (72.149433, 104.703674, 872.767801, 872.767801),
"squircle-mac-light.svg": (157.949166, 184.039504, 702.522501, 702.522501),
"squircle-mac-dark.svg": (157.949166, 184.039504, 702.522501, 702.522501),
# Mac: the girl scaled 1.12x about the plate center; the plate stays on the
# 824 grid, but a white tile with a ring reads small beside full-color peers.
"squircle-mac-light.svg": (122.43, 144.84, 786.83, 786.83),
"squircle-mac-dark.svg": (122.43, 144.84, 786.83, 786.83),
}
# The brand-kit SVG canvas (both girl svgs share this viewBox).
GIRL_VIEWBOX = 5487.0615
@@ -173,7 +175,8 @@ TARGETS: list[tuple[str, str, object]] = [
("apps/desktop/assets/appx/StoreLogo-dark.png", "png_dark", 50),
("apps/desktop/assets/appx/Square44x44Logo-dark.png", "png_dark", 44),
("apps/desktop/assets/appx/Square150x150Logo-dark.png", "png_dark", 150),
("apps/desktop/public/apple-touch-icon.png", "png", 1024),
# The dev-run Dock icon (app.dock.setIcon), so it sits on the mac grid too.
("apps/desktop/public/apple-touch-icon.png", "png_mac", 1024),
("apps/desktop/public/nous-girl.png", "girl_light", 256),
("apps/desktop/public/nous-girl-dark.png", "girl_dark", 256),
("apps/bootstrap-installer/src-tauri/icons/32x32.png", "png", 32),
@@ -458,6 +461,8 @@ def target_bytes(art: IconArt, kind: str, arg: object) -> bytes:
buf = io.BytesIO()
if kind == "png":
save_png(render(art.master, arg), buf)
elif kind == "png_mac":
save_png(render(art.master_mac, arg), buf)
elif kind == "png_dark":
save_png(render(art.master_dark, arg), buf)
elif kind == "png_white":