Files
meshcore-analyzer/scripts
Kpa-clawbot 608d81f8c9 test(#1128): add scripts/check-css-vars.js — fails on 3 undefined vars (red commit)
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
2026-05-06 06:47:14 +00:00
..