Skip to content

Feature/design system v1#16

Merged
xuewill merged 5 commits into
mainfrom
feature/design-system-v1
May 14, 2026
Merged

Feature/design system v1#16
xuewill merged 5 commits into
mainfrom
feature/design-system-v1

Conversation

@xuewill
Copy link
Copy Markdown
Contributor

@xuewill xuewill commented May 14, 2026

Summary

  • What changed?
  • Why was this change needed?

Scope

  • Frontend
  • Worker / Backend
  • Shared package
  • Docs
  • Tooling / CI

Verification

  • pnpm test
  • pnpm typecheck
  • pnpm lint
  • pnpm build

Checklist

  • Updated README/docs if structure or behavior changed
  • Kept changes inside the correct layer boundaries
  • Added or updated tests where needed
  • No generated artifacts committed by mistake

Risks / Follow-ups

  • Remaining risks:
  • Follow-up work:

xuewill added 5 commits April 22, 2026 06:29
Complete landing plan for WeMail Web design system v1.0 covering:
- Token foundation (color/space/radius/shadow/font/motion/z-index/focus/chart)
- 20 primitive components (15 new + 2 extended + 3 unchanged)
- Cross-cutting infrastructure (icon wrapper, a11y contract, test utils, reduced-motion, visual regression)
- 7-sprint implementation order with acceptance checklist
- Risk register and open decisions
Add additive design token layer (no existing variable is changed):
- apps/web/src/shared/styles/tokens.css — brand 9-stop, semantic
  (success/warning/danger/info), neutrals 9-stop, spacing 4px grid,
  radius xs-xl + full, elevation xs-xl, font semantic sizes/leading,
  motion durations + eases, z-index layers, focus-ring, chart series
- apps/web/src/shared/styles/primitives.css — empty barrel for S2-S6
  component CSS to append via @import
- apps/web/src/shared/styles/index.css — prepend @import of tokens +
  primitives; existing :root blocks untouched, zero visual regression
- apps/web/src/test/utils/{renderWithTheme,pressKey,index}.ts — shared
  test helpers consumed by subsequent sprint tests

See docs/plans/2026-04-22-design-system-v1.md §3–§4.
Register a new workspace route that renders a skeleton preview of the
token system (principles, colors, spacing, radius, shadows, typography)
and a placeholder for component primitives coming in S2-S6.

- apps/web/src/pages/DesignSystemPage.tsx — functional preview with
  design-swatch / design-spacing-row / design-radius-grid / design-
  shadow-grid / design-typography-grid sections
- apps/web/src/app/AppRoutes.tsx — register /design-system route

Follow-up sprints will plug each primitive group into this page.
- docs/design-system/README.md — scope, token quick-index, primitive
  roster with sprint ownership, a11y contract, preview entry point
- docs/design-system/CHANGELOG.md — Keep-a-Changelog format seeded with
  the S1 additions
@xuewill xuewill merged commit 9c48548 into main May 14, 2026
1 of 2 checks passed
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