Color Audit

Map all colors in the codebase. Find duplicates, near-duplicates, one-off values, and colors not in the token system.

dragoon0x Updated

File contents

/color-audit — Color Audit

Extract every color value from CSS:

  1. List all unique hex, rgb, rgba, hsl values
  2. Group similar colors (within deltaE 5)
  3. Flag one-off values not in the design tokens
  4. Count usage frequency
  5. Identify opportunities to consolidate

Show a visual swatch grid with usage counts.

dragoon0x/optik/tree/main/.codex/prompts/color-audit commit 35c4d01c9f

Frequently asked questions

npx skillmds@latest add dragoon0x/color-audit-3