mirror of
https://github.com/Kpa-clawbot/meshcore-analyzer.git
synced 2026-05-25 19:14:05 +00:00
608d81f8c9
Adds a CSS-variable lint that walks public/*.css and asserts every var(--name) reference WITHOUT a fallback resolves to a definition in some public/*.css. References WITH a fallback are tolerated. This is the red commit (TDD): on the current master tree, the script exits 1 with three undefined references that bypassed review: public/style.css:2628 var(--text-primary) public/style.css:2675 var(--bg-hover) public/style.css:2924 var(--primary) These are the same class of bug as the original Bug 4 in #1128 (the --surface regression that left 8 dropdowns transparent — see specs/packets-layout-audit.md Section 5 #1). Refs #1128