brand-to-tokens

Solid

Turn a confirmed brand identity into a DTCG .tokens.json source of truth — emit CSS vars + Tailwind via design-tokens, export locked brand deck templates.

AI & Automation 7 stars 1 forks Updated today MIT

Install

View on GitHub

Quality Score: 81/100

Stars 20%
30
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# brand-to-tokens > The brand→token derivation — the **first consumer demand** that closes the > ADR-061 §8 deferral. Takes a confirmed [`brand-identity`](../brand-identity/SKILL.md) > constraint set and produces a DTCG `.tokens.json` **source of truth**, then > hands it to the [`design-tokens`](../design-tokens/SKILL.md) toolchain to emit > CSS vars + Tailwind. The same `.tokens.json` is the export that pack-ai-image > brand-asset generation and the greenfield scaffold seed consume (B → A; > contract: [`brand-token-consumption`](../../../docs/contracts/brand-token-consumption.md)). ## When to use - A confirmed brand identity (colour story, type story, spacing) needs to become a maintained token system. - A consumer asks to "turn the brand into tokens / CSS variables / a theme." - Before pack-ai-image brand-asset generation or a greenfield scaffold needs the `.tokens.json` export. ## Procedure 1. **Take the confirmed brand-identity constraint set** — colour story (roles + values), type story (heading/body classes), spacing/radius intent. If a consumer brand profile already registers values, those win ([`brand-source-of-truth`](../../rules/brand-source-of-truth.md)). 2. **Author `.tokens.json`** on the `design-tokens` 3-layer DTCG model (`$value` / `$type`): brand palette → `primitive.color.*`; brand roles (primary, accent, surface, destructive) → `semantic.color.*` referencing the primitives; per-widget needs → `component.*`. Add `dark.semantic.*` o...

Details

Author
event4u-app
Repository
event4u-app/agent-config
Created
3 months ago
Last Updated
today
Language
TypeScript
License
MIT

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category