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:
Binary file not shown.
|
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 10 KiB |
Reference in New Issue
Block a user