New advertisers: 50% off your first month with code FIRSTMONTHSee slots

Generates a philosophy-driven design tokens file with light and dark palettes, spacing, type, and motion scales.

skills.sh installs
6.2K
GitHub stars
613
last updated
Aug 21, 2026
View on GitHub

What it does

  • Covers CSS variables or Tailwind config, chosen by the project's stack and existing token setup
  • Includes semantic color, spacing, typography, layout, motion, breakpoint, and dark mode token categories
  • Scans for existing tokens first and extends them, filling gaps instead of replacing working definitions
  • Designed for starting a new project or establishing a visual system before building any components

Install

$ npx -y skills add julianoczkowski/designer-skills --skill design-tokens -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

This skill generates the foundational design tokens for a project. Run this after the design brief and before building any components. Every component built after this references these tokens instead of hardcoding values.

Example prompts

  • "Set up design tokens for this project"
  • "Generate a token system based on Dieter Rams"
  • "I need a spacing scale and color palette before I start building"
  • "Create tokens that match our brief"

Process

  1. Check what already exists. Before generating anything, scan the codebase for:
    • CSS variable definitions (:root, [data-theme], custom property files)
    • Tailwind config (tailwind.config.js, tailwind.config.ts) and any theme extensions
    • Theme provider files (Material UI createTheme, Chakra extendTheme, shadcn globals.css)
    • Design token JSON files (Style Dictionary format, Figma token exports)
    • Any tokens.css, variables.css, theme.css, or similarly named files
    • package.json for UI framework dependencies (tailwindcss, @mui/material, @chakra-ui/react, etc.)

Details

Repository
github.com/julianoczkowski/designer-skills
Categories
Design & UI/UX, Frontend & UI Code
First seen
May 16, 2026

More from julianoczkowski/designer-skills

All 8

Similar to Design Tokens

More Design & UI/UX