- Home
- Skills
- Frontend & Web Apps
- Design Token System Generator
Design Token System Generator
Convert brand colors into production-ready CSS, Tailwind configs, and W3C design tokens with dark mode support.
Free
Works with the AI Agents you already use
Design Token System Generator
Example session with this skill installed
Generate a token system for brand "Volt" using primary color #6366F1. Include a typography scale and dark mode. Output to /styles/tokens.
- Read your context and instructions
- Compiled the design token system
- Generated the UI component
Generated 3 files in /styles/tokens/:
- tokens.css: 11-stop OKLCH palette, semantic aliases (primary-hover, surface, etc.), and .dark mode scope.
- tailwind.config.js: Full theme extension mapping to CSS variables.
- tokens.json: W3C-standard JSON for design tool interoperability.
WCAG AA check: Passed.
tokens.css
TSX · React component
Example file from a real run - the skill writes it into your workspace.
Connects securely to your tools. The creator never sees your data.
About this skill
The problem
Manually building a design system foundation is repetitive and error-prone. Developers often struggle to extract consistent tokens from legacy CSS or translate brand colors into accessible, multi-mode palettes.
What it does
- Generates 11-stop OKLCH color palettes from as little as one hex code.
- Creates WCAG AA compliant dark mode scopes automatically.
- Produces production-ready CSS variables, Tailwind configs (v3/v4), and W3C-standard JSON.
- Scans existing projects to map hardcoded values to a semantic token system.
- Calculates typography scales, spacing units, and border-radius systems based on configurable ratios.
Frameworks & tools
Tailwind CSS v3 and v4, Style Dictionary, Figma Tokens, and any project using CSS Custom Properties.
Why this beats prompting it yourself
Standard prompts often fail at complex color math like OKLCH lightness anchoring or WCAG contrast validation. This skill uses a multi-step normalization process to ensure every generated token is technically valid and accessible, preventing the "hallucinated color" problem common in basic chats.
Use cases
- Bootstrapping a new frontend project from a single brand color.
- Refactoring a legacy CSS codebase into a modern, themeable design system.
- Generating a dark mode theme for an existing application.
- Standardizing design handoffs using the W3C DTCG JSON format.
Known limitations
Does not support CSS color functions like color-mix or relative references to Tailwind classes as input values.
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Frontend & Web Apps.
Requires at least one hex brand color; UI agents (Cursor, Copilot Chat) may need multi-turn writes for 3 output files; palette quality depends on input color (very light/dark primaries shift scale); Tailwind version detection is heuristic; sRGB gamut clipping for out-of-range colors
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
6 uses
Times used to date
Free to use
No account required to browse
Trust & safety
Security scan
Security scan passed 19 days ago
- Free with an Agensi account
Permissions
File Scopes