587 B
587 B
Repository Instructions
UI changes
Before changing UI, themes, layout, spacing, colors, or components:
-
Read
docs/ui-design.md. -
Reuse its global design tokens; do not introduce page-specific radii, spacing, or semantic colors.
-
Update or add a failing test before changing behavior or visual rules.
-
Run:
pnpm test -- --run tests/unit/design/consistency.test.ts pnpm test -- --run tests/unit/design/contrast.test.ts pnpm check
Switches, circular progress, avatars, and other function-defined shapes are exempt from the shared radius rule.