Skip to content

Typography

One family, three weights and Tailwind's standard text scale with Silkware's line heights and tracking, plus a small editorial layer for marketing pages.

Silkware sets everything in Mona Sans. The type system speaks Tailwind's language: the sizes are Tailwind's standard steps, from text-xs to text-6xl, so the classes shadcn components use and the classes you write are the same vocabulary. The brand lives underneath, in the line height and tracking each step carries, the same way the colour tokens keep shadcn's names and put the brand values beneath them.

text-6xl

Company Brain

text-5xl

Company Brain

text-4xl

How Bridge reads your ERP

text-3xl

How Bridge reads your ERP

text-2xl

Purchase orders

text-xl

Waiting on a supplier

text-lg

Order PO-2418

text-base

Giulia opens the order and sends it to Luca.

text-sm

Giulia opens the order and sends it to Luca.

text-xs

Updated by the ERP at 09:40.

The values beside each sample are read from the browser, so they show what the theme really renders.

Families

UtilityVariableValueUse
font-sans--font-textMona SansAll text. Set on html, so it is the default.
font-heading--font-titleMona SansHeadings. Same family; split from text so a brand can pair two.
font-sc--typeface-noto-scNoto Sans SCSimplified Chinese.
font-mono--typeface-monoA system monospace stackCode surfaces only.

Mona Sans is a variable font (300 to 700) self-hosted from public/fonts/mona-sans.woff2 through @font-face in globals.css. Noto Sans SC is self-hosted the same way. The brand says no monospace. Code blocks, keyboard hints and similar surfaces need one, so font-mono is a system stack and is used inside those components only.

The scale

Each step is a Tailwind text-* utility that sets the size, the line height and the tracking together. Sizes are Tailwind's own. Line heights are the brand's: open for running text, closing up as the size grows. Tracking is zero up to 18px and turns negative from 20px, reaching the brand's -0.045em at the top of the scale. The line height and tracking of every step are variables in globals.css (--leading-sm, --tracking-2xl and so on), read by Tailwind's own theme keys for each step.

UtilitySizeLine heightTrackingUse
text-xs13px16px (1.23)0Captions, badges, helper text. Raised from Tailwind's 12px: nothing meant to be read goes below 13px.
text-sm14px20px (1.43)0Body text in an application, labels, menus, table cells. What components use most.
text-base16px24px (1.5)0Running text, card and dialog titles, inputs on a phone.
text-lg18px28px (1.56)0Subsection titles.
text-xl20px28px (1.4)-0.01emSection titles.
text-2xl24px32px (1.33)-0.02emPage titles in an application.
text-3xl30px38px (1.27)-0.025emFigures in dashboards, section titles on a landing page.
text-4xl36px44px (1.22)-0.03emDocs and landing page titles.
text-5xl48px56px (1.17)-0.04emMarketing page titles.
text-6xl60px68px (1.13)-0.045emThe largest fixed step.

Steps above text-6xl carry no Silkware metrics and are not used: past 60px a line is a display line, and the editorial layer below has one.

The four steps components use, text-xs, text-sm, text-base and text-lg, keep exactly the metrics Tailwind gives them, measured on 24 component demos, so nothing in components/ui moves. Running text that someone reads at length takes leading-relaxed (1.625, close to the brand's 1.65) on top of text-base.

Roles

Pick the classes by the role of the text, not by the size you want. Headings take font-heading, so a brand that pairs two families gets its heading face everywhere. The card and dialog rows are what the upstream components already render.

RoleElementClasses
Page titleh1font-heading text-2xl font-semibold
Section titleh2font-heading text-xl font-semibold
Subsection titleh3font-heading text-lg font-semibold
Minor headingh4font-heading text-base font-semibold
Card and dialog titleCardTitle, DialogTitleSet by the component: font-heading text-base font-medium
Group headingh5text-sm font-semibold
Small headingh6text-sm font-medium text-muted-foreground
Bodyptext-sm in an application, the size components use
Running textptext-base leading-relaxed, with max-w-prose
Secondary textp, spantext-sm text-muted-foreground
LabelLabel, FieldLabelSet by the component: text-sm font-medium
Captionp, figcaptiontext-xs text-muted-foreground
Codecodefont-mono text-sm, on bg-muted inline
Figuredd, ptext-3xl font-semibold tabular-nums in a dashboard, tabular-nums in tables
Docs or landing page titleh1font-heading text-4xl font-semibold
Landing section titleh2font-heading text-3xl font-semibold sm:text-4xl

There is no overline. The brand bans tracked uppercase labels and puts no label above a headline: a caption under the title says the same thing.

Purchase orders

Bergamo plant. Updated by the ERP at 09:40.

Waiting on a supplier

Open orders
14
Value
€48,210

Ferrolva Acciai

Order PO-2418 waits on a delivery date.

Elena confirms dates by Thursday.

Weights

WeightVariableUtilityUse
600--weight-headingfont-semibold, font-boldHeadings, figures, text links.
500--weight-controlfont-mediumControls, labels, card and dialog titles.
400--weight-textfont-normalRunning text. Set on body.

Weight is its own utility, never part of a size step: a heading is text-xl font-semibold, not a step that carries a weight. The three utilities read the variables, so a client brand that sets its headings at 700 changes --weight-heading once. Nothing in Silkware is set at 700; font-bold resolves to 600.

Heading, 600

Running text, 400. Giulia opens the order and sends it to Luca in purchasing.

Text link, 600

The editorial layer

Three fluid steps from the brand's marketing site stay for landing and marketing pages. They have no standard equivalent: they scale with the width of the window. Do not use them on an application screen.

UtilitySizeLine heightTrackingUse
text-displayclamp(2.9rem, 5.9vw, 5rem) plus 3px, 40px below 640px1.18-0.038emThe one display line a landing page leads with. Two lines at most. Add font-semibold.
text-statementclamp(20px, 2.1vw, 30px)1.32-0.02emA sentence that leads a section, a pulled quote.
text-lead18px, 16px below 640px1.6, 1.65 below 640px0The one paragraph under a marketing title.

Their sizes are the --step-display, --step-statement and --step-lead variables. Like every other step they carry no weight.

text-display

Agents for the whole company

text-statement

An engineer learns how Brevia works, then builds what it needs.

text-lead

Agentic OS runs the agents and the apps your engineer builds, next to the systems you already use.

Chinese text

Mona Sans has no Chinese glyphs. Mark Chinese text with lang="zh" and the theme does the rest, inside that element and its children, for every step of the scale and the editorial layer:

  • the sans and heading families switch to Noto Sans SC;
  • tracking goes to zero, because negative tracking collapses Chinese characters;
  • headings from text-xl to text-4xl take a 1.45 line height, text-5xl, text-6xl and text-display take 1.3, and text-lead takes 1.8.

code, kbd, pre and samp keep the monospace stack.

en

Agents for mid-market companies

An engineer learns how your company works and builds what it needs.

zh

为中型企业打造的智能体

工程师先了解贵公司的运作方式,再构建所需的一切。

Set lang on the smallest element that is Chinese, so English text beside it keeps its own tracking.

Line length

Text runs 45 to 75 characters a line. Use max-w-prose (65 characters) on a paragraph that sits in a wide container.

Giulia opens the order, checks the quantities against the ERP and sends it to Luca in purchasing. Luca confirms the supplier and the order ships on Friday.

Do

Hold running text to a readable measure.

Giulia opens the order, checks the quantities against the ERP and sends it to Luca in purchasing. Luca confirms the supplier and the order ships on Friday.

Don’t

Don’t let a paragraph run the full width of a wide screen.

Purchasing

Four orders are open across three sites.

Do

Use a heading step and the heading weight, and let size carry the hierarchy.

Purchasing

Four orders are open across three sites.

Don’t

Don’t add a heavier weight, tracked capitals or monospace to make text stand out.

  • Do not write arbitrary sizes. The standard steps carry the line height and tracking that make them look right.
  • Do not set a line height or tracking class on a heading. The step already has one.
  • Do not use the editorial steps inside an application.
  • Typography for every role rendered with its code.
  • Theming to change the typeface, the heading weight or the tracking for a client.
  • Colour for which grey to use for notes.