1 minute read · design
Good typography is 95% of good design. Most developers skip it.
Establish a Type Scale
:root {
--text-xs: 0.75rem; /* 12px */
--text-sm: 0.875rem; /* 14px */
--text-base: 1rem; /* 16px */
--text-lg: 1.125rem; /* 18px */
--text-xl: 1.25rem; /* 20px */
--text-2xl: 1.5rem; /* 24px */
--text-4xl: 2.25rem; /* 36px */
--text-7xl: 4.5rem; /* 72px */
}Proven Pairings
- **Inter + Inter** — mono-pairing, clean and modern
- **Cal Sans + Inter** — display heading + readable body
- **Fraunces + DM Sans** — editorial, premium feel
Line Height
Body text: 1.6–1.75. Headings: 1.1–1.2.
Conclusion
Pick a scale. Apply it consistently. Your UI will look 10× more professional overnight.