Design Tokens

🌐Community
by dylanfeltus · vlatest · Repository

Generates design tokens in JSON format based on provided brand guidelines and style specifications from dylanfeltus.

Install on your platform

We auto-selected Claude Code based on this skill’s supported platforms.

1

Run in terminal (recommended)

terminal
claude mcp add dylanfeltus-design-tokens npx -- -y @trustedskills/dylanfeltus-design-tokens
2

Or manually add to ~/.claude/settings.json

~/.claude/settings.json
{
  "mcpServers": {
    "dylanfeltus-design-tokens": {
      "command": "npx",
      "args": [
        "-y",
        "@trustedskills/dylanfeltus-design-tokens"
      ]
    }
  }
}

Requires Claude Code (claude CLI). Run claude --version to verify your install.

About This Skill

What it does

This skill generates design tokens, including type scales, color palettes, spacing systems, and dark mode derivations, using mathematical formulas rather than subjective guesswork. It ensures WCAG contrast checking for accessibility, creates systematic spacing grids, and produces production-ready CSS custom properties or Tailwind configurations in JSON format. The goal is to create a consistent and accessible design system based on defined ratios and principles.

When to use it

  • Setting up a new project's design system.
  • Requesting type scales, color palettes, or spacing systems.
  • Needing WCAG-compliant color combinations.
  • Generating dark mode colors from an existing light palette.
  • Building a Tailwind configuration or CSS custom properties.
  • When you ask for "design tokens" or "theme setup".

Key capabilities

  • Generates type scales based on defined ratios (Minor Second, Major Second, Minor Third, etc.).
  • Creates color palettes with WCAG AA contrast checking.
  • Derives dark mode colors from light palettes.
  • Produces systematic spacing grids.
  • Outputs design tokens as CSS custom properties, Tailwind config, or JSON tokens.

Example prompts

  • "Generate a type scale using a Major Second ratio."
  • "Create a color palette with WCAG AA contrast for a primary brand color of #007bff."
  • "Give me a spacing system based on a base unit of 8px and a Minor Third ratio."

Tips & gotchas

  • The skill relies on mathematical formulas and ratios; understand these principles to effectively use it.
  • Output is designed for production environments, so consider how the generated tokens will be integrated into your project's build process.
  • Ratios influence the visual hierarchy; choose them carefully based on desired aesthetic.

Tags

🛡️

TrustedSkills Verification

Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.

Security Audits

Gen Agent Trust HubPass
SocketPass
SnykPass

Details

Version
vlatest
License
Author
dylanfeltus
Installs
67

🌐 Community

Passed automated security scans.