ui-design-system

Generate design system tokens from a brand color into JSON, CSS, or SCSS.

258|26|Updated Dec 9, 2025
One-click install
npx skills add https://github.com/majiayu000/spellbook --skill ui-design-system-majiayu000
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ui-design-system
Source: https://github.com/majiayu000/spellbook/tree/main/skills/ui-design-system
Command: npx skills add https://github.com/majiayu000/spellbook --skill ui-design-system-majiayu000

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Design teams need a central, maintainable source of design tokens, typography, spacing, and component guidelines to ensure consistency across products and handoff to developers.

Core Features & Use Cases

  • Design token generation from brand colors across style presets (modern, classic, playful).
  • Generate comprehensive tokens for color, typography, spacing, radius, shadows, and breakpoints.
  • Produce CSS/SCSS/JSON outputs for engineering and design tooling, plus clear handoff documentation.

Quick Start

Run the token generator with a brand color and a style to output tokens in your preferred format.

Frequently Asked Questions about ui-design-system

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate design tokens from a brand color for my web project?

Generate design tokens from a brand color by running the token generator with your chosen color and a style preset. It outputs color scales, typography, spacing, radius, shadows, and breakpoints to ensure UI consistency across products.

Can I export design tokens as CSS, SCSS, and JSON formats?

Yes, you can export design tokens as CSS, SCSS, and JSON formats. The token generator produces these outputs to support direct integration into engineering environments and design tooling for seamless handoff.

What style presets are available for generating color scales and typography?

The available style presets for generating color scales and typography are modern, classic, and playful. Selecting a preset applies a distinct visual style to your generated design tokens to match your brand identity.

Why do I need a design token generator for UI design systems?

You need a design token generator to create a central, maintainable source of truth for typography, spacing, and component guidelines. This ensures visual consistency across products and simplifies handoff to developers.

Does the design token generator require any external dependencies to run?

No, the design token generator requires no external dependencies to run. It implements a standalone Python-based script that directly processes your brand color and outputs the generated tokens in your preferred format.