Files
design/guidelines/type-display.card.html
zooqueen ae71e58a60 fix(design): the faces the package ships are Zen inside, not only on disk
The two woff2 under assets/fonts were placed by hand and renamed on disk only —
their internal `name` table still read the family Zen was derived from. The
@font-face rule wins for matching, so a browser painted Zen and hid it; anything
that reads a font's own name instead — a font picker, a PDF embed, a design tool
opening the file — reported the wrong typeface on every Hanzo surface.

The fix is to stop authoring them here. @hanzo/font is where Zen is authored, so
gen-tokens.mjs now copies its two variable faces on every run and the copy cannot
drift from its author. Declaring rather than @import-ing stays, for the reason
tokens/fonts.css already gives.

Also drops the stale family name from the prose that prescribes type: the
integration doc, the two prompts an agent reads before it designs anything, and
the two type cards' subtitles.
2026-08-24 13:24:25 -07:00

14 lines
1.5 KiB
HTML

<!-- @dsCard group="Type" viewport="700x220" name="Display" subtitle="Zen, hero and section headlines" -->
<!doctype html><html class="dark"><head><meta charset="utf-8"><title>Display type</title><link rel="stylesheet" href="../styles.css">
<style>body{margin:0;padding:16px 20px;background:#000;font-family:var(--font-sans);color:var(--foreground)}
.g{display:flex;gap:10px;flex-wrap:wrap}.sw{flex:1;min-width:64px}.chip{height:56px;border-radius:8px;border:1px solid var(--white-10)}
.n{margin-top:6px;font-size:10px;font-weight:600;letter-spacing:.06em;color:var(--neutral-300);font-family:var(--font-mono)}
.v{font-size:9px;color:var(--neutral-600);font-family:var(--font-mono)}
.row{display:flex;align-items:baseline;gap:14px}.mono{font-family:var(--font-mono)}
.meta{font-size:10px;color:var(--neutral-600);font-family:var(--font-mono);white-space:nowrap}
</style></head><body>
<div style="display:flex;flex-direction:column;gap:10px">
<div class="row"><span style="font-size:var(--text-6xl);font-weight:700;letter-spacing:var(--tracking-tight);line-height:1">Enso</span><span class="meta">6xl / 60px · 700 · tracking-tight</span></div>
<div class="row"><span style="font-size:var(--text-4xl);font-weight:700;letter-spacing:var(--tracking-tight);line-height:1.1">The AI cloud for agents</span><span class="meta">4xl / 36px · 700</span></div>
<div class="row"><span style="font-size:var(--text-2xl);font-weight:600">Section subhead</span><span class="meta">2xl / 24px · 600</span></div>
</div></body></html>