Skip to content

feat: adopt brand logo, canonical web + desktop icons (ui#29 wave 2) - #21

Merged
rep0x merged 2 commits into
mainfrom
chore/brand-wave2-shell
Jun 21, 2026
Merged

feat: adopt brand logo, canonical web + desktop icons (ui#29 wave 2)#21
rep0x merged 2 commits into
mainfrom
chore/brand-wave2-shell

Conversation

@rep0x

Copy link
Copy Markdown
Member

Summary

Wave 2 brand-refresh fan-out (MIND-Studio/ui#29) for the shell repo — the unified Mind host. Pattern from drive#17 (the reference PR), plus Tauri desktop icons (shell-specific). Based on the open @mind-studio/ui 0.7.0 bump branch (chore/ui-0.7.0-brand-refresh) so <Logo /> and the React-free ./brand subpath are available. Base = the bump branch, so this diff is just the Wave 2 work.

shell stays the Mind brand — the lockup is the shared weave mark + bare "Mind" wordmark, no per-app label.

What changed

Tier 3 — in-app logo (src/app/connect/page.tsx)

  • The sign-in landing's eyebrow text wordmark (Mind Shell — the everything app) is replaced with <Logo /> (mark + "Mind" in the brand serif, no label), with The everything app kept as the tagline beneath it. This is shell's primary brand surface; the shell chrome (rail / app-switcher) renders workspace tiles + the active-app label, not a Mind wordmark, so it was left untouched.

Tier 4 — canonical static web assets (mark-only, from @mind-studio/ui/brand)

  • scripts/gen-icons.mjs — generates favicon + PWA/apple-touch icons (and the Tauri master, below) from the canonical mark. Adapted from drive; shell header comment.
  • src/app/icon.svg — replaces the indigo-"M" placeholder with the canonical gradient weave mark.
  • src/app/apple-icon.png (180), public/icon-192.png, public/icon-512.png — generated maskable/apple-touch binaries, committed.
  • src/app/manifest.ts (new) — name: "Mind — the everything app", short_name: "Mind", shell description, theme_color: "#16B88A", background_color: "#07080b".
  • src/app/opengraph-image.tsx (new) — dark green-glow share card, "Mind" wordmark + host-appropriate copy. Deterministic (default font, no remote fetch).
  • package.json+ "gen:icons" / + "gen:tauri-icons" scripts, + sharp ^0.34.5 devDependency.
  • .gitignore — shell has a blanket *.png; added negations for the three web brand icons andsrc-tauri/icons/**/*.png.

Tauri desktop icons (shell-specific)

  • scripts/gen-icons.mjs also emits a 1024×1024 src-tauri/icons/app-icon.png master (white mono mark on a full-bleed Mind-Green backplate — the app-icon style).
  • Ran npx tauri icon src-tauri/icons/app-icon.png (Tauri CLI was available) to rewrite src-tauri/icons/* from the master: refreshed icon.icns + icon.ico (both regenerated — no follow-up needed), the desktop PNGs (32x32, 64x64, 128x128, 128x128@2x, icon.png), plus iOS / Android / Windows Square logo variants — all committed.
  • npm run gen:tauri-icons wires the master + generator together for reproducibility.
  • tauri.conf.json icon paths were left unchanged (filenames unchanged — bundle.icon still points at the same three PNGs); only the artwork was refreshed.

Test plan

All run from the worktree with NODE_AUTH_TOKEN=$(gh auth token):

CommandResult
npm run wasm✅ generated src/lib/vault/pkg (env quirk — gitignored, not part of this change)
npm run gen:icons (×2)✅ reproducible — web + master PNGs byte-identical on re-run
npx tauri icon …✅ rewrote src-tauri/icons/* incl. .icns + .ico
npm run typecheck✅ pass
npm run lint✅ exit 0 (only pre-existing repo-wide warnings/infos; none in changed files)
npm run test✅ pass (no test files; --passWithNoTests)
npm run build✅ pass — /icon.svg, /apple-icon.png, /manifest.webmanifest, /opengraph-image all in the route table

tauri build was not run (heavy native toolchain) per the brief — web build + typecheck + icon regeneration are green.

Pre-existing note (not introduced here): build warns metadataBase is unset for resolving social OG/Twitter image URLs — same as drive; OG image still generates.

Notes

  • .icns/.ico were produced in-env via the Tauri CLI — no follow-up required.
  • Wave 2 fan-out, pattern from drive#17 (+ Tauri). Anomaly vs drive: shell's tauri icon run also emitted iOS / Android / Windows Square logo PNGs that weren't previously committed — committed the full generated set (rather than a partial subset) so the desktop/mobile icon set stays consistent and reproducible.

🤖 Generated with Claude Code

rep0xand others added 2 commits June 21, 2026 16:01
Picks up the serif heading typography (Fraunces h1–h3), kbd mono, and
the semantic state tokens from the design-system brand refresh.
Refs #29
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@rep0x
rep0x changed the base branch from chore/ui-0.7.0-brand-refresh to mainJune 21, 2026 16:10
@rep0x
rep0x merged commit 2997bcc into mainJun 21, 2026
3 checks passed
@rep0x
rep0x deleted the chore/brand-wave2-shell branch June 21, 2026 16:12
@mind-release-botmind-release-botBot mentioned this pull request Jun 21, 2026
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

@rep0x