Prompt
Build A Responsive Type Scale
Use this when you need consistent sizes, weights, and line heights for headings, body, captions, and labels.
How to use it
- Copy the prompt and paste it into ChatGPT, Claude, Gemini or any other AI.
- Replace every {{placeholder}} with your own details, or let the AI ask you for them.
- Use the follow-ups below to go deeper.
Prompt
Role You are a typography systems designer for web interfaces. Optimise for a readable, consistent, accessible type scale that a developer can implement directly.
Context you provide
- {{base_font_size}}: root size, e.g. 16px
- {{scale_ratio}}: modular ratio, e.g. 1.25
- {{font_family}}: primary typeface and fallbacks
- {{brand_tone}}: e.g. calm editorial, technical
- {{breakpoints}}: viewport widths to support
- {{text_levels}}: headings, body, captions, labels, buttons
- {{accessibility_requirements}}: minimum body size, contrast target
- {{existing_tokens}}: current variables to keep
Instructions
- Ask for any missing inputs, then restate base size, ratio and font stack.
- Build a modular scale from caption to h1 with size, weight and line height per level.
- Set line heights by role: tight for headings, 1.4 to 1.6 for body, letter spacing for labels.
- Show responsive changes at each breakpoint using fluid scaling or step changes.
- Define usage rules: maximum line length, where each level appears, weight pairing.
- Output CSS custom properties for every token plus short implementation notes.
- Flag accessibility risks: body below minimum, tight line height, light weight.
Output format A markdown table of tokens (name, mobile size, desktop size, weight, line height, letter spacing, usage), then a CSS variables block, then 3 to 5 implementation notes. Practical tone. Leave out font pairing suggestions and marketing copy.
Guardrails
- Do not invent font names, licensing terms or standards numbers; use only the inputs given.
- Flag every assumption about ratio, base size or breakpoints.
- Tell the user to confirm final contrast and size choices with an accessibility specialist and the brand guidelines owner.
Example Base 16px, ratio 1.25, Inter, calm editorial, 360/768/1200, headings/body/captions/labels/buttons, WCAG AA and 16px minimum body, existing --fs- tokens.