diff --git a/packages/web/public/icons/logo.png b/packages/web/public/icons/logo.png index 645c933c..4b9415ca 100644 Binary files a/packages/web/public/icons/logo.png and b/packages/web/public/icons/logo.png differ diff --git a/scripts/gen-icons.README.md b/scripts/gen-icons.README.md index 250e7be3..25ffc3b0 100644 --- a/scripts/gen-icons.README.md +++ b/scripts/gen-icons.README.md @@ -39,8 +39,8 @@ git history clean. | Brand source | Drives | |---------------------------------|-----------------------------------------------| -| `assets/brand/app-icon.svg` | Every full app icon, all favicons, PWA | -| `assets/brand/mark.svg` | Win/Linux tray, in-app logo, PWA maskable | +| `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/mark-mono-dark.svg` | macOS menu-bar template (alpha + black) | `Artworks-Backspace/` is the design archive — never read by this script. diff --git a/scripts/gen-icons.mjs b/scripts/gen-icons.mjs index 0beee0d3..91231d36 100755 --- a/scripts/gen-icons.mjs +++ b/scripts/gen-icons.mjs @@ -200,8 +200,12 @@ async function main() { ); trace('pwa-maskable', join(WEB_ICONS, 'icon-maskable-512.png'), `512 (60% mark on ${MASKABLE_BG})`); - await writePng(join(WEB_ICONS, 'logo.png'), mark, 256); - trace('in-app-logo', join(WEB_ICONS, 'logo.png'), '256 (transparent)'); + // SpaceSidebar's 40×40 rounded-[20px] tile uses object-cover. The full + // badge (Element 1) integrates cleanly because its dark bg fills the tile + // and its internal padding keeps the mark off the tile edges. Bare mark + // on transparent touched the tile edges and conflicted with active rings. + await writePng(join(WEB_ICONS, 'logo.png'), appIcon, 256); + trace('in-app-logo', join(WEB_ICONS, 'logo.png'), '256 (full badge)'); // --- Summary --- const fmtBytes = (n) => {