Files
ui/apps/ui.hanzo.ai/package.json
zeekay e854dcdb00 Highlight ui.hanzo.ai's code with shiki in the code theme
The site drew its fences, example sources and module types through
@hanzogui/code-to-html (refractor) and coloured the tokens from its own
stylesheet. code.ts now highlights them at build with shiki in codeTheme
from @hanzo/ui/core, Dracula on dark and GitHub Light on light, the same
theme docs.hanzo.ai, hanzo.ai and platform draw. Tokens and the block's
ground are written as light-dark(), so the scheme on <html> picks the
palette; the .code token rules and code-to-html are gone, and nothing
highlights in the browser.

The CodeBlock example names codeTheme.dark rather than github-dark. The
navigation menu example stops importing navigationMenuTriggerStyle,
which 8.27.45 removed and which failed the site build.
2026-10-05 01:32:25 -07:00

36 lines
1.0 KiB
JSON

{
"name": "ui.hanzo.ai",
"private": true,
"version": "0.1.0",
"type": "module",
"description": "ui.hanzo.ai — the @hanzo/ui docs. One route per documented export, rendered to a real HTML file per route by one on Vite, built from @hanzo/ui and @hanzo/gui components.",
"scripts": {
"dev": "one dev --port 3003",
"build": "one build",
"preview": "one serve --port 3003",
"typecheck": "tsc --noEmit"
},
"dependencies": {
"@hanzo/font": "catalog:",
"@hanzo/gui": "catalog:",
"@hanzo/ui": "workspace:*",
"@hanzogui/config": "catalog:",
"@hanzogui/lucide-icons-2": "catalog:",
"@vxrn/color-scheme": "1.25.13",
"@vxrn/mdx-rust": "1.25.13",
"one": "^1.25.13",
"react": "catalog:",
"react-dom": "catalog:",
"react-hook-form": "catalog:",
"react-native-web": "catalog:",
"shiki": "catalog:",
"vite": "catalog:"
},
"devDependencies": {
"@types/node": "catalog:",
"@types/react": "catalog:",
"@types/react-dom": "catalog:",
"typescript": "catalog:"
}
}