Skip to main content
Gelium UI
Blog View source 0.6.5 Theme Gallery
Recipe

Native behavior · Linear · Gelium defaults · Native baseline

Appearance
Menu

Typography

Gelium typography is a token contract, not a page-specific scale. These server-rendered specimens read the active theme (theme-material or theme-basecoat) and the active light/dark class. Use the same role for the same job; do not tune a heading with a new font or arbitrary pixel value.

Scale and measure

The decomposed tokens make size, weight, line-height, letter-spacing, and family inspectable. Body prose stays at a readable 65ch measure; Gelium adapts the roughly 68ch USWDS and 30em GOV.UK guidance to one stable docs contract.[1][2]

display-lg · --ui-type-display-lg-size · --ui-type-display-lg-weight · --ui-type-display-lg-line-height

Design with intent

headline-sm · --ui-type-headline-sm-size · --ui-type-headline-sm-weight · --ui-type-headline-sm-line-height

A clear hierarchy helps people scan

body-md · --ui-type-body-md-size · --ui-type-body-md-weight · --ui-type-body-md-line-height · measure 65ch

Gelium keeps body copy calm and legible. Put one idea in each paragraph, keep the line length bounded, and let the theme provide the family.

label-md · --ui-type-label-md-size · --ui-type-label-md-weight · --ui-type-label-md-line-height

LABEL · STATUS · SUPPORTING METADATA

Rules

  • TYPE-ROLE: choose display, headline, title, body, or label by content job, then use the matching --ui-type-* alias.
  • TYPE-MEASURE: keep reading content near 65ch; let controls and data tables use their own layout measure.
  • TYPE-RHYTHM: preserve the token line-height; do not compress body text to fit a card.
  • TYPE-THEME: theme overrides the decomposed values; consumers keep the alias so Material and Basecoat stay interchangeable.

Sources and Gelium adaptation

See also: Tokens, Themes, Accessibility.