Skip to content

chore(design-system): remove the legacy tokens and document MD3 - #371

Merged
TheMeinerLP merged 1 commit into
mainfrom
feat/md3-cleanup
Sep 23, 2026
Merged

TheMeinerLP merged 1 commit into
mainfrom
feat/md3-cleanup

Conversation

@TheMeinerLP

@TheMeinerLP TheMeinerLP commented Sep 23, 2026 •

Copy link
Copy Markdown
Collaborator

Stacked on #370 (feat/md3-content-pages); part of the OpenSpec change adopt-md3-design-system. Review the diff against feat/md3-content-pages.

Changes

chore(design-system): remove the legacy tokens and document MD3

  • Drop the pre-MD3 colour tokens from @theme: the bg/text/muted/border
    neutrals, the numeric brand-50…900 ramp, secondary-*, brand-primary
    and white. The glow's raw brand colours move to :root as
    --brand-magenta / --brand-cyan, outside @theme, so they mint no
    utilities. The brand gradients stay for gradient text.
  • The skip link uses the surface-container-high / on-surface roles and
    the design system's 3px secondary focus indicator.
  • Remove brand-scale.spec.ts and the now-empty PENDING_MIGRATION: the
    governance test fails on any violation outright. Contrast tests drop
    the muted-token checks; a new test pins that the legacy classes no
    longer resolve.
  • Rewrite the tailwind-design skill for the MD3 contract, primitives and
    governance, fix its references (paths, the Shiki fix, examples), and
    add a UI primitives section to AGENTS.md.

Verified: build, 389 tests, quality gate without regression, and a
local Lighthouse accessibility run of 0.98–1.0 on the home, blog, team
and community POI pages.

Testing

  • pnpm test: 389 passed
  • pnpm quality: no regression (ESLint 201 errors / 17 warnings, TypeScript 16), baseline unchanged in this branch
  • Checked in Chromium, light and dark, against a dev server

🤖 Generated with Claude Code

https://claude.ai/code/session_012ZzvomAnwjAS3et96Avp7s

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Sep 23, 2026 •

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
launchpad 4c8409d Commit Preview URL

Branch Preview URL
Sep 23 2026, 11:59 AM

@TheMeinerLP
TheMeinerLP force-pushed the feat/md3-content-pages branch from ee39573 to 7712c2b Compare September 23, 2026 11:53
- Drop the pre-MD3 colour tokens from @theme: the bg/text/muted/border
  neutrals, the numeric brand-50…900 ramp, secondary-*, brand-primary
  and white. The glow's raw brand colours move to :root as
  --brand-magenta / --brand-cyan, outside @theme, so they mint no
  utilities. The brand gradients stay for gradient text.
- The skip link uses the surface-container-high / on-surface roles and
  the design system's 3px secondary focus indicator.
- Remove brand-scale.spec.ts and the now-empty PENDING_MIGRATION: the
  governance test fails on any violation outright. Contrast tests drop
  the muted-token checks; a new test pins that the legacy classes no
  longer resolve.
- Rewrite the tailwind-design skill for the MD3 contract, primitives and
  governance, fix its references (paths, the Shiki fix, examples), and
  add a UI primitives section to AGENTS.md.

Verified: build, 389 tests, quality gate without regression, and a
local Lighthouse accessibility run of 0.98–1.0 on the home, blog, team
and community POI pages.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012ZzvomAnwjAS3et96Avp7s
@TheMeinerLP
TheMeinerLP changed the base branch from feat/md3-content-pages to main September 23, 2026 11:57
@TheMeinerLP
TheMeinerLP merged commit f13b5fb into main Sep 23, 2026
7 of 12 checks passed
@TheMeinerLP
TheMeinerLP deleted the feat/md3-cleanup branch October 10, 2026 16:15
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