mix sink.audit (SlopUI v0.1.0)

Copy Markdown View Source

Boots the kitchen sink on a random port, drives headless Chrome through the DevTools protocol, and measures every token pairing for each palette in light and dark, with and without data-contrast="more".

mix sink.audit                 # all presets
mix sink.audit warm cool       # some presets
mix sink.audit --json

Fails (exit 1) if any text pairing is under 4.5:1, any non-text pairing under 3:1, or any two semantic colours land within ΔE 15 of each other under simulated protan, deutan or tritan vision.

Needs Google Chrome; set CHROME_BIN to point at another Chromium build.