mirror of
https://github.com/hanzoai/ui.git
synced 2026-11-20 20:07:34 +00:00
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.