veza/packages/design-system/package.json
senke ab923def34 chore(design-system)!: drop orphan src/ tokens (replaced by Style Dictionary)
BREAKING CHANGE: bumped to v3.0.0.

Deleted (entire orphan tree, 0 consumers across apps/web):
- src/tokens/{colors,typography,spacing,motion,index}.ts (replaced by
  generated dist/tokens.{css,ts} from tokens/*.json)
- src/components/index.ts (unused component name registry)
- src/utils.ts (cn helper — apps/web has its own at @/lib/utils)
- src/index.ts (barrel)

This removes the third contradictory palette source (the v4.0 colors.ts
that had vermillion #b83a1e as accent — never documented anywhere).

Updated:
- package.json: removed main/types/exports for src/, kept only ./tokens.css
  + ./tokens-generated. Removed clsx/tailwind-merge/typescript deps (unused).
- README.md: rewritten to reflect token-only architecture, Option B palette
  documented (UI cyan unique + data viz pigments), points to CHARTE_GRAPHIQUE
  + DECISIONS_IDENTITE for brand source of truth.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-27 05:10:24 +02:00

26 lines
728 B
JSON

{
"name": "@veza/design-system",
"version": "3.0.0",
"description": "SUMI Design System — Design tokens (single source of truth) for the Veza platform. Authored as W3C JSON tokens, compiled via Style Dictionary to CSS vars + TS exports.",
"type": "module",
"exports": {
"./tokens.css": "./dist/tokens.css",
"./tokens-generated": {
"types": "./dist/tokens.d.ts",
"default": "./dist/tokens.ts"
}
},
"files": [
"tokens/",
"dist/",
"style-dictionary.config.mjs"
],
"scripts": {
"build": "node style-dictionary.config.mjs",
"build:tokens": "node style-dictionary.config.mjs"
},
"devDependencies": {
"style-dictionary": "^4.4.0"
},
"license": "UNLICENSED"
}