2026-03-02 18:04:30 +00:00
# @veza/design-system
2026-04-27 03:10:24 +00:00
**SUMI Design System v3.0** — "Lavis d'encre" (Ink wash)
2026-03-02 18:04:30 +00:00
2026-04-27 03:10:24 +00:00
Token-only package for the Veza platform. Single source of truth for all design tokens (colors, typography, spacing, motion, elevation), authored as W3C-spec JSON tokens and compiled via Style Dictionary to CSS variables and TypeScript exports.
2026-03-02 18:04:30 +00:00
feat(v0.13.2): consolidation design system — SUMI tokens, package, stories
TASK-DS-001: Migrated packages/design-system/ from legacy Kōdō to SUMI v2.0
- New src/ structure with proper TypeScript exports
- Component type registry documenting all 40+ UI components
- cn() utility re-export
- package.json with exports map for tokens subpaths
TASK-DS-002: Extracted design tokens as TypeScript objects
- tokens/colors.ts: backgrounds, surfaces, text, pigments, semantic, glass, shadows, light theme
- tokens/typography.ts: font families, sizes, weights, line heights, letter spacings
- tokens/spacing.ts: spacing scale, radius, z-index, layout
- tokens/motion.ts: durations and easing functions
TASK-DS-003: Added missing Storybook stories
- EmptyState.stories.tsx (8 variants: default, icon, action, search, sizes, card, centered)
- ButtonLoading.stories.tsx (6 variants: default, loading, text, destructive, outline, small)
- ContentFadeIn.stories.tsx (2 variants: default, card)
- DesignTokens.stories.tsx (visual token reference: pigments, backgrounds, text, typography, spacing, radius)
- Total: 42 → 46 stories for UI components + design token showcase
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-13 08:45:09 +00:00
## Structure
```
packages/design-system/
2026-04-27 03:10:24 +00:00
├── tokens/ # SOURCE OF TRUTH (edit these)
│ ├── primitive/
│ │ ├── color.json # ink, washi, void, mizu, kin, viz, functional, alpha
│ │ ├── typography.json # Space Grotesk + Inter + JetBrains Mono scales
│ │ ├── spacing.json # 4px scale + radius + z-index
│ │ ├── motion.json # goutte/trait/lavis/vague/maree + easings
│ │ └── elevation.json # shadows + blur + opacity
│ └── semantic/
│ ├── dark.json # default :root, [data-theme="dark"]
│ └── light.json # [data-theme="light"] (washi paper)
├── dist/ # GENERATED (do NOT edit, gitignored)
│ ├── tokens.css # Unified primitive + dark + light
│ ├── tokens-{primitive,dark,light}.css
│ └── tokens.{ts,d.ts} # TS exports of resolved hex values
├── style-dictionary.config.mjs # Build config
feat(v0.13.2): consolidation design system — SUMI tokens, package, stories
TASK-DS-001: Migrated packages/design-system/ from legacy Kōdō to SUMI v2.0
- New src/ structure with proper TypeScript exports
- Component type registry documenting all 40+ UI components
- cn() utility re-export
- package.json with exports map for tokens subpaths
TASK-DS-002: Extracted design tokens as TypeScript objects
- tokens/colors.ts: backgrounds, surfaces, text, pigments, semantic, glass, shadows, light theme
- tokens/typography.ts: font families, sizes, weights, line heights, letter spacings
- tokens/spacing.ts: spacing scale, radius, z-index, layout
- tokens/motion.ts: durations and easing functions
TASK-DS-003: Added missing Storybook stories
- EmptyState.stories.tsx (8 variants: default, icon, action, search, sizes, card, centered)
- ButtonLoading.stories.tsx (6 variants: default, loading, text, destructive, outline, small)
- ContentFadeIn.stories.tsx (2 variants: default, card)
- DesignTokens.stories.tsx (visual token reference: pigments, backgrounds, text, typography, spacing, radius)
- Total: 42 → 46 stories for UI components + design token showcase
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-13 08:45:09 +00:00
└── package.json
```
## Usage
2026-04-27 03:10:24 +00:00
### CSS variables (recommended for UI)
feat(v0.13.2): consolidation design system — SUMI tokens, package, stories
TASK-DS-001: Migrated packages/design-system/ from legacy Kōdō to SUMI v2.0
- New src/ structure with proper TypeScript exports
- Component type registry documenting all 40+ UI components
- cn() utility re-export
- package.json with exports map for tokens subpaths
TASK-DS-002: Extracted design tokens as TypeScript objects
- tokens/colors.ts: backgrounds, surfaces, text, pigments, semantic, glass, shadows, light theme
- tokens/typography.ts: font families, sizes, weights, line heights, letter spacings
- tokens/spacing.ts: spacing scale, radius, z-index, layout
- tokens/motion.ts: durations and easing functions
TASK-DS-003: Added missing Storybook stories
- EmptyState.stories.tsx (8 variants: default, icon, action, search, sizes, card, centered)
- ButtonLoading.stories.tsx (6 variants: default, loading, text, destructive, outline, small)
- ContentFadeIn.stories.tsx (2 variants: default, card)
- DesignTokens.stories.tsx (visual token reference: pigments, backgrounds, text, typography, spacing, radius)
- Total: 42 → 46 stories for UI components + design token showcase
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-13 08:45:09 +00:00
2026-04-27 03:10:24 +00:00
`apps/web/src/index.css` imports the unified file:
feat(v0.13.2): consolidation design system — SUMI tokens, package, stories
TASK-DS-001: Migrated packages/design-system/ from legacy Kōdō to SUMI v2.0
- New src/ structure with proper TypeScript exports
- Component type registry documenting all 40+ UI components
- cn() utility re-export
- package.json with exports map for tokens subpaths
TASK-DS-002: Extracted design tokens as TypeScript objects
- tokens/colors.ts: backgrounds, surfaces, text, pigments, semantic, glass, shadows, light theme
- tokens/typography.ts: font families, sizes, weights, line heights, letter spacings
- tokens/spacing.ts: spacing scale, radius, z-index, layout
- tokens/motion.ts: durations and easing functions
TASK-DS-003: Added missing Storybook stories
- EmptyState.stories.tsx (8 variants: default, icon, action, search, sizes, card, centered)
- ButtonLoading.stories.tsx (6 variants: default, loading, text, destructive, outline, small)
- ContentFadeIn.stories.tsx (2 variants: default, card)
- DesignTokens.stories.tsx (visual token reference: pigments, backgrounds, text, typography, spacing, radius)
- Total: 42 → 46 stories for UI components + design token showcase
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-13 08:45:09 +00:00
2026-04-27 03:10:24 +00:00
```css
@import '@veza/design-system/tokens.css';
```
feat(v0.13.2): consolidation design system — SUMI tokens, package, stories
TASK-DS-001: Migrated packages/design-system/ from legacy Kōdō to SUMI v2.0
- New src/ structure with proper TypeScript exports
- Component type registry documenting all 40+ UI components
- cn() utility re-export
- package.json with exports map for tokens subpaths
TASK-DS-002: Extracted design tokens as TypeScript objects
- tokens/colors.ts: backgrounds, surfaces, text, pigments, semantic, glass, shadows, light theme
- tokens/typography.ts: font families, sizes, weights, line heights, letter spacings
- tokens/spacing.ts: spacing scale, radius, z-index, layout
- tokens/motion.ts: durations and easing functions
TASK-DS-003: Added missing Storybook stories
- EmptyState.stories.tsx (8 variants: default, icon, action, search, sizes, card, centered)
- ButtonLoading.stories.tsx (6 variants: default, loading, text, destructive, outline, small)
- ContentFadeIn.stories.tsx (2 variants: default, card)
- DesignTokens.stories.tsx (visual token reference: pigments, backgrounds, text, typography, spacing, radius)
- Total: 42 → 46 stories for UI components + design token showcase
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-13 08:45:09 +00:00
2026-04-27 03:10:24 +00:00
Then components reference vars via Tailwind arbitrary values or inline styles:
feat(v0.13.2): consolidation design system — SUMI tokens, package, stories
TASK-DS-001: Migrated packages/design-system/ from legacy Kōdō to SUMI v2.0
- New src/ structure with proper TypeScript exports
- Component type registry documenting all 40+ UI components
- cn() utility re-export
- package.json with exports map for tokens subpaths
TASK-DS-002: Extracted design tokens as TypeScript objects
- tokens/colors.ts: backgrounds, surfaces, text, pigments, semantic, glass, shadows, light theme
- tokens/typography.ts: font families, sizes, weights, line heights, letter spacings
- tokens/spacing.ts: spacing scale, radius, z-index, layout
- tokens/motion.ts: durations and easing functions
TASK-DS-003: Added missing Storybook stories
- EmptyState.stories.tsx (8 variants: default, icon, action, search, sizes, card, centered)
- ButtonLoading.stories.tsx (6 variants: default, loading, text, destructive, outline, small)
- ContentFadeIn.stories.tsx (2 variants: default, card)
- DesignTokens.stories.tsx (visual token reference: pigments, backgrounds, text, typography, spacing, radius)
- Total: 42 → 46 stories for UI components + design token showcase
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-13 08:45:09 +00:00
2026-04-27 03:10:24 +00:00
```tsx
< div style = {{ color: ' var ( --sumi-accent-default ) ' } } > ...< / div >
< div className = "bg-[var(--sumi-bg-card)] text-[var(--sumi-text-primary)]" > ...< / div >
feat(v0.13.2): consolidation design system — SUMI tokens, package, stories
TASK-DS-001: Migrated packages/design-system/ from legacy Kōdō to SUMI v2.0
- New src/ structure with proper TypeScript exports
- Component type registry documenting all 40+ UI components
- cn() utility re-export
- package.json with exports map for tokens subpaths
TASK-DS-002: Extracted design tokens as TypeScript objects
- tokens/colors.ts: backgrounds, surfaces, text, pigments, semantic, glass, shadows, light theme
- tokens/typography.ts: font families, sizes, weights, line heights, letter spacings
- tokens/spacing.ts: spacing scale, radius, z-index, layout
- tokens/motion.ts: durations and easing functions
TASK-DS-003: Added missing Storybook stories
- EmptyState.stories.tsx (8 variants: default, icon, action, search, sizes, card, centered)
- ButtonLoading.stories.tsx (6 variants: default, loading, text, destructive, outline, small)
- ContentFadeIn.stories.tsx (2 variants: default, card)
- DesignTokens.stories.tsx (visual token reference: pigments, backgrounds, text, typography, spacing, radius)
- Total: 42 → 46 stories for UI components + design token showcase
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-13 08:45:09 +00:00
```
2026-04-27 03:10:24 +00:00
### TypeScript imports (for canvas / runtime needs)
feat(v0.13.2): consolidation design system — SUMI tokens, package, stories
TASK-DS-001: Migrated packages/design-system/ from legacy Kōdō to SUMI v2.0
- New src/ structure with proper TypeScript exports
- Component type registry documenting all 40+ UI components
- cn() utility re-export
- package.json with exports map for tokens subpaths
TASK-DS-002: Extracted design tokens as TypeScript objects
- tokens/colors.ts: backgrounds, surfaces, text, pigments, semantic, glass, shadows, light theme
- tokens/typography.ts: font families, sizes, weights, line heights, letter spacings
- tokens/spacing.ts: spacing scale, radius, z-index, layout
- tokens/motion.ts: durations and easing functions
TASK-DS-003: Added missing Storybook stories
- EmptyState.stories.tsx (8 variants: default, icon, action, search, sizes, card, centered)
- ButtonLoading.stories.tsx (6 variants: default, loading, text, destructive, outline, small)
- ContentFadeIn.stories.tsx (2 variants: default, card)
- DesignTokens.stories.tsx (visual token reference: pigments, backgrounds, text, typography, spacing, radius)
- Total: 42 → 46 stories for UI components + design token showcase
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-13 08:45:09 +00:00
2026-04-27 03:10:24 +00:00
For contexts that can't resolve CSS vars (canvas drawing, programmatic gradients, byte interpolation):
feat(v0.13.2): consolidation design system — SUMI tokens, package, stories
TASK-DS-001: Migrated packages/design-system/ from legacy Kōdō to SUMI v2.0
- New src/ structure with proper TypeScript exports
- Component type registry documenting all 40+ UI components
- cn() utility re-export
- package.json with exports map for tokens subpaths
TASK-DS-002: Extracted design tokens as TypeScript objects
- tokens/colors.ts: backgrounds, surfaces, text, pigments, semantic, glass, shadows, light theme
- tokens/typography.ts: font families, sizes, weights, line heights, letter spacings
- tokens/spacing.ts: spacing scale, radius, z-index, layout
- tokens/motion.ts: durations and easing functions
TASK-DS-003: Added missing Storybook stories
- EmptyState.stories.tsx (8 variants: default, icon, action, search, sizes, card, centered)
- ButtonLoading.stories.tsx (6 variants: default, loading, text, destructive, outline, small)
- ContentFadeIn.stories.tsx (2 variants: default, card)
- DesignTokens.stories.tsx (visual token reference: pigments, backgrounds, text, typography, spacing, radius)
- Total: 42 → 46 stories for UI components + design token showcase
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-13 08:45:09 +00:00
2026-04-27 03:10:24 +00:00
```ts
import { ColorVizIndigo, SumiAccentDefault } from '@veza/design-system/tokens-generated';
feat(v0.13.2): consolidation design system — SUMI tokens, package, stories
TASK-DS-001: Migrated packages/design-system/ from legacy Kōdō to SUMI v2.0
- New src/ structure with proper TypeScript exports
- Component type registry documenting all 40+ UI components
- cn() utility re-export
- package.json with exports map for tokens subpaths
TASK-DS-002: Extracted design tokens as TypeScript objects
- tokens/colors.ts: backgrounds, surfaces, text, pigments, semantic, glass, shadows, light theme
- tokens/typography.ts: font families, sizes, weights, line heights, letter spacings
- tokens/spacing.ts: spacing scale, radius, z-index, layout
- tokens/motion.ts: durations and easing functions
TASK-DS-003: Added missing Storybook stories
- EmptyState.stories.tsx (8 variants: default, icon, action, search, sizes, card, centered)
- ButtonLoading.stories.tsx (6 variants: default, loading, text, destructive, outline, small)
- ContentFadeIn.stories.tsx (2 variants: default, card)
- DesignTokens.stories.tsx (visual token reference: pigments, backgrounds, text, typography, spacing, radius)
- Total: 42 → 46 stories for UI components + design token showcase
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-13 08:45:09 +00:00
2026-04-27 03:10:24 +00:00
ctx.fillStyle = ColorVizIndigo; // resolved hex string '#7c9dd6'
const accent = SumiAccentDefault; // '#0098b5'
```
feat(v0.13.2): consolidation design system — SUMI tokens, package, stories
TASK-DS-001: Migrated packages/design-system/ from legacy Kōdō to SUMI v2.0
- New src/ structure with proper TypeScript exports
- Component type registry documenting all 40+ UI components
- cn() utility re-export
- package.json with exports map for tokens subpaths
TASK-DS-002: Extracted design tokens as TypeScript objects
- tokens/colors.ts: backgrounds, surfaces, text, pigments, semantic, glass, shadows, light theme
- tokens/typography.ts: font families, sizes, weights, line heights, letter spacings
- tokens/spacing.ts: spacing scale, radius, z-index, layout
- tokens/motion.ts: durations and easing functions
TASK-DS-003: Added missing Storybook stories
- EmptyState.stories.tsx (8 variants: default, icon, action, search, sizes, card, centered)
- ButtonLoading.stories.tsx (6 variants: default, loading, text, destructive, outline, small)
- ContentFadeIn.stories.tsx (2 variants: default, card)
- DesignTokens.stories.tsx (visual token reference: pigments, backgrounds, text, typography, spacing, radius)
- Total: 42 → 46 stories for UI components + design token showcase
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-13 08:45:09 +00:00
2026-04-27 03:10:24 +00:00
## Build
feat(v0.13.2): consolidation design system — SUMI tokens, package, stories
TASK-DS-001: Migrated packages/design-system/ from legacy Kōdō to SUMI v2.0
- New src/ structure with proper TypeScript exports
- Component type registry documenting all 40+ UI components
- cn() utility re-export
- package.json with exports map for tokens subpaths
TASK-DS-002: Extracted design tokens as TypeScript objects
- tokens/colors.ts: backgrounds, surfaces, text, pigments, semantic, glass, shadows, light theme
- tokens/typography.ts: font families, sizes, weights, line heights, letter spacings
- tokens/spacing.ts: spacing scale, radius, z-index, layout
- tokens/motion.ts: durations and easing functions
TASK-DS-003: Added missing Storybook stories
- EmptyState.stories.tsx (8 variants: default, icon, action, search, sizes, card, centered)
- ButtonLoading.stories.tsx (6 variants: default, loading, text, destructive, outline, small)
- ContentFadeIn.stories.tsx (2 variants: default, card)
- DesignTokens.stories.tsx (visual token reference: pigments, backgrounds, text, typography, spacing, radius)
- Total: 42 → 46 stories for UI components + design token showcase
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-13 08:45:09 +00:00
2026-04-27 03:10:24 +00:00
```bash
npm run build:tokens --workspace=@veza/design-system
feat(v0.13.2): consolidation design system — SUMI tokens, package, stories
TASK-DS-001: Migrated packages/design-system/ from legacy Kōdō to SUMI v2.0
- New src/ structure with proper TypeScript exports
- Component type registry documenting all 40+ UI components
- cn() utility re-export
- package.json with exports map for tokens subpaths
TASK-DS-002: Extracted design tokens as TypeScript objects
- tokens/colors.ts: backgrounds, surfaces, text, pigments, semantic, glass, shadows, light theme
- tokens/typography.ts: font families, sizes, weights, line heights, letter spacings
- tokens/spacing.ts: spacing scale, radius, z-index, layout
- tokens/motion.ts: durations and easing functions
TASK-DS-003: Added missing Storybook stories
- EmptyState.stories.tsx (8 variants: default, icon, action, search, sizes, card, centered)
- ButtonLoading.stories.tsx (6 variants: default, loading, text, destructive, outline, small)
- ContentFadeIn.stories.tsx (2 variants: default, card)
- DesignTokens.stories.tsx (visual token reference: pigments, backgrounds, text, typography, spacing, radius)
- Total: 42 → 46 stories for UI components + design token showcase
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-13 08:45:09 +00:00
```
2026-04-27 03:10:24 +00:00
Triggered automatically via `turbo run build` (the apps/web build depends on this package).
feat(v0.13.2): consolidation design system — SUMI tokens, package, stories
TASK-DS-001: Migrated packages/design-system/ from legacy Kōdō to SUMI v2.0
- New src/ structure with proper TypeScript exports
- Component type registry documenting all 40+ UI components
- cn() utility re-export
- package.json with exports map for tokens subpaths
TASK-DS-002: Extracted design tokens as TypeScript objects
- tokens/colors.ts: backgrounds, surfaces, text, pigments, semantic, glass, shadows, light theme
- tokens/typography.ts: font families, sizes, weights, line heights, letter spacings
- tokens/spacing.ts: spacing scale, radius, z-index, layout
- tokens/motion.ts: durations and easing functions
TASK-DS-003: Added missing Storybook stories
- EmptyState.stories.tsx (8 variants: default, icon, action, search, sizes, card, centered)
- ButtonLoading.stories.tsx (6 variants: default, loading, text, destructive, outline, small)
- ContentFadeIn.stories.tsx (2 variants: default, card)
- DesignTokens.stories.tsx (visual token reference: pigments, backgrounds, text, typography, spacing, radius)
- Total: 42 → 46 stories for UI components + design token showcase
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-13 08:45:09 +00:00
2026-04-27 03:10:24 +00:00
## Color system — Option B palette
feat(v0.13.2): consolidation design system — SUMI tokens, package, stories
TASK-DS-001: Migrated packages/design-system/ from legacy Kōdō to SUMI v2.0
- New src/ structure with proper TypeScript exports
- Component type registry documenting all 40+ UI components
- cn() utility re-export
- package.json with exports map for tokens subpaths
TASK-DS-002: Extracted design tokens as TypeScript objects
- tokens/colors.ts: backgrounds, surfaces, text, pigments, semantic, glass, shadows, light theme
- tokens/typography.ts: font families, sizes, weights, line heights, letter spacings
- tokens/spacing.ts: spacing scale, radius, z-index, layout
- tokens/motion.ts: durations and easing functions
TASK-DS-003: Added missing Storybook stories
- EmptyState.stories.tsx (8 variants: default, icon, action, search, sizes, card, centered)
- ButtonLoading.stories.tsx (6 variants: default, loading, text, destructive, outline, small)
- ContentFadeIn.stories.tsx (2 variants: default, card)
- DesignTokens.stories.tsx (visual token reference: pigments, backgrounds, text, typography, spacing, radius)
- Total: 42 → 46 stories for UI components + design token showcase
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-13 08:45:09 +00:00
2026-04-27 03:10:24 +00:00
Per `CHARTE_GRAPHIQUE_TALAS.md` §4 (canonical brand source) + §4.5 (data viz):
### UI palette (everywhere except data viz)
feat(v0.13.2): consolidation design system — SUMI tokens, package, stories
TASK-DS-001: Migrated packages/design-system/ from legacy Kōdō to SUMI v2.0
- New src/ structure with proper TypeScript exports
- Component type registry documenting all 40+ UI components
- cn() utility re-export
- package.json with exports map for tokens subpaths
TASK-DS-002: Extracted design tokens as TypeScript objects
- tokens/colors.ts: backgrounds, surfaces, text, pigments, semantic, glass, shadows, light theme
- tokens/typography.ts: font families, sizes, weights, line heights, letter spacings
- tokens/spacing.ts: spacing scale, radius, z-index, layout
- tokens/motion.ts: durations and easing functions
TASK-DS-003: Added missing Storybook stories
- EmptyState.stories.tsx (8 variants: default, icon, action, search, sizes, card, centered)
- ButtonLoading.stories.tsx (6 variants: default, loading, text, destructive, outline, small)
- ContentFadeIn.stories.tsx (2 variants: default, card)
- DesignTokens.stories.tsx (visual token reference: pigments, backgrounds, text, typography, spacing, radius)
- Total: 42 → 46 stories for UI components + design token showcase
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-13 08:45:09 +00:00
2026-04-27 03:10:24 +00:00
The cyan **Mizu** (`#0098B5`) is the **sole** accent color. Functional colors (success/error/warning) are always diluted (max 60% opacity), never solid fills.
feat(v0.13.2): consolidation design system — SUMI tokens, package, stories
TASK-DS-001: Migrated packages/design-system/ from legacy Kōdō to SUMI v2.0
- New src/ structure with proper TypeScript exports
- Component type registry documenting all 40+ UI components
- cn() utility re-export
- package.json with exports map for tokens subpaths
TASK-DS-002: Extracted design tokens as TypeScript objects
- tokens/colors.ts: backgrounds, surfaces, text, pigments, semantic, glass, shadows, light theme
- tokens/typography.ts: font families, sizes, weights, line heights, letter spacings
- tokens/spacing.ts: spacing scale, radius, z-index, layout
- tokens/motion.ts: durations and easing functions
TASK-DS-003: Added missing Storybook stories
- EmptyState.stories.tsx (8 variants: default, icon, action, search, sizes, card, centered)
- ButtonLoading.stories.tsx (6 variants: default, loading, text, destructive, outline, small)
- ContentFadeIn.stories.tsx (2 variants: default, card)
- DesignTokens.stories.tsx (visual token reference: pigments, backgrounds, text, typography, spacing, radius)
- Total: 42 → 46 stories for UI components + design token showcase
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-13 08:45:09 +00:00
2026-04-27 03:10:24 +00:00
| Token | Role | Value |
|-------|------|-------|
| `--sumi-accent-default` | Primary actions, links, focus | Mizu cyan `#0098B5` |
| `--sumi-feedback-success` | Success states (subtle) | Diluted sage |
| `--sumi-feedback-error` | Error states (subtle) | Diluted brick |
| `--sumi-feedback-warning` | Warning states (subtle) | Diluted amber |
### Data viz palette (charts, waveforms, analytics ONLY)
For graphs and visualizations needing distinguishable colors, the 4 viz pigments + neutral are authorized:
| Pigment | Hex | Token |
feat(v0.13.2): consolidation design system — SUMI tokens, package, stories
TASK-DS-001: Migrated packages/design-system/ from legacy Kōdō to SUMI v2.0
- New src/ structure with proper TypeScript exports
- Component type registry documenting all 40+ UI components
- cn() utility re-export
- package.json with exports map for tokens subpaths
TASK-DS-002: Extracted design tokens as TypeScript objects
- tokens/colors.ts: backgrounds, surfaces, text, pigments, semantic, glass, shadows, light theme
- tokens/typography.ts: font families, sizes, weights, line heights, letter spacings
- tokens/spacing.ts: spacing scale, radius, z-index, layout
- tokens/motion.ts: durations and easing functions
TASK-DS-003: Added missing Storybook stories
- EmptyState.stories.tsx (8 variants: default, icon, action, search, sizes, card, centered)
- ButtonLoading.stories.tsx (6 variants: default, loading, text, destructive, outline, small)
- ContentFadeIn.stories.tsx (2 variants: default, card)
- DesignTokens.stories.tsx (visual token reference: pigments, backgrounds, text, typography, spacing, radius)
- Total: 42 → 46 stories for UI components + design token showcase
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-13 08:45:09 +00:00
|---------|-----|-------|
2026-04-27 03:10:24 +00:00
| Indigo | `#7c9dd6` | `--sumi-viz-indigo` |
| Vermillion | `#d4634a` | `--sumi-viz-vermillion` |
| Sage | `#7a9e6c` | `--sumi-viz-sage` |
| Gold | `#c9a84c` | `--sumi-viz-gold` |
| Neutral grey | `#a8a4a0` | `--sumi-viz-neutral` |
**These are NEVER allowed in standard UI** (buttons, links, accents). The cyan rule above stays absolute.
## Themes
- **Dark** (default) — Ink on void
- **Light** — Washi paper aesthetic (`[data-theme="light"]`)
- **Circadian + patina + density + contrast** — Runtime modifiers handled by `apps/web/src/components/theme/ThemeProvider.tsx`
feat(v0.13.2): consolidation design system — SUMI tokens, package, stories
TASK-DS-001: Migrated packages/design-system/ from legacy Kōdō to SUMI v2.0
- New src/ structure with proper TypeScript exports
- Component type registry documenting all 40+ UI components
- cn() utility re-export
- package.json with exports map for tokens subpaths
TASK-DS-002: Extracted design tokens as TypeScript objects
- tokens/colors.ts: backgrounds, surfaces, text, pigments, semantic, glass, shadows, light theme
- tokens/typography.ts: font families, sizes, weights, line heights, letter spacings
- tokens/spacing.ts: spacing scale, radius, z-index, layout
- tokens/motion.ts: durations and easing functions
TASK-DS-003: Added missing Storybook stories
- EmptyState.stories.tsx (8 variants: default, icon, action, search, sizes, card, centered)
- ButtonLoading.stories.tsx (6 variants: default, loading, text, destructive, outline, small)
- ContentFadeIn.stories.tsx (2 variants: default, card)
- DesignTokens.stories.tsx (visual token reference: pigments, backgrounds, text, typography, spacing, radius)
- Total: 42 → 46 stories for UI components + design token showcase
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-13 08:45:09 +00:00
2026-04-27 03:10:24 +00:00
## See also
feat(v0.13.2): consolidation design system — SUMI tokens, package, stories
TASK-DS-001: Migrated packages/design-system/ from legacy Kōdō to SUMI v2.0
- New src/ structure with proper TypeScript exports
- Component type registry documenting all 40+ UI components
- cn() utility re-export
- package.json with exports map for tokens subpaths
TASK-DS-002: Extracted design tokens as TypeScript objects
- tokens/colors.ts: backgrounds, surfaces, text, pigments, semantic, glass, shadows, light theme
- tokens/typography.ts: font families, sizes, weights, line heights, letter spacings
- tokens/spacing.ts: spacing scale, radius, z-index, layout
- tokens/motion.ts: durations and easing functions
TASK-DS-003: Added missing Storybook stories
- EmptyState.stories.tsx (8 variants: default, icon, action, search, sizes, card, centered)
- ButtonLoading.stories.tsx (6 variants: default, loading, text, destructive, outline, small)
- ContentFadeIn.stories.tsx (2 variants: default, card)
- DesignTokens.stories.tsx (visual token reference: pigments, backgrounds, text, typography, spacing, radius)
- Total: 42 → 46 stories for UI components + design token showcase
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-13 08:45:09 +00:00
2026-04-27 03:10:24 +00:00
- Brand source of truth: `~/Documents/TG__Talas_Group/05_EXPERIENCE_UTILISATEUR/CHARTE_GRAPHIQUE_TALAS.md`
- Brand decisions: `~/Documents/TG__Talas_Group/05_EXPERIENCE_UTILISATEUR/DECISIONS_IDENTITE.md`
- Veza UI/UX contract: `veza-docs/ORIGIN/ORIGIN_UI_UX_SYSTEM.md`
feat(v0.13.2): consolidation design system — SUMI tokens, package, stories
TASK-DS-001: Migrated packages/design-system/ from legacy Kōdō to SUMI v2.0
- New src/ structure with proper TypeScript exports
- Component type registry documenting all 40+ UI components
- cn() utility re-export
- package.json with exports map for tokens subpaths
TASK-DS-002: Extracted design tokens as TypeScript objects
- tokens/colors.ts: backgrounds, surfaces, text, pigments, semantic, glass, shadows, light theme
- tokens/typography.ts: font families, sizes, weights, line heights, letter spacings
- tokens/spacing.ts: spacing scale, radius, z-index, layout
- tokens/motion.ts: durations and easing functions
TASK-DS-003: Added missing Storybook stories
- EmptyState.stories.tsx (8 variants: default, icon, action, search, sizes, card, centered)
- ButtonLoading.stories.tsx (6 variants: default, loading, text, destructive, outline, small)
- ContentFadeIn.stories.tsx (2 variants: default, card)
- DesignTokens.stories.tsx (visual token reference: pigments, backgrounds, text, typography, spacing, radius)
- Total: 42 → 46 stories for UI components + design token showcase
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-13 08:45:09 +00:00
- Storybook: `apps/web/.storybook/`
- Component source: `apps/web/src/components/ui/`