mirror of
https://github.com/pbakaus/impeccable.git
synced 2026-09-19 01:26:29 +03:00
Greptile asked for coverage beyond FakeDom, and it is right that the interesting question here is a browser one: whether the `oklch()` a DESIGN.md declares and the `oklch()` Chrome computes for an element are the same color by the time the rule sees them. A `file://` target loads the DESIGN.md that governs the page's directory, so the whole path runs end to end: the allowlist is parsed from markdown, Chrome renders the page, and the browser element sweep decides. The test writes two pages with the same shapes — verdigris text on a dark instrument face, and a violet-to-verdigris gradient — one in declared tokens and one in colors the DESIGN.md never mentions, and asserts the first is silent while the second still fires. It skips cleanly with no installed browser or no built binary, the way differential.rs does. Verified against the pre-fix engine: the declared page reports two ai-color-palette findings there and none here. Assisted-by: Claude Code Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LQBUunp8QttxZqihybNmtL