color-audit
Color-only audit to extract, evaluate, and recommend improvements for the project's color system
/color-audit: Color System Audit
Focused audit of the project's color system.
Flow
- Extract all colors with
uiux_extract_colors - Map color roles (primary, secondary, neutral, semantic, surface, text)
- Check contrast ratios for all foreground/background pairs with
uiux_check_contrast - Evaluate harmony, consistency, coverage, dark mode
- Generate improved color system with
uiux_generate_palette - Output light + dark mode palettes with token values
Output
- Current color inventory (unique colors, near-duplicates, CSS variables)
- Contrast audit (WCAG + APCA for all pairs)
- Harmony analysis
- Semantic role coverage
- Recommended complete color system (CSS vars or Tailwind config)
- Light + dark mode palettes