design-tokens

Read and write DTCG-format tokens.json to emit CSS, Tailwind, and Mantine outputs.

23|7|Updated Feb 14, 2026
One-click install
npx skills add https://github.com/kinncj/MAPLE --skill design-tokens-kinncj
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: design-tokens
Source: https://github.com/kinncj/MAPLE/tree/main/template/.opencode/skills/design-tokens
Command: npx skills add https://github.com/kinncj/MAPLE --skill design-tokens-kinncj

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Read and write design tokens in W3C Design Token Community Group (DTCG) format (tokens.json). Emit framework-specific outputs: CSS custom properties, Tailwind config, and Mantine theme object. The tokens.json in docs/design/identity/ is the canonical source of truth; all framework outputs are derived and regenerated — never manually edited.

Core Features & Use Cases

  • Read and write tokens in tokens.json using the DTCG format.
  • Emit CSS custom properties, Tailwind configuration, and Mantine theme objects.
  • Use case: synchronize colors, typography, spacing, and other tokens across web apps and design systems.

Quick Start

Run the design-token workflow to generate CSS, Tailwind, and Mantine outputs from docs/design/identity/tokens.json

Frequently Asked Questions about design-tokens

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

FAQPage Schema
How do I synchronize design tokens across CSS, Tailwind, and Mantine?▼

You can synchronize design tokens by maintaining a single tokens.json file in W3C DTCG format and automatically generating CSS custom properties, Tailwind config, and Mantine theme objects from that source.

What is the DTCG tokens.json format for standardizing a design system?▼

The DTCG tokens.json format is a W3C Design Token Community Group standard that centralizes design tokens like colors and typography into a single source of truth for cross-framework synchronization.

Can I emit Tailwind config and Mantine theme objects from a single tokens.json file?▼

Yes, you can emit framework-specific outputs like Tailwind config and Mantine theme objects by reading and validating a canonical tokens.json file written in the standard DTCG format.

Do I need to manually edit generated CSS custom properties after running design token automation?▼

No, framework outputs like CSS custom properties are derived assets that should never be manually edited; you update the canonical tokens.json file and regenerate all framework-specific outputs.

What is the best way to manage design tokens for multiple web apps without drift?▼

The best way to prevent design token drift across web apps is to centralize tokens in a DTCG tokens.json file and derive all CSS, Tailwind, and Mantine outputs from that single source of truth.

Does this design token workflow support validating tokens before generating framework outputs?▼

Yes, the workflow validates the tokens.json file in DTCG format before emitting framework-ready assets such as CSS custom properties, Tailwind configuration, and Mantine theme objects.