Text Spacing System
You'll learn how to create consistent, reusable spacing values for letter-spacing, word-spacing, and paragraph margins that harmonize with your type scale.
When you've defined a solid type scale (font sizes), your typography system still needs breathing room. A text spacing system creates standardized values for the gaps between letters, words, and paragraphs—just like your type scale standardized the sizes of text itself.
Why Spacing Matters
Think of text spacing like the white space in a well-designed room. Too cramped, and everything feels claustrophobic. Too loose, and relationships break down. Consistent spacing creates visual harmony and improves readability.
The Three Core Spacing Properties
letter-spacing adjusts the space between characters. Typically measured in em units (relative to font size), common values range from -0.05em (tight) to 0.1em (loose). Headings often use tighter spacing; all-caps text benefits from slightly looser spacing.
word-spacing controls the gap between words. Usually subtle—0.05em to 0.1em—or left at default. Overuse can make text feel disjointed.
Paragraph margins (margin-top, margin-bottom) create vertical rhythm. A common pattern: use your type scale or line-height as the base unit. For example, if body text uses 1.5em line height, paragraph margins might be 1.5em or 3em (multiples maintain rhythm).
Building the System
Define spacing values as custom properties, mirroring your type scale approach:
:root {
--spacing-tight: -0.05em;
--spacing-normal: 0;
--spacing-relaxed: 0.05em;
--spacing-loose: 0.1em;
--paragraph-spacing: 1.5em;
}
Key Takeaway: A text spacing system uses consistent, scale-based values for letter-spacing, word-spacing, and paragraph margins to create visual harmony and improve readability across your typography.