← Files MiroMiroARCHIVED FILE
skills/design-reference/SKILL.md
1.97 KB · Dec 2, 2026 · 18:18 UTC
--- name: design-reference description: Read a public website's colors, fonts and design tokens as a reference for the user's own UI. Use when the user asks what colors or fonts a site uses, wants a palette, CSS variables, a Tailwind theme or a W3C design tokens file based on a site, or wants new UI to match their own brand's live site. --- # Colors, fonts and tokens as a reference Two tools cover this; pick one, not both by reflex. **`extract_brand`**: the short answer. Color roles (primary, accent, background, text) as hex with readable names, the wider palette, fonts by role, the light or dark theme, and `signals` explaining where the colors came from. Use it for "what colors does X use" and "make something that feels like X". **`extract_design_tokens`**: the complete system. Every color, font family, size, weight, spacing value, radius and shadow, with usage counts. Use it when the user wants a theme file or a full scale. Ask for the format their project uses instead of converting: `format: "css"` (a `:root` block), `"tailwind"` (a config fragment) or `"dtcg"` (W3C Design Tokens). ## Say where the colors came from Read `signals.explanation` and repeat it to the user. `signals.primarySource` says how sure the result is: - `css-var` or `theme-color`: the site declares these colors itself - `logo` or `cta`: taken from its logo or its main buttons, close but not declared - `usage`: ranked by how often each color appears. This is an estimate: say so, and never present it as the brand's official palette ## Fonts For type alone, `extract_fonts` lists every font the page loads with weights and formats. Knowing which font a site uses is not a license to use it: commercial fonts need their own license, and Google Fonts are free to use. Point the user to the license before production. ## Use it as a reference Colors and type scales are ideas to build on. A brand's logo, name and imagery belong to its owner: use them only when the site is the user's own, or to refer to that brand.
SHA-256: 46548914523f2e146ed1dee56a335388f7650ff690215970f6c37bdac875a7c7