Skip to content

feat(ui): design-system foundation — motion/type/radius/colour tokens + lint guards (DSX-1) - #387

Merged
eliotlim merged 7 commits into
mainfrom
feat/dsx-1-foundation-tokens
Oct 10, 2026
Merged

eliotlim merged 7 commits into
mainfrom
feat/dsx-1-foundation-tokens

Conversation

@eliotlim

@eliotlim eliotlim commented Oct 9, 2026

Copy link
Copy Markdown
Collaborator

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-block CSS 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

Behavior Before After
Mixed page (type/rhythm baseline for DSX-7)
Menu/dialog motion ad-hoc literals
CSS literal durations / easings / radii / z 49 / 22 / 84 / 2 7 (sanctioned) / 0 / 0 / 0

Test procedure

pnpm verify green @ 36a29f5; fix round + integration validated: foundationTokens/export/colors/tablePaste suites 140 tests green @ d9ffcd3; eslint-rule tests + stylelint controls green.

Operational notes

  • New lint guards warn-only on existing debt (baselines recorded); radius/z error-level.
  • Dark-mode legacy exports verified (info-callout dark pair added after review).

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

eliotlim and others added 6 commits October 8, 2026 08:06
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>
@vercel

vercel Bot commented Oct 9, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
app.book.pub Ready Ready Preview Oct 9, 2026 1:18pm UTC

Request Review

@eliotlim
eliotlim merged commit 98b7b11 into main Oct 10, 2026
13 checks passed

This branch was successfully deployed

1 active deployment
Preview — 1e24844a Deployed Oct 9, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant