Skip to content

feat: replace custom brand mark with design-system Logo (ui#29 wave 2) - #10

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

feat: replace custom brand mark with design-system Logo (ui#29 wave 2)#10
rep0x merged 2 commits into
mainfrom
chore/brand-wave2-dock

Conversation

@rep0x

@rep0x rep0x commented Jun 21, 2026

Copy link
Copy Markdown
Member

What changed

dock defined its own ✦-style brand glyph (BrandMark in src/components/TopBar.tsx) paired with a hand-rolled <span>Mind Dock</span> wordmark. This swaps that custom lockup for the design-system <Logo /> (ui 0.7.0), so dock now renders the real shared weave mark + the "Mind" wordmark in the brand serif (Fraunces).

dock is the unified Mind hub, so the lockup reads "Mind"<Logo /> with no label (defaults to the active theme's label).

  • BrandMark removed entirely (rather than kept as a wrapper): both call sites rendered <BrandMark /> + a separate <span> wordmark, so keeping BrandMark as a <Logo /> wrapper would have produced a doubled mark/wordmark ("Mind Mind Dock"). Replacing the whole lockup with a single <Logo /> is cleaner and avoids the duplication.
  • The custom <span>Mind Dock</span> wordmark spans were removed at both sites (the <Logo /> wordmark replaces them; hub now reads "Mind").
  • BrandMark's size prop was not load-bearing — <Logo /> carries its own intrinsic sizing and the wordmark replaces the styled text span, so no size mapping was needed.

Call sites touched

  • src/components/TopBar.tsxTopBar masthead lockup (the <Link href="/dock">); removed the BrandMark export, added Logo to the @mind-studio/ui import.
  • src/app/page.tsx — landing-page header lockup; dropped the BrandMark import, added import { Logo } from "@mind-studio/ui".

Test plan

  • npm run typecheck
  • npm run lint ✓ (exit 0; only pre-existing warnings in untouched files)
  • npm run test ✓ (no test files, passWithNoTests)
  • npm run build ✓ (Next.js 16 production build, all routes generated)

Wave 2 fan-out (Tier 3, dock special case), pattern from drive#17.

🤖 Generated with Claude Code

rep0x and others added 2 commits June 21, 2026 15:59
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 main June 21, 2026 16:10
@rep0x
rep0x merged commit ba3e7e2 into main Jun 21, 2026
1 check passed
@rep0x
rep0x deleted the chore/brand-wave2-dock branch June 21, 2026 16:12
Sign up for free to 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