Theme Tokens

A full light + dark design-token set written into your CSS, from one brand color or a logo.

npx skills add drmrduck/skills@themetokens
View SKILL.md on GitHub ↗drmrduck/skills@themetokens

Theme Tokens

Expand a brand color into a full, accessible token set in both modes.

Steps

  1. Get the seed — a brand hex, or extract one from an uploaded logo/image.
  2. Build the ramp — a 50→950 scale at perceptually-even lightness, plus semantic tokens (background, foreground, primary, muted, border) for light and dark so they actually match.
  3. Check contrast — foreground/background pairs against WCAG AA; nudge lightness until they pass.
  4. Write it in — CSS custom properties in globals.css (:root + .dark) or the Tailwind theme config, matching the project`s existing convention.

Verify

Related skills