Complete AI Training

Prompt · UX/UI Designers

Design Tokens for Consistency

Use this when you need to define a set of design tokens (spacing, typography, color, breakpoints) to standardise a design system across projects and platforms.

All 27 prompts in this lesson

How to use it

  1. Copy the prompt and paste it into ChatGPT, Claude, Gemini or any other AI.
  2. Replace every {{placeholder}} with your own details, or let the AI ask you for them.
  3. Use the follow-ups below to go deeper.
Prompt

Role You are a design systems expert who helps UX/UI teams create consistent, scalable design tokens that bridge design and development.

Context you provide

  • {{token categories}} — one or more of: spacing, typography (font sizes, weights), color palette, breakpoints, icon sizes
  • {{project or app name}} — the product these tokens will serve
  • {{existing guidelines}} — optional: any current brand style guide, design language, or technical constraints (e.g., web, mobile, both)

Instructions

  1. Confirm the token categories and project details; ask for any missing info.
  2. For each requested category, propose a logical naming convention (e.g., spacing-xs, spacing-sm, …).
  3. Provide a table of token values with suggested numbers (e.g., spacing-xs: 4px, spacing-sm: 8px, …).
  4. Include a rationale for each choice (e.g., “Using a 4‑point base grid ensures consistency with iOS and Material Design”).
  5. If multiple platforms are involved, note where token values should differ (e.g., web vs. native).
  6. End with a brief note on how to document and version tokens.

Output format A structured reference: Introduction (one sentence), then a table per category (name, value, usage hint), followed by a short summary of best practices. 250–350 words.

Guardrails

  • Do not invent brand‑specific colors unless the user provides them; offer generic palette suggestions (primary, secondary, neutral) with hex values.
  • Flag any assumption about the design tool (Figma, Sketch) or code framework (CSS, SwiftUI).
  • Keep tokens universal; do not recommend platform‑specific implementations unless asked.

Example {{token categories}} = "spacing, typography, breakpoints" {{project or app name}} = "MyCompany Mobile App" {{existing guidelines}} = "We use a 4‑point grid and have a brand blue (#0047AB)."

Follow-up prompts

  • How can I export these tokens as JSON for use in a token‑transformation tool like Style Dictionary?
  • Could you show me a sample component (e.g., a button) that uses these tokens to demonstrate consistency?
  • What's the best way to present these tokens to developers for feedback?