Skip to content

feat(tokens): Next v2, Dark v2 and typography Next v2 previews - #1646

Draft
evanaronson wants to merge 3 commits into
mainfrom
claude/token-previews-v2
Draft

evanaronson wants to merge 3 commits into
mainfrom
claude/token-previews-v2

Conversation

@evanaronson

Copy link
Copy Markdown
Contributor

Description

Adds three preview modes for the design review, next to the existing ones in the debug panel and the Storybook toolbar:

  • Colour: Next v2 and Dark v2. Palette steps picked so text reaches 4.5:1 and meaningful marks (icons, bars, field borders, focus rings, spinner heads) reach 3:1 against what's actually behind them; rest, hover, pressed and selected stay in order and distinguishable; the Dark values the design never set are filled.
  • Typography: Next v2. Sora titles sized to today's line length, a clearer title hierarchy (list item titles and field labels separated from body by weight), desktop text one step back toward what users read today, whole-pixel line heights.
  • Spacing: the existing modes are labelled "Next – Normal", "Next – Loose" and "Next – Compact" (values unchanged).

Each v2 mode is its v1 with one override file on top (design-system/tokens/source/modes/*-v2.tokens.json), so v1 stays as it was for comparison. Today, the default every user gets, is unchanged: pnpm visual-diff shows 0 of 317 stories differ. Nothing here reaches users; the previews load only with the debug panel.

The open design questions and the places where a role assignment is wrong (not a value) are in the design review doc for the designer.

Type of Change

  • Patch: Enhancement (non-breaking change to an existing feature)

Developer Checklist:

  • Manually smoke tested the functionality in a preview or locally (Storybook, locally)
  • Confirmed there are no new warnings on automated tests (test:tokens 41/41, tokens:check ok)
  • Selected the correct base branch
  • Followed the code style guidelines of this project
  • Confirmed the pipeline checks are not failing

Generated by Claude Code

Copy link
Copy Markdown
Contributor Author

The deploy / deploy failure isn't from this PR. Every other check passes. The build and the upload to Vercel finish, then the Vercel API returns an HTML error page (Unexpected token '<') and, on the rerun, drops the connection (fetch failed). Unrelated PRs fail at the same step this afternoon (branches app-1529-routing-switch-wsscope-query-params-and-account and app-1536-add-workspace-dialog-and-getting-started-copy), so it looks like a Vercel-side outage. Rerun the deploy once Vercel recovers; no code change is needed.


Generated by Claude Code

@github-actions

github-actions Bot commented Dec 1, 2026 •

Copy link
Copy Markdown

🚀 Preview Deployment: View Here

@github-actions

github-actions Bot commented Dec 1, 2026 •

Copy link
Copy Markdown

E2E results (preview)

Smoke

Base URL https://app-next-95wvo41na-aragon-app.vercel.app
Suite smoke
Playwright result ✅ passed
Summary 104 passed
HTML report View report
GitHub job ✅ completed

View run #6141

…ypography preview

Each v2 mode is its v1 with one override file on top (empty for now), so a review can change values without
touching v1. Spacing modes get readable labels: Next - Normal, Loose, Compact.

Claude-Session: https://claude.ai/code/session_019CgJ2f7x6waGw8yQzKuCDu
Next v2 and Dark v2: palette steps picked by contrast (text 4.5:1, marks 3:1 against what is behind them) and
state order, with the missing Dark values filled. Typography Next v2: Sora titles sized to today's line length,
a clearer title hierarchy and desktop text one step back toward what users read today. Today and v1 unchanged.

Claude-Session: https://claude.ai/code/session_019CgJ2f7x6waGw8yQzKuCDu

This branch was successfully deployed

1 active deployment
preview — ad805511 Deployed Dec 4, 2026 by evanaronson via deploy / deploy #6141
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