Claude Skills · UI Design

Design tokens

Define design tokens (colour, type, spacing, radius, shadow, motion) and output them as JSON and CSS variables. Use when starting or auditing a design system.

Install this skill

curl -fsSL https://uxmate.co.in/skill-files/install.sh | bash -s -- uxm-design-tokens
Download ZIP

Or unzip into ~/.claude/skills/. Then ask Claude Code to do the task, or call /uxm-design-tokens.

What is inside

---
name: uxm-design-tokens
description: Define design tokens (colour, type, spacing, radius, shadow, motion) and output them as JSON and CSS variables. Use when starting or auditing a design system.
---

# Design tokens

1. Ask for brand colours, platform and any existing tokens.
2. Build **primitive** tokens (raw values) and **semantic** tokens (purpose: color.text.primary, color.bg.surface, color.border.subtle, color.action.primary).
3. Cover: colour (with light/dark), typography scale, spacing (4/8 base), radius, elevation, z-index, motion durations/easings, breakpoints.
4. Check contrast of text/background pairs against WCAG AA.
5. Output in two formats: a JSON token file (W3C design token style) and CSS custom properties.

Add naming rules and a short usage guide. Flag duplicates and one-off values found in the user's existing styles.

More UI Design skills

  • Colour palette · Generate an accessible colour palette with scales, semantic colours and contrast results.
  • Type scale · Create a typographic scale with font pairing, sizes, line heights and responsive rules.
  • Component spec · Write a complete UI component specification with anatomy, variants, states, behaviour and accessibility.
  • Dark mode · Plan and review a dark mode theme: surfaces, elevation, colour mapping, contrast and images.
1

Player card

Intern

0 / 60 XP

0
day streak
0
lessons done
0
prompts used
0
total XP

Daily quests 0/3

Badges

Progress is saved in this browser. Sign in with Google to keep it on every device.

⏰ Last Chance to Join

Level Up Your Design Skills

Join 10,000+ designers getting weekly design tips, exclusive AI prompts, and video tutorials directly in your inbox.

Free tutorials & design tips
Exclusive AI prompts & workflows
No spam, unsubscribe anytime

Join 10,000+ Designers

Enter your email to get instant access to design tips, AI prompts & exclusive tutorials.

✓

You're All Set!

Check your email for instant access to our design tips, AI prompts, and exclusive tutorials. Welcome to the community! 🎉