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.
Company Brain
Company Brain
How Bridge reads your ERP
How Bridge reads your ERP
Purchase orders
Waiting on a supplier
Order PO-2418
Giulia opens the order and sends it to Luca.
Giulia opens the order and sends it to Luca.
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
| Utility | Variable | Value | Use |
|---|---|---|---|
font-sans | --font-text | Mona Sans | All text. Set on html, so it is the default. |
font-heading | --font-title | Mona Sans | Headings. Same family; split from text so a brand can pair two. |
font-sc | --typeface-noto-sc | Noto Sans SC | Simplified Chinese. |
font-mono | --typeface-mono | A system monospace stack | Code 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.
| Utility | Size | Line height | Tracking | Use |
|---|---|---|---|---|
text-xs | 13px | 16px (1.23) | 0 | Captions, badges, helper text. Raised from Tailwind's 12px: nothing meant to be read goes below 13px. |
text-sm | 14px | 20px (1.43) | 0 | Body text in an application, labels, menus, table cells. What components use most. |
text-base | 16px | 24px (1.5) | 0 | Running text, card and dialog titles, inputs on a phone. |
text-lg | 18px | 28px (1.56) | 0 | Subsection titles. |
text-xl | 20px | 28px (1.4) | -0.01em | Section titles. |
text-2xl | 24px | 32px (1.33) | -0.02em | Page titles in an application. |
text-3xl | 30px | 38px (1.27) | -0.025em | Figures in dashboards, section titles on a landing page. |
text-4xl | 36px | 44px (1.22) | -0.03em | Docs and landing page titles. |
text-5xl | 48px | 56px (1.17) | -0.04em | Marketing page titles. |
text-6xl | 60px | 68px (1.13) | -0.045em | The 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.
| Role | Element | Classes |
|---|---|---|
| Page title | h1 | font-heading text-2xl font-semibold |
| Section title | h2 | font-heading text-xl font-semibold |
| Subsection title | h3 | font-heading text-lg font-semibold |
| Minor heading | h4 | font-heading text-base font-semibold |
| Card and dialog title | CardTitle, DialogTitle | Set by the component: font-heading text-base font-medium |
| Group heading | h5 | text-sm font-semibold |
| Small heading | h6 | text-sm font-medium text-muted-foreground |
| Body | p | text-sm in an application, the size components use |
| Running text | p | text-base leading-relaxed, with max-w-prose |
| Secondary text | p, span | text-sm text-muted-foreground |
| Label | Label, FieldLabel | Set by the component: text-sm font-medium |
| Caption | p, figcaption | text-xs text-muted-foreground |
| Code | code | font-mono text-sm, on bg-muted inline |
| Figure | dd, p | text-3xl font-semibold tabular-nums in a dashboard, tabular-nums in tables |
| Docs or landing page title | h1 | font-heading text-4xl font-semibold |
| Landing section title | h2 | font-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
| Weight | Variable | Utility | Use |
|---|---|---|---|
| 600 | --weight-heading | font-semibold, font-bold | Headings, figures, text links. |
| 500 | --weight-control | font-medium | Controls, labels, card and dialog titles. |
| 400 | --weight-text | font-normal | Running 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.
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.
| Utility | Size | Line height | Tracking | Use |
|---|---|---|---|---|
text-display | clamp(2.9rem, 5.9vw, 5rem) plus 3px, 40px below 640px | 1.18 | -0.038em | The one display line a landing page leads with. Two lines at most. Add font-semibold. |
text-statement | clamp(20px, 2.1vw, 30px) | 1.32 | -0.02em | A sentence that leads a section, a pulled quote. |
text-lead | 18px, 16px below 640px | 1.6, 1.65 below 640px | 0 | The 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.
Agents for the whole company
An engineer learns how Brevia works, then builds what it needs.
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-xltotext-4xltake a 1.45 line height,text-5xl,text-6xlandtext-displaytake 1.3, andtext-leadtakes 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.
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 let a paragraph run the full width of a wide screen.
Purchasing
Four orders are open across three sites.
Use a heading step and the heading weight, and let size carry the hierarchy.
Purchasing
Four orders are open across three sites.
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.
Related
- 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.