magicciv/scripts/run
Natalie 0c2d7c6d4a feat(@projects/@magic-civilization): colour-SoT coverage gate locks in the migration (p2-87)
Add tools/check-ui-color-sources.py: fails if a hardcoded numeric Color()/Color8()
is applied to a widget in a scene (add_theme_*_override / StyleBox *_color).
Allows computed Color(accent.r,…), transparent, named constants, and var-init
fallbacks; excludes scenes/tests + the 3 precursor deletion files. Passes clean
on live scenes (exit 0). Wired into ./run verify as step 17 so a hardcoded
colour can't creep back in.

Capstone for the override→inheritance / single-colour-system work: colours in
live scenes now provably come from the design-token source.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-19 10:27:56 -05:00
..
audio.sh
autoplay.sh
build-info.sh
build.sh
common.sh
deploy.sh
dev.sh
export.sh
format.sh
heavy-prefix.sh
lint.sh
remote.sh
run
test.sh
tools.sh
verify.sh feat(@projects/@magic-civilization): colour-SoT coverage gate locks in the migration (p2-87) 2026-06-19 10:27:56 -05:00