Repository navigation
feat(ui): design-system foundation — motion/type/radius/colour tokens + lint guards (DSX-1) - #387
Merged
Merged
Conversation
Decisive token and block-chrome contract for the per-block-family redesign tasks: type ramp, motion scale + application table, radius roles, a single placeholder alpha, callout/code colour tokens, z-index rules, editor vs data palette boundary, formula-driven gutter geometry, KitFrame adoption and motion/colour/z lint guards. The token sheet is a self-contained HTML sign-off artifact rendering every decided value in light and dark. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
Four styling regimes and token drift: motion tokens reached 2 of ~45 transition sites, 80 literal radii, three placeholder alphas, untokenised callout/code colours, the meeting block had no CSS at all. Board: OB DSX-1 (Epic DSX; implements the merged manifest #384). Merge order: this PR before DSX-7 (#next) — that branch stacks on it.
Solution
Tokens per the manifest: motion scale (120/180/240ms) through every transition site + Radix primitives (entrance-only Select preserved — nested dismissable layer); 16px/1.5 body + heading scale (owner-approved); role radii incl. 12px dialogs; one placeholder alpha (0.6); callout/code-syntax colour tokens light+dark (≥4.5:1 computed); meeting-block CSS; dead
.block-*/.reactive-blockCSS removed (independently verified unreferenced incl. historic exports); warn-level lint guards (no-arbitrary-motion / no-palette-color / no-raw-z + CSS guards) with measured baselines, radius/z at error (baseline 0); static exports mirror the tokens with equality tests. DSX-P's contrast values ported into the tokens per the review merge-recipe (hexes unchanged).Before / After
Test procedure
pnpm verifygreen @ 36a29f5; fix round + integration validated: foundationTokens/export/colors/tablePaste suites 140 tests green @ d9ffcd3; eslint-rule tests + stylelint controls green.Operational notes
Verify status: green per above · Reviews cleared: code (Quinn — F1-F5+nits pre-endorsed @ d0eca35) · design (Devon — gate CLEAR on captures)
🤖 Generated with Claude Code