Skip to content

feat: ship real Mind logo, typography roles, and public ./brand export - #27

Merged
rep0x merged 3 commits into
mainfrom
feat/ui-logo-typography
Jun 21, 2026
Merged

feat: ship real Mind logo, typography roles, and public ./brand export#27
rep0x merged 3 commits into
mainfrom
feat/ui-logo-typography

Conversation

@rep0x

@rep0x rep0x commented Jun 21, 2026

Copy link
Copy Markdown
Member

🎯 Summary

Brings the interlocking-weave logo and the typography role redefinition onto main so they can ship in a release, plus a new public ./brand export so apps can author icons from the canonical artwork without vendoring. This unblocks the landing-site rollout tracked in #26.

Two stranded commits (previously orphaned on a [gone] branch) are cherry-picked here, followed by the new export:

  • 52b9a61 feat(brand) — real Mind mark (mind-mark.ts), serif wordmark in the Logo component, Foundations → Logo docs, Storybook webfont loading
  • 05d29ce feat(typography)h1–h3 → serif base-layer rule, mono kbd, reworked Typography docs
  • 1a56d5c feat(brand) — new ./brand subpath

📦 New ./brand subpath

Re-exports MIND_MARK_SVG, MIND_MARK_VIEWBOX, MIND_GREEN, monoMarkSvg, MIND_CONSTRUCTION_SVG. Deliberately React-free (0 imports in dist/brand.js, no "use client") so it's safe to import from plain Node build scripts (e.g. landing's icon generator).

✅ Checks

  • pnpm gen:css
  • pnpm build ✅ (./branddist/brand.js 32.8 kB, pure strings)
  • pnpm typecheck
  • pnpm test ✅ — 225 passed (contrast AA gate + axe)

🚀 Release

Merging cuts 0.6.0 via release-please (two feat: commits). Landing then bumps to ^0.6.0.

Closes the Phase 1 portion of #26.

🤖 Generated with Claude Code

rep0x and others added 3 commits June 21, 2026 14:32
…docs

Add the real Mind mark as the canonical brand artwork and document it as a
corporate-style logo guide.

- Add src/themes/mind-mark.ts: canonical gradient mark, monochrome builder, brand
  greens, and the geometric construction grid — single source of truth reused by
  the theme assets and the docs page.
- Wire the real mark into the Mind theme's symbol; drop Mind's baked logo image.
- Refactor the Logo component to compose the symbol + "Mind" as live serif text
  (font-serif → Fraunces), since an <img>-embedded SVG can't reach app webfonts.
  Add a symbolOnly prop and a dedicated SymbolProps type.
- Add Foundations → Logo page (stories + MDX): lockups, construction grid,
  clearspace, sizing, app icon, favicon, monochrome, and misuse.
- Load the brand webfonts in Storybook via preview-head.html so type renders in
  real Fraunces / Hanken Grotesk / JetBrains Mono instead of a system fallback.
- Update brand tests for the composed wordmark and optional logo asset.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…ono technical

Give each of the three shipped fonts one clear job:
- Fraunces (serif) drives display headings: a base-layer rule sets h1–h3 in
  var(--font-serif). h4–h6 stay sans for legibility in dense UI.
- Hanken Grotesk (sans) is the default for body copy, UI chrome, and small
  structural headings.
- JetBrains Mono is reserved for code and technical labels; kbd switches from
  font-sans to font-mono (code/pre/samp already resolve via preflight).

Rework the Typography foundation docs to match: relabel the roles, render the
scale with h1–h3 in serif, and replace the serif-body editorial specimen with a
Composition that shows all three roles in their proper place.
Add a React-free ./brand entry re-exporting MIND_MARK_SVG, MIND_MARK_VIEWBOX,
MIND_GREEN, monoMarkSvg and MIND_CONSTRUCTION_SVG. Consuming apps can now author
favicons, app icons, OG images and manifests from the single source of truth
instead of vendoring a copy that drifts. The entry imports no components and
carries no "use client", so it is safe to import from plain Node build scripts.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@rep0x
rep0x merged commit 0d8cbb8 into main Jun 21, 2026
1 check passed
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