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> |
||
|---|---|---|
| .. | ||
| 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 | ||