feat(ios): the sphinx app icon in light, dark and tinted (giza-app-icon, Phase 3)

The pixel-art rock and its two unhelpfully named files give way to three generated PNGs,
one per appearance: opaque RGB with no alpha for light, as App Store Connect requires; the
mark on transparency for dark, which iOS backs itself; grayscale for tinted, which iOS
tints by luminance. Not yet built in Xcode.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Kgothatso NgakoandClaude Opus 5.5 committed 2026-11-20 14:54:38 +02:00
1 parent 554c653d7b
commit 658a69a39f
7 files changed
+4 -3

No files matched your search

+1 -1
View File
@@ -248,6 +248,6 @@ dock and ⌘-Tab. `packageDeb` can be checked on this machine; the `.dmg` and `.
| 0 | done. `giza` merged in (`a4f54ad4`, Android's icon). The master is `docs/brand/giza-sphinx.svg`, the designer's *Transparent Cutouts* file unchanged; its path equals the `pathData` of both `ic_launcher_foreground.xml` and `ic_launcher_monochrome.xml`, 1,567 characters each. Baseline at `e00d0f80`: `jvmTest` 1,407 run, 0 failed, 0 skipped; `m3Audit` all budgets met, adaptive APIs 12 (floor 12), navigation components 2 (floor 2). Measuring the path also showed its thirteen sub-paths are disjoint, so the fill rule is not load-bearing; the facts above say so |
| 1 | done. `docs/scripts/app-icons.py`, with `--only ios|desktop|xml`, `--root` (to write somewhere other than the tree) and `--sheet`. Run twice into two scratch roots it wrote byte-identical files. The light icon is RGB with no alpha, the dark RGBA, the tinted grayscale; the `.ico` holds eight entries, 256 as PNG; the `.icns` parses as eight PNG chunks, `ic07`–`ic14`, with the sizes the table names. The contact sheet left 0.68 and 0.80 as they were: the stripes stay apart down to 32 px and merge, as expected, at 16 |
| 2 | built. `compose-multiplatform.xml` is generated (`--only xml`): a black square and the sand mark, with a comment naming the script and the master. `AppLogoDrawableJvmTest` passes, and fails at line 54 when the previous drawable is put back. **Not yet checked:** a phone camera reading a QR code with the new logo, in light and dark theme — the logo covers the same share of the code as before |
| 3 | not started |
| 3 | built. The two old PNGs are gone; `AppIcon-light.png` (RGB, no alpha), `AppIcon-dark.png` (RGBA) and `AppIcon-tinted.png` (grayscale), each 1024², are generated (`--only ios`) and named in `Contents.json`. Nothing in `project.pbxproj` named the old files. **Not yet checked, for want of a mac:** an Xcode build, the home screen in light, dark and tinted, and Organizer's validation of an archive |
| 4 | not started |
| 5 | not started |
Binary file not shown.

After

Width:  |  Height:  |  Size: 46 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 53 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

@@ -1,7 +1,7 @@
{
"images" : [
{
"filename" : "Icon-App-1024(1).png",
"filename" : "AppIcon-light.png",
"idiom" : "universal",
"platform" : "ios",
"size" : "1024x1024"
@@ -13,7 +13,7 @@
"value" : "dark"
}
],
"filename" : "Icon-App-1024 1.png",
"filename" : "AppIcon-dark.png",
"idiom" : "universal",
"platform" : "ios",
"size" : "1024x1024"
@@ -25,6 +25,7 @@
"value" : "tinted"
}
],
"filename" : "AppIcon-tinted.png",
"idiom" : "universal",
"platform" : "ios",
"size" : "1024x1024"
Binary file not shown.

Before

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 22 KiB