mirror of
https://github.com/pbakaus/impeccable.git
synced 2026-09-14 23:26:39 +03:00
Scope design-system-font-size off the injected live overlay
live-browser.js builds a self-contained UI that renders over arbitrary host pages, so its inline type scale is deliberately independent of DESIGN.md, which documents the impeccable website's ramp. The rule fired 32 times there and is the only rule that fires on that file. Suppress it as a file-scoped value wildcard rather than via ignoreFiles: an ignoreFiles glob would silence every rule for the file, and the overlay is real user-facing chrome where a future contrast or side-tab finding should still be heard. Scoped to this one file, so the rule keeps working everywhere else. Written by hand because hook-admin's ignore-value cannot emit the `files` array that detector.ignoreValues supports and existing entries already use. Prepared with AI assistance under maintainer direction. Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -71,6 +71,15 @@
|
||||
],
|
||||
"createdAt": "2026-06-15T23:37:38.170Z",
|
||||
"reason": "Generic slop card intentionally uses Inter for the before-state comparison"
|
||||
},
|
||||
{
|
||||
"rule": "design-system-font-size",
|
||||
"value": "*",
|
||||
"files": [
|
||||
"skill/scripts/live-browser.js"
|
||||
],
|
||||
"createdAt": "2026-07-17T00:00:00.000Z",
|
||||
"reason": "Live overlay chrome is injected over arbitrary host pages and builds a self-contained UI with its own small type scale; DESIGN.md's ramp describes the impeccable website, not this widget"
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user