Skip to content
Back to skills

Design Tokens

ASecurity

Generate or improve a complete design token system covering color, typography, spacing, radius, shadows, motion

  • 7 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added May 26, 2026
developmentjavascriptjava

Security analysis

A100/100

Scanned May 27, 2026

npx -y skills add Aboudjem/ui-ux-suite --skill design-tokens --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Design Tokens?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Design Tokens
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/aboudjem-design-tokens/badge)](https://www.skillsdirectory.com/skills/aboudjem-design-tokens)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: design-tokens
description: Generate or improve a complete design token system covering color, typography, spacing, radius, shadows, motion
trigger: "design tokens|generate tokens|token system"
---

# /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

1. Read existing tokens/theme (if any)
2. Determine brand color (from existing or user input)
3. 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
4. Output in requested format

## Output Formats

- **css-vars**: `:root { --color-primary: ...; }` with dark mode media query
- **tailwind**: `tailwind.config.js` theme extension
- **json**: W3C Design Tokens Community Group format
- **js**: JavaScript module export

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.