learning_ai_common_plat/packages/design-tokens/package.json
saravanakumardb1 b80d249c78 feat(design-tokens): add @bytelyst/design-tokens package
- Canonical bytelyst.tokens.json with colors, typography, spacing, radius, elevation, motion, breakpoints
- loadTokens() for programmatic access
- generate.ts script outputs 4 platform formats:
  - tokens.css (CSS custom properties with --ml-* prefix)
  - tokens.ts (TypeScript constants)
  - MindLystTokens.kt (Kotlin object for KMP shared module)
  - MindLystTheme.swift (Swift structs for SwiftUI)
- Shared across LysnrAI dashboards and MindLyst native apps
2026-02-12 11:22:52 -08:00

25 lines
554 B
JSON

{
"name": "@bytelyst/design-tokens",
"version": "0.1.0",
"type": "module",
"exports": {
".": {
"import": "./dist/index.js",
"types": "./dist/index.d.ts"
},
"./tokens.json": "./tokens/bytelyst.tokens.json",
"./css": "./generated/tokens.css"
},
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"files": ["dist", "tokens", "generated", "scripts"],
"scripts": {
"build": "tsc",
"generate": "tsx scripts/generate.ts",
"test": "vitest run"
},
"devDependencies": {
"tsx": "^4.0.0"
}
}