Files
design/tsconfig.json
zeekayandHanzo Dev 685a6809bf feat: typed programmatic token API generated from the CSS tokens (0.2.0)
Adds a code layer to @hanzo/design: scripts/gen-tokens.mjs parses tokens/*.css
into typed TS (src/tokens.gen.ts), src/index.ts exposes colors/spacing/radius/
zIndex/... + cssVar()/tokenValue()/injectDesignCss(). One source (the CSS), TS
derived, so the stylesheet and code can never drift. Additive — CSS exports
unchanged. Makes hanzoai/design the programmatic control plane for look & feel.

Co-authored-by: Hanzo Dev <[email protected]>
2026-07-24 22:51:16 -07:00

19 lines
431 B
JSON

{
"compilerOptions": {
"target": "ES2022",
"module": "ESNext",
"moduleResolution": "Bundler",
"lib": ["ES2022", "DOM"],
"declaration": true,
"declarationMap": true,
"outDir": "./dist",
"rootDir": "./src",
"strict": true,
"esModuleInterop": true,
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true
},
"include": ["src/**/*"],
"exclude": ["dist", "node_modules"]
}