colorsmine CLI & GitHub Action — a color grade as a build gate

The same engine that grades palettes on this site, in your pipeline. It reads the design tokens already in your repository and exits non-zero when contrast regresses, so an inaccessible palette can block a merge instead of surfacing in review.

npx colorsmine check --min B --wcag

What it reads

Exit codes

As a GitHub Action

kscarfi/colorsmine-cli@v1 writes a grade table to the job summary, annotates each failing gate, and exposes six outputs: passed, grade, score, dark-grade, dark-score and badge. Free and MIT licensed, on npm as colorsmine.