Files
design/package.json
zeekay 96c95b31ed Arabic: the companions from @hanzo/font 1.9.4, --font-arabic first in every stack, and an arabic axis; 0.5.37
Zen draws no Arabic. tokens/fonts.css now declares Noto Kufi Arabic (the
default) and Noto Sans Arabic, each under its own family with an Arabic
unicode-range, and names --font-arabic first in the sans, mono and serif
stacks. Latin passes the companion over without a download, so an
English page fetches what it did before, and the first available font a
line box is measured from is still Zen.

The preference gains an arabic axis (kufi | sans), set by reference to
--font-arabic-kufi and --font-arabic-sans. It is its own axis because a
face and an Arabic companion are two questions: serif with Kufi is two
names, not a pairing enum. check-preference holds the axis and that
every stack names the slot first.
2026-10-22 19:34:37 -07:00

80 lines
2.1 KiB
JSON

{
"name": "@hanzo/design",
"version": "0.5.37",
"packageManager": "[email protected]",
"description": "Hanzo Design System — monochrome, dark-default tokens + components + brand assets, the single source of truth for every Hanzo surface. CSS + typed programmatic tokens.",
"license": "MIT OR Apache-2.0",
"repository": {
"type": "git",
"url": "https://github.com/hanzoai/design.git"
},
"homepage": "https://hanzo.ai",
"type": "module",
"sideEffects": [
"*.css"
],
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs",
"default": "./dist/index.js"
},
"./package.json": "./package.json",
"./styles.css": "./styles.css",
"./tokens/*": "./tokens/*",
"./components/*": "./components/*",
"./prompts/*": "./prompts/*",
"./content/*": "./content/*",
"./assets/*": "./assets/*",
"./skills/*": "./skills/*",
"./roles.css": "./roles.css"
},
"scripts": {
"gen": "node scripts/gen-tokens.mjs",
"test": "node scripts/check-tokens.mjs && node scripts/check-preference.mjs && node scripts/check-lint.mjs && node scripts/lint.mjs .",
"build": "rm -rf dist dist-cjs && pnpm gen && pnpm test && tsc -p tsconfig.json && tsc -p tsconfig.cjs.json --noCheck && node scripts/cjs.mjs && node scripts/check-dist.mjs",
"prepublishOnly": "pnpm build",
"lint": "node scripts/lint.mjs"
},
"devDependencies": {
"@hanzo/font": "^1.9.4",
"@hanzo/tokens": "^1.0.4",
"typescript": "7.0.2"
},
"files": [
"dist",
"tailwind.css",
"src",
"styles.css",
"tokens",
"components",
"prompts",
"skills",
"scripts",
"content",
"docs",
"assets",
"guidelines",
"ui_kits",
"roles.css"
],
"keywords": [
"hanzo",
"design-system",
"design-tokens",
"brand",
"monochrome"
],
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"bin": {
"hanzo-design-lint": "./scripts/lint.mjs"
}
}