Typography
Inter for all UI and body copy. Sora for display and marketing. JetBrains Mono for code blocks. All sizes, weights, and line heights are tokenised.
Font Families
| Token | Stack | Use |
|---|---|---|
| --font-primary | 'Inter', system-ui, sans-serif | All UI, body, labels, buttons |
| --font-display | 'Sora', 'Inter', system-ui, sans-serif | Marketing, hero headings |
| --font-mono | 'JetBrains Mono', 'Courier New', monospace | Code blocks, token display |
Font Sizes
All size tokens map directly to a pixel value. Use --fs-* in component CSS — never hardcode pixel values.
| Token | Value | Preview |
|---|---|---|
| --fs-10 | 10px | The quick brown fox |
| --fs-12 | 12px | The quick brown fox |
| --fs-14 | 14px | The quick brown fox |
| --fs-16 | 16px | The quick brown fox |
| --fs-20 | 20px | The quick brown fox |
| --fs-24 | 24px | The quick brown fox |
| --fs-32 | 32px | The quick brown fox |
| --fs-40 | 40px | The quick brown fox |
| --fs-48 | 48px | The quick brown fox |
| --fs-56 | 56px | The quick brown fox |
| --fs-64 | 64px | The quick brown fox |
Type Scale — Desktop (1440px)
Heading 1The quick brown fox
Heading 2The quick brown fox
Heading 3The quick brown fox jumps
Heading 4The quick brown fox jumps over
Heading 5The quick brown fox jumps over the lazy dog
Heading 6The quick brown fox jumps over the lazy dog
Body 1The quick brown fox jumps over the lazy dog
Body 2The quick brown fox jumps over the lazy dog
Body 3The quick brown fox jumps over the lazy dog
Caption 1The quick brown fox jumps over the lazy dog
Caption 2The quick brown fox jumps over the lazy dog
Font Weights
| Token | Value | Sample |
|---|---|---|
| --fw-extralight | 200 | DigiLawyer Design System |
| --fw-light | 300 | DigiLawyer Design System |
| --fw-regular | 400 | DigiLawyer Design System |
| --fw-medium | 500 | DigiLawyer Design System |
| --fw-semibold | 600 | DigiLawyer Design System |
| --fw-bold | 700 | DigiLawyer Design System |
| --fw-extrabold | 800 | DigiLawyer Design System |
| --fw-black | 900 | DigiLawyer Design System |
Line Heights
| Token | Value |
|---|---|
| --lh-12 | 12px |
| --lh-16 | 16px |
| --lh-20 | 20px |
| --lh-24 | 24px |
| --lh-32 | 32px |
| --lh-40 | 40px |
| --lh-48 | 48px |
| --lh-56 | 56px |
| --lh-64 | 64px |
| --lh-72 | 72px |