Skip to content

The agent that grows with you

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

Hermes Agentc8094dc399de
diff --git a/apps/bootstrap-installer/src-tauri/icons/icon.icns b/apps/bootstrap-installer/src-tauri/icons/icon.icns
index ec77c2a2655..1000ff1d16a 100644
Binary files a/apps/bootstrap-installer/src-tauri/icons/icon.icns and b/apps/bootstrap-installer/src-tauri/icons/icon.icns differ
diff --git a/apps/desktop/assets/icon-dark.icns b/apps/desktop/assets/icon-dark.icns
index a2d6c3961d6..4e745b1d982 100644
Binary files a/apps/desktop/assets/icon-dark.icns and b/apps/desktop/assets/icon-dark.icns differ
diff --git a/apps/desktop/assets/icon.icns b/apps/desktop/assets/icon.icns
index ec77c2a2655..1000ff1d16a 100644
Binary files a/apps/desktop/assets/icon.icns and b/apps/desktop/assets/icon.icns differ
diff --git a/apps/desktop/public/apple-touch-icon.png b/apps/desktop/public/apple-touch-icon.png
index 831c9797d4f..d6a88bca1b5 100644
Binary files a/apps/desktop/public/apple-touch-icon.png and b/apps/desktop/public/apple-touch-icon.png differ
diff --git a/scripts/generate_icons.py b/scripts/generate_icons.py
index c6cc9dc0eee..df01dd7e4ad 100644
--- a/scripts/generate_icons.py
+++ b/scripts/generate_icons.py
@@ -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":