fix(brand): logo.png is bare mark on transparent, 75% padded
The previous Element-1 (full badge) approach produced a visible warm-grey #1d1d1b square inside the cool-dark #1a1a23 sidebar — the two near-blacks differ enough in hue to read as a foreign rectangle in the slot. The right answer (third time lucky): the SpaceSidebar's 40×40 rounded-[20px] tile already IS the dark squircle frame. logo.png now composites the bare gradient mark at 75% on a transparent canvas: the sidebar's tile bg shows through, the 25% padding keeps the mark off the squircle edges and clear of the active-state ring, and there is no foreign-bg colour conflict. Refactored writeMaskablePng → writeCenteredMarkPng to share one code path between the maskable PWA (opaque #1d1d1b background, 60% mark) and the in-app logo (transparent background, 75% mark). Both use the same composition pipeline; only canvas / scale / bg differ. Only logo.png regenerated; other 21 outputs byte-identical (determinism gate verified twice).
This commit is contained in:
@@ -39,8 +39,8 @@ git history clean.
|
||||
|
||||
| Brand source | Drives |
|
||||
|---------------------------------|-----------------------------------------------|
|
||||
| `assets/brand/app-icon.svg` | Every full app icon, all favicons, PWA, in-app `logo.png` |
|
||||
| `assets/brand/mark.svg` | Win/Linux tray, PWA maskable inner mark |
|
||||
| `assets/brand/app-icon.svg` | Every full app icon, all favicons, PWA |
|
||||
| `assets/brand/mark.svg` | Win/Linux tray, in-app `logo.png`, PWA maskable inner mark |
|
||||
| `assets/brand/mark-mono-dark.svg` | macOS menu-bar template (alpha + black) |
|
||||
|
||||
`Artworks-Backspace/` is the design archive — never read by this script.
|
||||
|
||||
Reference in New Issue
Block a user