Ui-ux-suite design-tokens
Generate or improve a complete design token system covering color, typography, spacing, radius, shadows, motion
install
source · Clone the upstream repo
git clone https://github.com/Aboudjem/ui-ux-suite
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/Aboudjem/ui-ux-suite "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/design-tokens" ~/.claude/skills/aboudjem-ui-ux-suite-design-tokens && rm -rf "$T"
manifest:
skills/design-tokens/SKILL.mdsource content
/design-tokens: Generate Design Token System
Generate a complete design token system for the project.
Usage
/design-tokens # Auto-detect brand color, generate full system /design-tokens #3b82f6 # Generate from specific brand color /design-tokens --format tailwind # Output as Tailwind config /design-tokens --format css-vars # Output as CSS custom properties /design-tokens --format json # Output as JSON tokens
Flow
- Read existing tokens/theme (if any)
- Determine brand color (from existing or user input)
- Generate complete token system with
:uiux_generate_tokens- Color: primary, secondary, neutral (11 steps), semantic (success/error/warning/info), surfaces (light + dark)
- Typography: font, scale (8 steps), line heights, weights
- Spacing: 4px base scale (16 steps)
- Border radius: 4 steps (sm, md, lg, full)
- Shadows: 3 levels (sm, md, lg)
- Motion: duration + easing tokens
- Output in requested format
Output Formats
- css-vars:
with dark mode media query:root { --color-primary: ...; } - tailwind:
theme extensiontailwind.config.js - json: W3C Design Tokens Community Group format
- js: JavaScript module export