mirror of
https://github.com/hanzoai/brand.git
synced 2026-10-23 03:05:28 +00:00
variables.css was a hand-authored palette that had drifted from the system — a purple accent, a Zen type stack, blue/amber status hues, its own surface blacks. It is now @hanzo/tokens' generated bundle, re-emitted by scripts/gen-variables.mjs, so the Go dashboards that vendor this sheet (ci/cd/git) share the one monochrome palette. A short compatibility block aliases the legacy names those consumers still reference (--hanzo-accent -> the ink, --error/--success -> the state hues, --border-hairline -> --border, ...) onto the generated tokens, so nothing that links this sheet stops resolving. Edit @hanzo/tokens src/theme.ts and run `pnpm gen`. Co-authored-by: Hanzo Dev <[email protected]>
133 lines
3.1 KiB
JSON
133 lines
3.1 KiB
JSON
{
|
|
"name": "@hanzo/brand",
|
|
"version": "1.4.9",
|
|
"packageManager": "[email protected]",
|
|
"description": "Official brand assets and design system for Hanzo AI",
|
|
"main": "dist/index.js",
|
|
"module": "dist/index.mjs",
|
|
"types": "dist/index.d.ts",
|
|
"bin": {
|
|
"hanzo-brand": "dist/cli.js"
|
|
},
|
|
"exports": {
|
|
".": {
|
|
"import": {
|
|
"types": "./dist/index.d.mts",
|
|
"default": "./dist/index.mjs"
|
|
},
|
|
"require": {
|
|
"types": "./dist/index.d.ts",
|
|
"default": "./dist/index.js"
|
|
}
|
|
},
|
|
"./brand.json": "./brand.json",
|
|
"./brand-id": {
|
|
"import": {
|
|
"types": "./dist/brand-id.d.mts",
|
|
"default": "./dist/brand-id.mjs"
|
|
},
|
|
"require": {
|
|
"types": "./dist/brand-id.d.ts",
|
|
"default": "./dist/brand-id.js"
|
|
}
|
|
},
|
|
"./registry": {
|
|
"import": {
|
|
"types": "./dist/registry.d.mts",
|
|
"default": "./dist/registry.mjs"
|
|
},
|
|
"require": {
|
|
"types": "./dist/registry.d.ts",
|
|
"default": "./dist/registry.js"
|
|
}
|
|
},
|
|
"./marks": {
|
|
"import": {
|
|
"types": "./dist/marks.d.mts",
|
|
"default": "./dist/marks.mjs"
|
|
},
|
|
"require": {
|
|
"types": "./dist/marks.d.ts",
|
|
"default": "./dist/marks.js"
|
|
}
|
|
},
|
|
"./hero": {
|
|
"import": {
|
|
"types": "./dist/hero.d.mts",
|
|
"default": "./dist/hero.mjs"
|
|
},
|
|
"require": {
|
|
"types": "./dist/hero.d.ts",
|
|
"default": "./dist/hero.js"
|
|
}
|
|
},
|
|
"./loader": {
|
|
"import": {
|
|
"types": "./dist/loader.d.mts",
|
|
"default": "./dist/loader.mjs"
|
|
},
|
|
"require": {
|
|
"types": "./dist/loader.d.ts",
|
|
"default": "./dist/loader.js"
|
|
}
|
|
},
|
|
"./assets/*": "./assets/*",
|
|
"./styles/*": "./styles/*"
|
|
},
|
|
"files": [
|
|
"dist",
|
|
"assets",
|
|
"fonts",
|
|
"styles",
|
|
"brand.json"
|
|
],
|
|
"scripts": {
|
|
"gen": "node scripts/gen-variables.mjs",
|
|
"build": "pnpm gen && tsup src/index.ts src/loader.ts src/hero.ts src/cli.ts src/brand-id.ts src/registry.ts src/marks.ts --format cjs,esm --dts --clean",
|
|
"dev": "tsup src/index.ts src/loader.ts src/hero.ts src/cli.ts src/brand-id.ts src/registry.ts src/marks.ts --format cjs,esm --dts --watch",
|
|
"lint": "eslint src",
|
|
"type-check": "tsc --noEmit",
|
|
"test": "pnpm build && node --test test/*.test.mjs"
|
|
},
|
|
"keywords": [
|
|
"hanzo",
|
|
"brand",
|
|
"design-system",
|
|
"ui",
|
|
"assets",
|
|
"logo",
|
|
"colors",
|
|
"typography"
|
|
],
|
|
"author": "Hanzo AI",
|
|
"license": "MIT",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/hanzoai/brand"
|
|
},
|
|
"homepage": "https://github.com/hanzoai/brand",
|
|
"devDependencies": {
|
|
"@types/node": "catalog:",
|
|
"@types/react": "catalog:",
|
|
"eslint": "catalog:",
|
|
"react": "catalog:",
|
|
"tsup": "catalog:",
|
|
"typescript": "catalog:"
|
|
},
|
|
"peerDependencies": {
|
|
"react": ">=19.2.8"
|
|
},
|
|
"peerDependenciesMeta": {
|
|
"react": {
|
|
"optional": true
|
|
}
|
|
},
|
|
"publishConfig": {
|
|
"access": "public",
|
|
"registry": "https://registry.npmjs.org/"
|
|
},
|
|
"dependencies": {
|
|
"@hanzo/logo": "catalog:"
|
|
}
|
|
}
|