feat(tokens): SPELWork step ramp, color.stage.0 to .5 (#172) #226
No reviewers
Labels
No labels
build-dist
priority
P1
priority
P2
priority
P3
priority
P4
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
Toilville/toilville-design!226
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/172-stage-ramp"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Refs #172. Does not close it. Peter signs off before merge.
Scope
The DTCG entries for the SPELWork pipeline step ramp that Peter confirmed in #172 (2026-10-21). The steps are the six dimension stages: Foundation, Intent, Structure, Execution, Scale, Outcome. Colour is one sequential brand-blue lightness ramp. The icon (
spel.stage.0to.5) and the name always travel with the colour.Brand/UDG/dtcg/color.json: newcolor.stage.0to.5, light and dark.Brand/UDG/products/spelwork/dtcg/color.json: the same six tokens, light values only.udg/generators/extract.py: short aliases--stage-0to--stage-5.udg/generators/wcag.py: 18 non-text 3:1 pairs.Brand/specs/spelwork/spelwork-dashboard-design-part1.md: section 4 rewritten from "blocked" to the decided model.#5172A6#5475A9#416194#638AC5#315182#739FE2#224170#86B4FD#13315F#A9CAFD#04214E#CDDFFDNot in this PR: #173 (colour-blind check), text-on-stage tokens, any SPELWork dark theme, any change to the Part 2 spec.
Testing
No new unit tests. The behaviour change is in the
wcag.pypair list, andwcag.py check --allis the gate for it.justfilerecipe command was run directly becausejustis not installed on this machine).python3 -m pytest generator/tests/: 400 passed, 20 skipped.toilvilleandwp-themes(36 rows each, light and dark, lowest 3.24:1). No failures. Products without the tokens skip the pairs.Impact Statement
--stage-0to--stage-5(toilville,wp-themes) and--udg-color-stage-0to-5(SPELWork). New Dart keysstage0tostage5.dist/regenerated forspelwork,toilvilleandwp-themes(23 files).rituals,blocksand the other products are unchanged.wcag.pypairs, each stage againstbg.surface,bg.surface-raisedandbg.surface-variant.Docs
Part 1 spec section 4 is rewritten, and its open questions are updated.
Remaining review points
prefers-color-scheme: darkwhile the surface stays light, and stages 2 to 5 would fall to 2.67, 2.09, 1.66 and 1.34:1 on#FEFEFE. So no dark stage override is emitted for SPELWork until it has a dark theme. The dark values are defined in the baseline.color.stage.3dark is#86B4FD, the same ascolor.accent.sanctumdark. The earlier value#88ACE4was a near duplicate. The overlap is accepted because a stage is always shown with its icon and name. The other dark steps are spaced around this anchor.#0A1B33(4.91:1 to 12.79:1). The rule is documented in the spec.wcag.pydoes not check text on a stage fill. If the dashboards place text directly on steps, that needs a follow-up.#7394C8. The brand blue gives 3.06:1 onbg.surface, but only 2.72:1 onbg.surface-raisedand 2.44:1 onbg.surface-variant, so it cannot be a step.