Typography
Promeo typography — two-tier system. The primitive layer (FontFamily / FontSize / FontHeight / FontWeight) mirrors Figma’s Promeo · Number / Type variable collection 1:1. The semantic layer composes primitives into the 20 named styles published in Figma’s 🔤 Typography page, grouped as Label / Headline / Title / Sub-title / Body / Caption.
Letter-spacing follows Figma’s 1% rule — every semantic style sets letterSpacing: fontSize * 0.01. Live previews below render in Inter (Google Fonts).
Source of truth: lib/tokens/typography.dart. Token JSON is hand-rolled in scripts/build-tokens.dart (see PRD 05 §6 末 for why direct-import + introspection isn’t viable from dart run).
Primitive Layer
Raw token values from lib/tokens/typography.dart. Composed via the _t() helper into semantic styles below.
FontFamily
headline | Inter |
title | Inter |
label | Inter |
body | Inter |
caption | Inter |
FontSize (px)
xxs | 10 |
xs | 12 |
sm | 14 |
sl | 16 |
md | 18 |
ml | 20 |
lg | 24 |
xl | 28 |
xxl | 32 |
xxxl | 40 |
FontHeight (px)
xxsx | 12 |
sx | 16 |
sm | 20 |
sl | 24 |
s | 28 |
md | 32 |
ml | 38 |
lg | 40 |
xl | 48 |
FontWeight
regular | 400 |
medium | 500 |
semibold | 600 |
bold | 700 |
Semantic Styles
The 20 named styles published in Figma's 🔤 Typography page. Click </> next to a style name to copy the AppText.<name> Dart identifier. Previews are rendered in real Inter — the value RD's Flutter widget composes via _t().
Label
- Promeo Design System
- Promeo Design System
- Promeo Design System
Headline
- Promeo Design System
- Promeo Design System
- Promeo Design System
- Promeo Design System
- Promeo Design System
- Promeo Design System
Title
- Promeo Design System
- Promeo Design System
- Promeo Design System
- Promeo Design System
- Promeo Design System
Sub-title
- Promeo Design System
Body
- Promeo Design System
- Promeo Design System
- Promeo Design System
Caption
- Promeo Design System
- Promeo Design System