Skip to content
design system
Thème d’affichage, actuellement Auto

Two families · two weights · seven sizes

Typography

Atkinson Hyperlegible for everything a person reads, JetBrains Mono for what a machine wrote. Both ship with the package as woff2 and are served from the same origin as the page.

Families

Il1 O0 rn m, agdqp

--rl-font-sans

Drawn by the Braille Institute for low vision: capital I, lowercase l and the digit 1 are told apart, as are O and 0, r n and m. The system fallback is explicit so a surface that cannot load the font still reads.

'Atkinson Hyperlegible', system-ui, -apple-system, 'Segoe UI', sans-serif

Il1 O0 rn m, agdqp

--rl-font-mono

Code fragments, selectors, the abbreviation of a status, a figure that must align.

'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace

Weights

Two, because the font ships two: --rl-weight-regular is 400 and --rl-weight-bold is 700. The product used to write 600 and 750, which every browser snapped to 700; the scale says what is rendered.

Regular, for running text.

Bold, for what carries.

The scale

The type scale, ratio 1.25, anchored at 16px.

  • --rl-text-xs 0.75rem Les 106 critères, du relevé au livrable.
  • --rl-text-sm 0.875rem Les 106 critères, du relevé au livrable.
  • --rl-text-base 1rem Les 106 critères, du relevé au livrable.
  • --rl-text-lg 1.125rem Les 106 critères, du relevé au livrable.
  • --rl-text-xl 1.375rem Les 106 critères, du relevé au livrable.
  • --rl-text-2xl 1.75rem Les 106 critères, du relevé au livrable.
  • --rl-text-3xl 2.25rem Les 106 critères, du relevé au livrable.
  • --rl-display clamp(2rem, 5.4vw, 3.3rem) Les 106 critères.

The display heading carries the personality: strong weight, tight tracking. Body text stays very readable.

Line heights, trackings, measures

Line heights. The large sizes carry their own so a heading breathes like a heading, not like a paragraph. Letter spacing. Uppercase labels used four different values across the surfaces; these are the ones that remain. Line lengths, in characters.

Line heights, letter spacings and line lengths
TokenValueWhere
--rl-leading-tight1.13xl headings.
--rl-leading-snug1.152xl headings.
--rl-leading-heading1.2xl headings.
--rl-leading-body1.6
--rl-leading-row1.4remA table row. Line height and min height at the same value, or two neighbouring rows land half a pixel apart.
--rl-tracking-tight-0.02em
--rl-tracking-label0.08emUppercase table headers in a report.
--rl-tracking-stat0.09emThe label under a figure.
--rl-tracking-eyebrow0.16emThe small line above a title.
--rl-measure-prose58ch
--rl-measure-wide70ch
--rl-measure-stat34ch