Skip to content
Design System
GitHub

Typography

Nine sizes, three weights, one family. Every line height is a multiple of 4, so text sits on the same grid as spacing and components. A size off the scale produces nothing and CI reports it.

Typeface

Geist for Latin, with a Traditional Chinese fallback. Fonts ship with the product; they are never loaded from a CDN.

Aa 7F3A

ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz 0123456789 · %/°→

font-family: "Geist", "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", system-ui, sans-serif

Scale

Size / line height in px. Inputs use body (16) so iOS does not zoom on focus.

Herotext-5xl · 48/52
Patrol dog 7F3A is back on the dock
Hero, phonetext-4xl · 36/40
Patrol dog 7F3A is back on the dock
Displaytext-3xl · 28/36
Patrol dog 7F3A is back on the dock
Figuretext-2xl · 24/32
Patrol dog 7F3A is back on the dock
Titletext-xl · 20/28
Patrol dog 7F3A is back on the dock
Headingtext-lg · 18/24
Patrol dog 7F3A is back on the dock
Bodytext-base · 16/24
Patrol dog 7F3A is back on the dock
Labeltext-sm · 14/20
Patrol dog 7F3A is back on the dock
Captiontext-xs · 12/16
Patrol dog 7F3A is back on the dock

Rhythm

Line heights land on the 4 px grid, so a block of text ends exactly where spacing expects it.

Night patrol finished

41 minutes, 2.3 km, two events. The robot returned to the dock at 02:41 and is charging. Footage is uploading over Wi-Fi.

Weight

Three weights. Hierarchy comes from size and weight together, never from colour alone.

Aa400 RegularBody, secondary text
Aa500 MediumLabels, buttons, list titles, selected
Aa700 BoldTitles, figures, the stop

Numbers

Figures are tabular everywhere, so telemetry does not jitter as values change.

1.18 m/s11.42 m/s0.07 m/s
Do. Keep the default tabular-nums so digits line up and do not shift.
1.18 m/s11.42 m/s0.07 m/s
Don't. Switch to proportional figures for live values.

Tokens

  • Hero
    Utility
    text-5xl
    Size
    48 px
    Line height
    52 px
    Use
    Marketing page headlines only
  • Hero, phone
    Utility
    text-4xl
    Size
    36 px
    Line height
    40 px
    Use
    Marketing headlines on phones
  • Display
    Utility
    text-3xl
    Size
    28 px
    Line height
    36 px
    Use
    Page titles
  • Figure
    Utility
    text-2xl
    Size
    24 px
    Line height
    32 px
    Use
    The number that leads a card or chart
  • Title
    Utility
    text-xl
    Size
    20 px
    Line height
    28 px
    Use
    Section and sheet titles
  • Heading
    Utility
    text-lg
    Size
    18 px
    Line height
    24 px
    Use
    Card titles, emergency stop label
  • Body
    Utility
    text-base
    Size
    16 px
    Line height
    24 px
    Use
    Paragraphs, inputs
  • Label
    Utility
    text-sm
    Size
    14 px
    Line height
    20 px
    Use
    Buttons, list rows, labels
  • Caption
    Utility
    text-xs
    Size
    12 px
    Line height
    16 px
    Use
    Hints, metadata, tags