diff --git a/CHANGELOG.md b/CHANGELOG.md index 3555958a..ba686186 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,12 @@ ## Unreleased +- New logo: a glossy indigo box with an upward arrow (`brand/master/logo-mark.png`, `brand/README.md`). Every logo + file comes from it through `tools/brand-assets.py`: desktop app icons (PNG sizes, `.icns`, a `.ico` with its own + image per size, Windows tiles), the site's favicon.ico, maskable web app icons with a manifest, apple-touch-icon, + the header and footer marks (PNG next to the text wordmark), the desktop window's mark and `site/og.png`. Below + 48 px a bold "s" monogram on the same tile. The old hand-written SVG mark and `site/favicon.svg` are gone, and the + no-hand-written-SVG guard no longer has a brand exception. - Desktop: the signed release showed only its background colour and never started the sidecar. Cause: Tauri's `freezePrototype` freezes `Object.prototype` before the bundle runs, and d3-color / d3-format (under the visx charts) assign `constructor` / `toString` on plain objects while loading, which throws on a frozen prototype; the bundle diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 5bcdbb7d..dee9b269 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -34,7 +34,8 @@ Try the screenshot and video pipeline on the demo game without any store account Google Play marks from simple-icons (vendored with the licences by `bun tools/site-icons.ts` into `site/img/icons/` and `apps/desktop/src/ui/store-marks/`, byte-equal to the packages), diagrams from Mermaid (`docs/diagrams/*.mmd`, rendered by `bun tools/diagrams.ts`), the desktop fixtures' art from - `bun tools/fixture-art.ts`. The brand mark and `site/favicon.svg` are brand assets. `tests/no-handmade-svg.test.ts` + `bun tools/fixture-art.ts`. The logo files (app icons, favicons, header marks, `site/og.png`) are PNG / ICO / ICNS from + `tools/brand-assets.py` (`brand/README.md`). `tests/no-handmade-svg.test.ts` fails on new inline `` / `` drawing in `apps/desktop/src` and `site/*.html` and on SVG files that are not vendored or rendered. These libraries are desktop dependencies (bundled by Vite) or devDependencies; the CLI package keeps zero runtime dependencies. diff --git a/README.md b/README.md index adc8e5b4..4940806f 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,5 @@ +

storebound logo

+ # storebound **Website: [storebound.dev](https://storebound.dev) · npm: [storebound](https://www.npmjs.com/package/storebound) · `bunx storebound init`** diff --git a/apps/desktop/src-tauri/icons/128x128.png b/apps/desktop/src-tauri/icons/128x128.png index 92ac6451..701fe9a4 100644 Binary files a/apps/desktop/src-tauri/icons/128x128.png and b/apps/desktop/src-tauri/icons/128x128.png differ diff --git a/apps/desktop/src-tauri/icons/128x128@2x.png b/apps/desktop/src-tauri/icons/128x128@2x.png index ab8b36b2..9b3b288c 100644 Binary files a/apps/desktop/src-tauri/icons/128x128@2x.png and b/apps/desktop/src-tauri/icons/128x128@2x.png differ diff --git a/apps/desktop/src-tauri/icons/256x256.png b/apps/desktop/src-tauri/icons/256x256.png new file mode 100644 index 00000000..9b3b288c Binary files /dev/null and b/apps/desktop/src-tauri/icons/256x256.png differ diff --git a/apps/desktop/src-tauri/icons/32x32.png b/apps/desktop/src-tauri/icons/32x32.png index 7f2ebdc4..2d4c28ad 100644 Binary files a/apps/desktop/src-tauri/icons/32x32.png and b/apps/desktop/src-tauri/icons/32x32.png differ diff --git a/apps/desktop/src-tauri/icons/64x64.png b/apps/desktop/src-tauri/icons/64x64.png new file mode 100644 index 00000000..b6d21d66 Binary files /dev/null and b/apps/desktop/src-tauri/icons/64x64.png differ diff --git a/apps/desktop/src-tauri/icons/Square107x107Logo.png b/apps/desktop/src-tauri/icons/Square107x107Logo.png new file mode 100644 index 00000000..a4da06d4 Binary files /dev/null and b/apps/desktop/src-tauri/icons/Square107x107Logo.png differ diff --git a/apps/desktop/src-tauri/icons/Square142x142Logo.png b/apps/desktop/src-tauri/icons/Square142x142Logo.png new file mode 100644 index 00000000..a4cd877f Binary files /dev/null and b/apps/desktop/src-tauri/icons/Square142x142Logo.png differ diff --git a/apps/desktop/src-tauri/icons/Square150x150Logo.png b/apps/desktop/src-tauri/icons/Square150x150Logo.png new file mode 100644 index 00000000..bf34596f Binary files /dev/null and b/apps/desktop/src-tauri/icons/Square150x150Logo.png differ diff --git a/apps/desktop/src-tauri/icons/Square284x284Logo.png b/apps/desktop/src-tauri/icons/Square284x284Logo.png new file mode 100644 index 00000000..ba1b7f77 Binary files /dev/null and b/apps/desktop/src-tauri/icons/Square284x284Logo.png differ diff --git a/apps/desktop/src-tauri/icons/Square30x30Logo.png b/apps/desktop/src-tauri/icons/Square30x30Logo.png new file mode 100644 index 00000000..8778d570 Binary files /dev/null and b/apps/desktop/src-tauri/icons/Square30x30Logo.png differ diff --git a/apps/desktop/src-tauri/icons/Square310x310Logo.png b/apps/desktop/src-tauri/icons/Square310x310Logo.png new file mode 100644 index 00000000..331c0028 Binary files /dev/null and b/apps/desktop/src-tauri/icons/Square310x310Logo.png differ diff --git a/apps/desktop/src-tauri/icons/Square44x44Logo.png b/apps/desktop/src-tauri/icons/Square44x44Logo.png new file mode 100644 index 00000000..835e26bb Binary files /dev/null and b/apps/desktop/src-tauri/icons/Square44x44Logo.png differ diff --git a/apps/desktop/src-tauri/icons/Square71x71Logo.png b/apps/desktop/src-tauri/icons/Square71x71Logo.png new file mode 100644 index 00000000..19f2b331 Binary files /dev/null and b/apps/desktop/src-tauri/icons/Square71x71Logo.png differ diff --git a/apps/desktop/src-tauri/icons/Square89x89Logo.png b/apps/desktop/src-tauri/icons/Square89x89Logo.png new file mode 100644 index 00000000..c1641b85 Binary files /dev/null and b/apps/desktop/src-tauri/icons/Square89x89Logo.png differ diff --git a/apps/desktop/src-tauri/icons/StoreLogo.png b/apps/desktop/src-tauri/icons/StoreLogo.png new file mode 100644 index 00000000..aa60d969 Binary files /dev/null and b/apps/desktop/src-tauri/icons/StoreLogo.png differ diff --git a/apps/desktop/src-tauri/icons/icon.icns b/apps/desktop/src-tauri/icons/icon.icns index 77081638..71c97c74 100644 Binary files a/apps/desktop/src-tauri/icons/icon.icns and b/apps/desktop/src-tauri/icons/icon.icns differ diff --git a/apps/desktop/src-tauri/icons/icon.ico b/apps/desktop/src-tauri/icons/icon.ico index 27bd503c..24989c31 100644 Binary files a/apps/desktop/src-tauri/icons/icon.ico and b/apps/desktop/src-tauri/icons/icon.ico differ diff --git a/apps/desktop/src-tauri/icons/icon.png b/apps/desktop/src-tauri/icons/icon.png index b0979b29..390285c0 100644 Binary files a/apps/desktop/src-tauri/icons/icon.png and b/apps/desktop/src-tauri/icons/icon.png differ diff --git a/apps/desktop/src-tauri/icons/icon.svg b/apps/desktop/src-tauri/icons/icon.svg deleted file mode 100644 index 7980110e..00000000 --- a/apps/desktop/src-tauri/icons/icon.svg +++ /dev/null @@ -1 +0,0 @@ - diff --git a/apps/desktop/src/styles.css b/apps/desktop/src/styles.css index 077f91d3..66c42d7e 100644 --- a/apps/desktop/src/styles.css +++ b/apps/desktop/src/styles.css @@ -118,7 +118,7 @@ svg { flex: none; } .side { background: var(--bg-sunken); border-right: 1px solid var(--line); display: flex; flex-direction: column; min-height: 0; } .side-top { padding: 14px 12px 8px; display: grid; gap: 10px; } .brand { display: flex; align-items: center; gap: 10px; padding: 2px 6px; font-weight: 650; font-size: var(--t-em); letter-spacing: -.01em; } -.brand-mark { width: 24px; height: 24px; } +.brand-mark { width: 24px; height: 24px; flex: none; } .brand small { margin-left: auto; font: 600 10px/1 var(--mono); color: var(--muted); border: 1px solid var(--line-2); padding: 3px 5px; border-radius: 5px; letter-spacing: .04em; } .search-btn { all: unset; display: flex; align-items: center; gap: 8px; height: 32px; padding: 0 8px 0 10px; border-radius: 8px; cursor: pointer; diff --git a/apps/desktop/src/ui/brand.tsx b/apps/desktop/src/ui/brand.tsx index 88c4e511..f0ea6c96 100644 --- a/apps/desktop/src/ui/brand.tsx +++ b/apps/desktop/src/ui/brand.tsx @@ -1,16 +1,7 @@ -// The storebound brand mark (an arrow out of a tray, like site/favicon.svg). A brand asset, kept as the owner made it: -// the one file in apps/desktop/src where the CI guard (tests/no-handmade-svg.test.ts) allows inline SVG. +// The storebound brand mark: a PNG made by tools/brand-assets.py from brand/master/logo-mark.png (bundled by Vite, no +// inline SVG). Decorative next to the "storebound" text, which stays real text. +import logoMark from './logo-mark.png'; + export function Mark({ className }: { className?: string }) { - return ( - - ); + return ; } diff --git a/apps/desktop/src/ui/logo-mark.png b/apps/desktop/src/ui/logo-mark.png new file mode 100644 index 00000000..c39aa207 Binary files /dev/null and b/apps/desktop/src/ui/logo-mark.png differ diff --git a/brand/README.md b/brand/README.md new file mode 100644 index 00000000..cbe8e4ee --- /dev/null +++ b/brand/README.md @@ -0,0 +1,27 @@ +# storebound brand + +| File | What | +| --- | --- | +| `master/logo-mark.png` | The master: 1024 x 1024 PNG, transparent background. A glossy indigo box with an upward arrow and sparkles. | +| `logo-mark-256.png` | The mark alone at 256 px (README, teaser video). Made from the master. | + +**Source.** Generated with the image model `gpt-image-2.5-sunburst` and picked by the owner on 2026-10-11. The master +is the model's output, copied unchanged (it keeps the model's C2PA content credentials). Nothing is painted into it +afterwards: the background tile, the sizes and the small-size monogram are made in code. + +**Every other logo file** (desktop app icons, `.icns` / `.ico`, Windows tiles, favicons, web app icons, the site and +desktop header marks, `site/og.png`) comes from `tools/brand-assets.py` (Python with Pillow, a build-time tool): + +```sh +python3 tools/brand-assets.py # rewrite every file from the master +python3 tools/brand-assets.py --sheet out.png # plus a contact sheet of every size +``` + +Method: trim to the alpha bounding box, pad about 6 %, square, LANCZOS down, never up. The tile is a rounded square +with a navy to indigo gradient from the site's colour tokens. Below 48 px the box and arrow turn to mush, so that tier +is a bold "s" set in the system font on the same tile, rendered at the target size. Do not run `tauri icon` (it +shrinks one image to every size). There is no hand-written SVG version of the mark +(`tests/no-handmade-svg.test.ts`). + +**Licence.** The storebound code is MIT (`LICENSE`). The logo is the project's brand mark: use it to refer to +storebound (links, articles, packaging), not as the branding of another product, and do not alter it. diff --git a/brand/logo-mark-256.png b/brand/logo-mark-256.png new file mode 100644 index 00000000..b3469b81 Binary files /dev/null and b/brand/logo-mark-256.png differ diff --git a/brand/master/logo-mark.png b/brand/master/logo-mark.png new file mode 100644 index 00000000..7ecd72b6 Binary files /dev/null and b/brand/master/logo-mark.png differ diff --git a/docs/desktop.md b/docs/desktop.md index dfee056b..2013867c 100644 --- a/docs/desktop.md +++ b/docs/desktop.md @@ -82,8 +82,8 @@ Types of the protocol: `cli/lib/desktop-protocol.ts`; pure portfolio logic: `cli (`src/ui/illustrations.tsx`) are a Phosphor icon on a token-coloured tile with an optional bold badge icon, no artwork. The fixtures' app icons and screenshot stand-ins are PNGs from `bun tools/fixture-art.ts` (Phosphor "fill" icons - on CSS gradients, photographed by Chromium). The brand mark (`src/ui/brand.tsx`, like `site/favicon.svg`) is the one - inline SVG left: a brand asset. Bundle cost: about +97 kB minified, +31 kB gzip for visx (d3-scale / d3-shape and + on CSS gradients, photographed by Chromium). The brand mark (`src/ui/brand.tsx`) is a PNG + (`src/ui/logo-mark.png`, from `tools/brand-assets.py`, see `brand/README.md`): no inline SVG at all. Bundle cost: about +97 kB minified, +31 kB gzip for visx (d3-scale / d3-shape and @visx/text for the axes). The Phosphor icons cost about 168 kB minified / 41 kB gzip more than the lucide set they replaced (each per-icon module carries all six weights; 864 kB / 247 kB gzip for the whole webview script). diff --git a/media/teaser/index.html b/media/teaser/index.html index 3edd7bf3..183f4c68 100644 --- a/media/teaser/index.html +++ b/media/teaser/index.html @@ -127,9 +127,7 @@ html, body { margin: 0; padding: 0; background: var(--bg); overflow: hidden; } #submit .fine { margin-top: 34px; font: 600 30px/1.3 var(--sans); color: var(--muted); } #cursor { z-index: 45; width: 64px; height: 64px; opacity: 0; filter: drop-shadow(0 6px 10px rgba(0,0,0,.6)); } -#brand .mark { width: 200px; height: 200px; border-radius: 48px; background: linear-gradient(180deg, #6366f1, #4338ca); display: grid; place-items: center; - box-shadow: 0 30px 100px -20px rgba(79,70,229,.95), inset 0 3px 0 rgba(255,255,255,.25); } -#brand .mark svg { width: 120px; height: 120px; } +#brand .mark { width: 220px; height: 220px; display: block; filter: drop-shadow(0 30px 60px rgba(79,70,229,.7)); } #brand .word { margin-top: 40px; font: 900 150px/1 var(--sans); letter-spacing: -0.045em; } #brand .tag { margin-top: 30px; font: 600 42px/1.25 var(--sans); color: var(--ink-2); max-width: 860px; } #brand .tag b { color: var(--accent); font-weight: 800; } @@ -157,8 +155,7 @@ html, body { margin: 0; padding: 0; background: var(--bg); overflow: hidden; } .h #quest { top: 330px; } .h #sizes { left: 120px; width: 700px; top: 760px; justify-content: flex-start; } .h #brand .word { font-size: 140px; } -.h #brand .mark { width: 170px; height: 170px; border-radius: 42px; } -.h #brand .mark svg { width: 102px; height: 102px; } +.h #brand .mark { width: 190px; height: 190px; } .h #brand .tag { max-width: 1200px; margin-top: 24px; } .h #brand .url { margin-top: 36px; } .h #brand .inst { margin-top: 32px; } @@ -207,7 +204,7 @@ html, body { margin: 0; padding: 0; background: var(--bg); overflow: hidden; }
-
+ storebound logo
storebound
From zero to “Submit for review”
on Google Play and the App Store.
storebound.dev
diff --git a/media/teaser/render.ts b/media/teaser/render.ts index c94569e7..c487d143 100644 --- a/media/teaser/render.ts +++ b/media/teaser/render.ts @@ -48,7 +48,8 @@ function serve(): ReturnType { fetch(req) { const p = decodeURIComponent(new URL(req.url).pathname).replace(/^\/+/, '') || 'index.html'; if (p.includes('..')) return new Response('no', { status: 400 }); - const f = Bun.file(join(DIR, p)); + // the logo comes from the repo's brand/ folder (tools/brand-assets.py), not a copy + const f = Bun.file(p.startsWith('brand/') ? join(DIR, '../..', p) : join(DIR, p)); return f.size ? new Response(f) : new Response('not found', { status: 404 }); }, }); diff --git a/site/apple-touch-icon.png b/site/apple-touch-icon.png new file mode 100644 index 00000000..52e43aea Binary files /dev/null and b/site/apple-touch-icon.png differ diff --git a/site/desktop/index.html b/site/desktop/index.html index c83b2cef..c06dd5e1 100644 --- a/site/desktop/index.html +++ b/site/desktop/index.html @@ -9,14 +9,16 @@ - + + + - - + +