feat(themes): #62 whole-swap CSS self-containment CI gate
Some checks failed
Check / eval (push) Has been cancelled

Add tools/check-theme-wholeswap.py and checks.theme-wholeswap: every
themes/*/waybar.css must @define-color each @name it references (raw
readFile, no palette prepend — neon-glass class), and every preset needs
preview.png + non-empty backgrounds/. README: four waybar.css themes
(drop quarantined neon-glass). Close #62.

Verified: V0 (script + negative fixture + checks.theme-wholeswap + flake check --no-build).
This commit is contained in:
Bernardo Magri
2026-07-10 08:29:30 +01:00
parent 11d6a3df0f
commit f09042adbe
5 changed files with 136 additions and 9 deletions

View File

@@ -383,8 +383,8 @@ per theme — a single place to look, unlike the old distro's split:
| `waybar.jsonc` | whole-swap for the bar *layout* (must be plain JSON) |
| `rofi.rasi` | **whole-swap**: replaces the generated launcher/menu theme entirely |
Five themes ship a `waybar.css` identity (summer-day, summer-night,
executive-slate, boreal, neon-glass). Custom user themes can live in
Four themes ship a `waybar.css` identity (summer-day, summer-night,
executive-slate, boreal). Custom user themes can live in
`$NOMARCHY_PATH/themes/` (preset lookup) and `nomarchy.themesDir` (eval-time
asset probe).