Forge Color Fix

Replace all orphan colors with the nearest token from your system. Converts raw hex values to var(--token) references.

dragoon0x Updated 13 repo stars

File contents

/forge-color-fix — Color Auto-Fix

For each orphan color found by /forge-color-audit:

  1. Find the nearest palette shade by color distance
  2. Map to the most appropriate semantic token
  3. Replace raw value with var(--token-name)

Shows before/after. Requires confirmation.

dragoon0x/forge commit 74c913501f

Frequently asked questions

npx get-skill add dragoon0x/forge-color-fix