← marketplace
creatorsconceptsha:ae3aa317947ed27bmanual
brand-system-from-reference
Use when starting a creator brand from a moodboard or reference site — extract colors, type pairings, spacing tokens into a single JSON token file consumable by Tailwind v4 / CSS custom properties / Figma.
Tutorials · creator-attached
One-line install
curl --create-dirs -fsSL https://skillmake.xyz/i/brand-system-from-reference -o ~/.claude/skills/brand-system-from-reference/SKILL.md
The hash above pins this exact content. The file we serve at /api/marketplace/brand-system-from-reference-ae3aa317/raw always matches sha:ae3aa317947ed27b.
3,512 chars · ~878 tokens
--- name: brand-system-from-reference description: Use when starting a creator brand from a moodboard or reference site — extract colors, type pairings, spacing tokens into a single JSON token file consumable by Tailwind v4 / CSS custom properties / Figma. source: https://tailwindcss.com/docs/theme generated: 2026-05-07T21:42:11.177Z category: concept audience: creators --- ## Tutorials - https://skillmake.xyz/v/brand-system-from-reference.mp4 ## When to use - Bootstrapping a creator brand without hiring a designer - Translating a Figma moodboard into a working Tailwind theme - Auditing an existing site for token consistency and producing a single source of truth - Cross-platform brand: same tokens drive web (Tailwind), email (inline CSS), and social cards (Satori) ## Key concepts ### token taxonomy Three layers: primitives (raw colors, font sizes, spacing values), semantic tokens (bg/fg/accent/danger), component tokens (button.bg, button.fg). Most creator brands need only primitives + semantic; component tokens are over-engineering for a one-person site. ### color palette extraction From a reference image: vision-LLM or k-means cluster pixels → 5-8 dominant colors. Then build a 50–950 scale per accent color via OKLCH lightness ramps (more perceptually uniform than HSL). Store as primitives, name them by role (accent, neutral, danger), not by color (red, blue). ### type pairing Default to one display font + one text font; variable font on at least one slot. Display = serif or geometric sans for headings; text = humanist sans or workhorse serif for body. Pair via x-height match — both fonts should have similar lowercase height when set at the same size. ## API reference ``` tokens.json shape ``` Single source of truth — consumed by Tailwind config, CSS variables build, Figma sync, and OG card generator. ``` { "color": { "primitive": { "accent": { "50": "#f6ffea", "500": "#a8ff60", "900": "#3d6614" }, "neutral": { "50": "#f5f6f7", "500": "#5a6271", "900": "#0b0d10" } }, "semantic": { "bg": "{color.primitive.neutral.900}", "fg": "{color.primitive.neutral.50}", "accent": "{color.primitive.accent.500}" } }, "font": { "display": "Geist, system-ui, sans-serif", "text": "Geist, system-ui, sans-serif", "mono": "Geist Mono, ui-monospace, monospace" }, "size": { "sm": "14px", "base": "16px", "lg": "18px", "xl": "24px" }, "radius": { "sm": "4px", "md": "8px", "lg": "14px" } } ``` ``` Tailwind v4 @theme inline integration ``` Tailwind v4 reads CSS variables directly via @theme; emit primitives + semantic tokens as :root vars and reference them in @theme inline. ``` :root { --color-bg: #0b0d10; --color-fg: #e8ecf1; --color-accent: #a8ff60; } @theme inline { --color-background: var(--color-bg); --color-foreground: var(--color-fg); --color-accent: var(--color-accent); } ``` ## Gotchas - Don't extract 12 colors and call it a palette — 3 anchors (bg, fg, accent) plus 1–2 supports is plenty for a creator brand. - Avoid pairing two display fonts; the eye fights itself. One personality + one neutral. - OKLCH ramps look better than HSL for accent shades, but Safari <16 lacks support — emit a sRGB fallback. - Token names that describe role (accent / danger / muted) survive rebrands; names that describe color (red / blue) don't. --- Generated by SkillMake from https://tailwindcss.com/docs/theme on 2026-05-07T21:42:11.177Z. Verify against source before relying on details.
File: ~/.claude/skills/brand-system-from-reference/SKILL.md