Typography

Glaze Sans for every word, Glaze Mono at 0.8 of the text around it, 12px in a block.

Rules

  1. typography-roles MUST Set text with a type-* role; never a raw size, weight or line height. Because a role carries its size, line height, weight and tracking together, and a raw size sits off the lines beside it.
    • Correct: <p className="type-body">
    • Wrong: <p className="text-[15px] font-semibold leading-6">
  2. typography-mono-scale MUST Set mono inside text with mono or a code element, at 0.8 of the text around it, and mono beside sans with type-code, type-code-sm or type-code-xs. Set a block of code, JSON or logs in type-code-block, 12px, unscaled. Because Glaze Mono's lowercase is 26% wider than Glaze Sans's at one size, so mono at the sans size reads a size bigger than the words around it; a block has no words around it, and at 0.8 its lines fall to 10px and strain.
    • Correct: <p className="type-body-sm">Run <span className="mono">run_8f2a91</span> passed</p>
    • Wrong: <p className="type-body-sm">Run <span className="font-mono">run_8f2a91</span> passed</p>
  3. typography-mono-line NEVER Give inline mono its own line height, padding or vertical-align. Because mono that grows its box pushes the line open, and the paragraph's rhythm breaks at every ID.
    • Correct: <code>run_8f2a91</code>
    • Wrong: <code className="px-1 py-0.5 leading-5">run_8f2a91</code>
  4. typography-mono-for-code MUST Use mono only for code, commands, paths, IDs and keys; give numbers the data utility for tabular figures. Because mono marks what a person copies, so a mono duration looks like an ID.
    • Correct: <span className="data">2m 14s</span>
    • Wrong: <span className="mono">2m 14s</span>
  5. typography-one-cut MUST Make hierarchy with size, tracking and colour through the type-* roles; keep 600 for a short strong phrase and never on a title or heading. Because Glaze Sans sets every word, titles included, in one Regular cut (400 and 500 land on it), so a 600 title reads heavy beside the glass and a raw weight lands on a cut the system never chose.
    • Correct: <h2 className="type-heading">Evals</h2>
    • Wrong: <h2 className="font-semibold">Evals</h2>
  6. typography-sentence-case MUST Write sentence case everywhere, buttons and table heads included. Because title case makes ordinary words read as product names.
    • Correct: <Button>Run eval</Button>
    • Wrong: <Button>Run New Eval</Button>

Tokens

TokenRoleUse forNot forLight
--font-sansevery wordall text"Glaze Sans", "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif
--font-monocode, IDs, keys and pathscode, kbd, IDs"Glaze Mono", "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace
--mono-scalemono at this share of the sans it sits in or beside, so it never looks bigger; never a block of codemono in or beside a line of sansa block of code, JSON or logs0.8
--weight-normalrunning textbody, caption400
--weight-mediumlabels, controls and headings: the same cut as text in Glaze Sans, a step up in a fallbacklabel, button, heading500
--weight-semiboldsmall strong emphasis inside prose, never a titlestrong600
--type-titlethe page title500 28px/1.2 var(--font-sans)
--type-headinga section or dialog titlesection, dialog title500 20px/1.3 var(--font-sans)
--type-heading-sma subsection or card title at its largestsubsection, empty state title500 16px/1.35 var(--font-sans)
--type-bodyparagraphs, 1.5paragraphs, messagescontrols400 14px/1.5 var(--font-sans)
--type-body-smdense paragraphs and descriptionscard description, field hint400 13px/1.5 var(--font-sans)
--type-labelcontrols and labels, 1.35controls, labels, card titlesparagraphs500 13px/1.35 var(--font-sans)
--type-label-sma small control, a tag, a column headsmall button, badge, table head500 12px/1.35 var(--font-sans)
--type-label-lga large controllarge button500 14px/1.35 var(--font-sans)
--type-captionmeta beside a valuemeta beside a value, footer metasentences that must be read400 12px/1.35 var(--font-sans)
--type-codestandalone mono beside body text: 11.2pxshell prompt, a code line in a sentence's place400 calc(14px * var(--mono-scale))/1.5 var(--font-mono)
--type-code-smstandalone mono beside body-sm or a label: 10.4pxtable IDs, key tails400 calc(13px * var(--mono-scale))/1.5 var(--font-mono)
--type-code-xsstandalone mono beside a caption: 9.6pxfooter meta, row IDs400 calc(12px * var(--mono-scale))/1.35 var(--font-mono)
--type-code-blocka block of code read line by line, with no sans beside it to match: 12px on a 20px linecode block, JSON view, log linesan ID in a sentence or a row400 12px/20px var(--font-mono)
--tracking-headingtitles and headingstitle, heading, heading-sm-0.025em
--tracking-bodybody and captions: the display cut sets tight on its own, so text takes no trackingbody, caption0em
--tracking-labellabels and controls, opened a touch as in the reference buttonlabel, button, menu item0.02em

Decision table

You needUse
The fontsGlaze Sans and Glaze Mono, declared on design.how only; Geist and Geist Mono, then the platform faces, where they are not
A paragraphtype-body
A control or a labeltype-label
Meta beside a valuetype-caption
An ID inside a sentencemono (or <code>)
A code block, a JSON tree or log linestype-code-block on code-surface
An ID in a table rowtype-code-sm
A page titletype-title

Scale

Sans: 12, 13, 14, 16, 20, 28px. Mono beside sans: 0.8 of it, 9.6, 10.4, 11.2px. Mono in a block: 12px on a 20px line. Line height 1.35 for UI, 1.5 for paragraphs, 1.2 to 1.3 for headings.

Reject list

  • No Semibold titles, no weights above 600, no capitals, no tracked-out letters.
  • No mono at the sans size.
  • Color: Ink and paper with greys as ink at alphas, and colour only for status.
  • Space: A 4px grid, 32px controls and 36px rows.