You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Keep design-system tokens.json in sync with brand.css #1153
design-system/tokens.json is documented as "the same tokens as data" (README), but it has already drifted from brand.css. brand.css defines --a1-gold-deep: #9a8236 and --a1-red: #d92d20, and neither appears in tokens.json. Nothing checks the two files against each other, so drift will keep happening as the design evolves.
What to do
Write design-system/scripts/check_tokens.py: parse the --a1-* color custom properties from brand.css (light :root and the dark theme block) and compare them with tokens.json (color plus theme.light/theme.dark), printing mismatches and exiting non-zero.
Fix the current drift (add gold-deep and red, or remove them from brand.css if they're unused; check with grep across the repo).
Run the script in CI for changes to design-system/ (a step in .github/workflows/project-checks.yml gated on matrix.project == 'design-system').
Rebuild the downloadable kit with python build-kit.py if tokens.json changes.
Acceptance criteria
The script passes on the fixed files and fails if a colour is changed in only one place.
CI runs it for design-system/ changes.
downloads/alpha-one-labs-design-system.zip is rebuilt.
@10done 'Good first issue' tasks are reserved for newcomers who haven't submitted PRs yet. Since you already have PRs in this repository, please choose a different issue to work on.
Activity
github-actions commentedon Nov 2, 2026
10done commentedon Nov 2, 2026
/assign
github-actions commentedon Nov 2, 2026
@10done 'Good first issue' tasks are reserved for newcomers who haven't submitted PRs yet. Since you already have PRs in this repository, please choose a different issue to work on.
10done commentedon Nov 2, 2026
cool