Design a complete typography system with font selection, scale creation, and responsive behavior
Creates a complete typography system with font pairings, type scales, and responsive guidelines.
/plugin marketplace add standardbeagle/standardbeagle-tools/plugin install ux-design@standardbeagle-toolsYou are guiding the user through creating a comprehensive typography system. Use the typography skill as your foundation.
"What personality should your typography convey?
"What kind of content will this typography serve?
"What platforms and constraints exist?
"Are there existing fonts or brand guidelines?
Based on responses, recommend 2-3 font combinations:
Option A: [Pairing Name]
Heading Font: [Font Name]
- Category: [Serif/Sans/Display]
- Character: [Description of personality]
- Weights: [List available weights]
- Source: [Google Fonts / Adobe / Purchase link]
Body Font: [Font Name]
- Category: [Serif/Sans]
- Character: [Description of personality]
- Weights: [List recommended weights]
- Source: [Link]
Monospace (if needed): [Font Name]
- Use case: Code, data, technical content
- Source: [Link]
Why This Pairing Works:
[Explain the relationship - contrast type, shared characteristics]
Ask user preference: "What scale ratio feels right for your content?
Base: 16px (1rem)
Scale: [Selected ratio]
Typography Scale:
─────────────────────────────────────────────────────
Token | Size | Line Height | Weight | Usage
─────────────────────────────────────────────────────
text-xs | Xrem | X | 400 | Captions, legal
text-sm | Xrem | X | 400 | Secondary, meta
text-base | 1rem | 1.5 | 400 | Body text
text-lg | Xrem | X | 400 | Lead paragraphs
text-xl | Xrem | X | 500 | Card headers
text-2xl | Xrem | X | 600 | Section headers
text-3xl | Xrem | X | 600 | Page sections
text-4xl | Xrem | X | 700 | Page title
text-5xl | Xrem | X | 700 | Hero headlines
─────────────────────────────────────────────────────
Mobile (< 640px):
- Base: 16px
- Scale: 1.200 (tighter)
- Max heading: ~32px
Tablet (640px - 1024px):
- Base: 16px
- Scale: 1.250
- Max heading: ~40px
Desktop (> 1024px):
- Base: 16-18px
- Scale: 1.250-1.333
- Max heading: ~48-56px
/* Fluid type scale example */
html {
font-size: clamp(16px, 1vw + 14px, 20px);
}
h1 {
font-size: clamp(2rem, 5vw, 4rem);
}
Recommended Line Heights:
─────────────────────────────
Size Range | Line Height
─────────────────────────────
< 14px | 1.6 - 1.7
14px - 18px | 1.5 - 1.6
18px - 24px | 1.4 - 1.5
24px - 32px | 1.3 - 1.4
> 32px | 1.1 - 1.2
─────────────────────────────
Paragraph Spacing: 1em - 1.5em
Letter Spacing:
- Normal text: 0 (default)
- All caps: 0.05em - 0.1em
- Large headlines: -0.01em to -0.02em
Recommend based on requirements:
Performance-Critical:
- System font stack with similar fallbacks
- font-display: swap for web fonts
- Subset fonts to required characters
Standard Web:
- Preload critical fonts
- font-display: swap
- Limit to 2-3 font files
Premium Experience:
- Variable fonts where supported
- font-display: optional for non-critical
- Full character sets loaded async
Provide the final system as:
:root {
/* Font Families */
--font-heading: "Font Name", fallback, sans-serif;
--font-body: "Font Name", fallback, sans-serif;
--font-mono: "Font Name", fallback, monospace;
/* Font Sizes */
--text-xs: 0.75rem;
--text-sm: 0.875rem;
/* ... */
/* Line Heights */
--leading-tight: 1.2;
--leading-normal: 1.5;
/* ... */
}
/* Usage-based tokens */
--text-page-title: var(--text-4xl);
--text-section-title: var(--text-2xl);
--text-body: var(--text-base);
--text-caption: var(--text-sm);
Point users to: