Type, spacing and colour tokens
Ask Claude to set up a project's basics and get type, spacing, colour and icon sizes as design tokens.
See it work
You give it
Use visual-design-foundations. I'm building the class-booking site for a climbing gym in Minneapolis. Brand colors: pine green #2F6B4F, chalk #F7F5F0, rust #D9622B, ink #1C1C1C. Headings in Space Grotesk, body in IBM Plex Sans. The site has a class schedule, a "Book a class" button on every card ($28 drop-in), and icons for difficulty and gear. The owner wants rust buttons with white text. Set up the tokens: type scale, spacing, colors with contrast checked, icon sizes, and a dark mode we can turn on later. Plain CSS variables, no Tailwind.
You get back
One thing to settle before the tokens: white text on your rust #D9622B comes out at 3.66:1. Body-size text needs 4.5:1, and a 16px button label counts as body size, so the owner's button fails as specified. I've kept rust as the brand color and used a slightly deeper rust for the button fill, #C05422, which takes white text at 4.63:1. If the owner wants the exact #D9622B on buttons, the label has to be ink instead (4.65:1).
Every ratio below was computed with the WCAG contrast formula on the hex values in this file.
Contrast checks
Pair · Where it's used · Ratio · Needs · Result
White on rust #D9622B · The owner's button · 3.66:1 · 4.5:1 · Fails
White on rust-600 #C05422 · "Book a class" button · 4.63:1 · 4.5:1 · Pass
White on rust-700 #A94A1E · Button hover · 5.70:1 · 4.5:1 · Pass
White on rust-800 #93401A · Button pressed · 7.03:1 · 4.5:1 · Pass
Ink on chalk · Body text on the page · 15.64:1 · 4.5:1 · Pass
Stone-600 #6B6860 on white · Time, coach, spots left on cards · 5.56:1 · 4.5:1 · Pass
Pine on chalk · Links, active filter · 5.78:1 · 4.5:1 · Pass
Rust #D9622B on chalk · As text · 3.36:1 · 4.5:1 · Fails, so rust never sets text
Stone-500 #8A867D on white · Input and checkbox borders · 3.63:1 · 3:1 · Pass
Amber-700 #8A5A00 on white · "2 spots left" · 5.93:1 · 4.5:1 · Pass
Red-600 #B3261E on white · "Class full", form errors · 6.54:1 · 4.5:1 · Pass
First part of a run in Claude (Opus 5.5), Nov 2026
What it does
- Builds type and spacing scales.
- Makes colour palettes with good contrast.
- Sets a size system for icons.
What's inside
visual-design-foundations/CREDITS.mdvisual-design-foundations/LICENSEvisual-design-foundations/SKILL.mdvisual-design-foundations/references/color-systems.mdvisual-design-foundations/references/spacing-iconography.mdvisual-design-foundations/references/typography-systems.md
How you use it
- Get the skill: one zip file. It comes with every paid plan.
- Add it to Claude. In Claude, open Customize (Plugins on newer screens), then Skills. Press +, then Create skill, then Upload a skill. In Claude Code, unzip it into ~/.claude/skills/ instead.
- Start a new chat and tell Claude what you need, the way the example above does. The skill takes it from there.
- Then ask for the work. Claude reaches for the skill when it fits, or name it: "use visual-design-foundations".
Get this skill with a paid plan
The download comes with every paid plan, along with all 204 Claude skills and the rest of the AI toolkit. “Sites that don't look templated” in this folder is free, so you can try one first.