Typography
The families
Section titled “The families”| Role | Token | Xendiz | WaardeX |
|---|---|---|---|
| Display: headings, KPI numbers | --xg-font-display |
Space Grotesk 500, 700 | Lexend Deca 600 |
| Body: UI, tables, forms, reading | --xg-font-body |
Inter 400, 500, 600 | Inter 400, 500, 600 |
| Code: IDs, markup, logs | --xg-font-code |
system monospace | system monospace |
All three are under the SIL Open Font License 1.1. This site and the kit self-host them as variable WOFF2 (from Fontsource); the brand pack includes the files and licenses. For desktop apps install the static fonts from Google Fonts. See Brand → Typography.
The scale
Section titled “The scale”The admin UI runs at 14 px (md); reading text at 16 px (base). Sizes are fixed pixels in the product: a dashboard must not reflow when the browser zooms its root font differently.
size.2xs · 11pxFill rate rose 3.1 points in November
size.xs · 12pxFill rate rose 3.1 points in November
size.sm · 13pxFill rate rose 3.1 points in November
size.md · 14pxFill rate rose 3.1 points in November
size.base · 16pxFill rate rose 3.1 points in November
size.lg · 18pxFill rate rose 3.1 points in November
size.xl · 20pxFill rate rose 3.1 points in November
size.2xl · 24pxFill rate rose 3.1 points in November
size.3xl · 30pxFill rate rose 3.1 points in November
size.4xl · 36pxFill rate rose 3.1 points in November
size.5xl · 48pxFill rate rose 3.1 points in November
size.6xl · 64pxFill rate rose 3.1 points in November
| Use | Size | Weight | Line height | Family |
|---|---|---|---|---|
| Page title (H1) | 4xl 36 / 2xl 24 in the shell |
700 | tight 1.15 | display |
| Section title (H2) | 2xl 24 |
600 | snug 1.3 | display |
| Card title (H3) | lg 18 |
600 | snug 1.3 | display |
| KPI value | 3xl 30 |
700 | 1.1 | display, tabular |
| Body and table cells | md 14 |
400 | normal 1.5 | body |
| Labels | sm 13 |
600 | 1.4 | body |
| Hints, meta, badges | xs 12 |
400–600 | 1.4 | body |
| Eyebrow | xs 12, caps, tracking caps |
600 | 1.2 | body |
| Chart ticks | 2xs 11 |
400 | 1.2 | body, tabular |
- Display type for headings and big numbers only. Never for paragraphs, labels or buttons.
- Numbers that are compared (tables, KPI cards, axes) use tabular figures:
font-variant-numeric: tabular-nums, or the.xg-numclass. - Sentence case everywhere. Capitals only for the eyebrow style, which is set in CSS, not typed.
- Headings use a slight negative tracking (
--xg-font-tracking-tight, −2%); body text never does. - A line of reading text stays under about 75 characters.