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
..
2026-09-24 12:07:31 -07:00
2026-09-27 15:08:56 -07:00
2026-09-27 15:08:56 -07:00
2026-09-24 12:08:16 -07:00
2026-09-27 15:08:56 -07:00
2026-09-07 01:34:01 -07:00
2026-09-07 01:34:01 -07:00
2026-09-07 01:34:01 -07:00
2026-09-04 21:32:27 -07:00
2026-09-07 01:34:01 -07:00
2026-09-04 21:32:27 -07:00
2026-09-07 01:34:01 -07:00
2026-09-07 01:34:01 -07:00
2026-09-07 01:34:01 -07:00
2026-09-07 01:34:01 -07:00
2026-09-07 01:34:01 -07:00
2026-09-07 01:34:01 -07:00
2026-09-07 01:34:01 -07:00
2026-09-07 01:34:01 -07:00
2026-09-07 01:34:01 -07:00
2026-09-04 21:32:27 -07:00
2026-09-04 21:32:27 -07:00
2026-09-04 21:32:27 -07:00
2026-09-04 21:32:27 -07:00
2026-09-07 01:34:01 -07:00
2026-09-04 21:32:27 -07:00
2026-09-04 21:32:27 -07:00
2026-09-07 01:34:01 -07:00
2026-09-04 21:32:27 -07:00
2026-09-04 21:40:41 -07:00
2026-09-04 21:32:27 -07:00
2026-09-07 01:34:01 -07:00
2026-10-05 01:32:25 -07:00
2026-10-03 15:34:58 -07:00
2026-09-07 01:34:01 -07:00
2026-09-04 21:32:27 -07:00
2026-09-07 01:34:01 -07:00
2026-09-07 01:34:01 -07:00
2026-09-04 21:32:27 -07:00
2026-09-07 01:34:01 -07:00
2026-09-07 18:59:54 -07:00
2026-09-04 21:32:27 -07:00
2026-09-07 01:34:01 -07:00
2026-09-07 01:34:01 -07:00
2026-09-07 18:59:54 -07:00
2026-09-07 18:59:54 -07:00
2026-09-07 18:59:54 -07:00
2026-09-07 01:34:01 -07:00
2026-09-07 01:34:01 -07:00
2026-09-07 01:34:01 -07:00
2026-09-07 01:34:01 -07:00
2026-09-07 01:34:01 -07:00
2026-09-04 21:32:27 -07:00
2026-09-07 01:34:01 -07:00
2026-09-04 21:32:27 -07:00
2026-09-04 21:32:27 -07:00
2026-09-07 01:34:01 -07:00
2026-09-07 18:59:54 -07:00
2026-09-07 01:34:01 -07:00
2026-09-07 18:59:54 -07:00
2026-09-07 01:34:01 -07:00
2026-09-07 01:34:01 -07:00
2026-09-07 18:59:54 -07:00
2026-09-04 21:32:27 -07:00
2026-09-07 18:59:54 -07:00
2026-09-04 21:32:27 -07:00
2026-09-07 18:59:54 -07:00
2026-09-07 18:59:54 -07:00
2026-09-04 21:32:27 -07:00
2026-09-07 18:59:54 -07:00
2026-09-07 18:59:54 -07:00
2026-09-04 21:32:27 -07:00
2026-09-04 21:32:27 -07:00
2026-09-07 18:59:54 -07:00
2026-09-07 18:59:54 -07:00
2026-09-07 18:59:54 -07:00
2026-10-03 15:34:58 -07:00
2026-09-07 18:59:54 -07:00
2026-09-07 18:59:54 -07:00
2026-09-04 21:32:27 -07:00
2026-09-04 21:32:27 -07:00
2026-09-07 18:59:54 -07:00
2026-09-04 21:32:27 -07:00
2026-09-07 18:59:54 -07:00
2026-09-07 18:59:54 -07:00
2026-09-07 18:59:54 -07:00
2026-09-07 18:59:54 -07:00
2026-09-04 21:32:27 -07:00
2026-09-07 18:59:54 -07:00
2026-09-07 18:59:54 -07:00
2026-09-07 18:59:54 -07:00
2026-09-07 18:59:54 -07:00
2026-09-07 18:59:54 -07:00
2026-09-07 18:59:54 -07:00
2026-09-04 21:32:27 -07:00
2026-09-07 18:59:54 -07:00
2026-10-05 01:32:25 -07:00
2026-09-07 18:59:54 -07:00
2026-09-07 18:59:54 -07:00
2026-09-07 18:59:54 -07:00
2026-09-07 18:59:54 -07:00
2026-09-07 18:59:54 -07:00
2026-09-07 18:59:54 -07:00
2026-09-07 18:59:54 -07:00
2026-09-07 18:59:54 -07:00
2026-09-07 18:59:54 -07:00
2026-09-04 21:32:27 -07:00
2026-09-07 18:59:54 -07:00
2026-09-04 21:32:27 -07:00
2026-09-04 21:32:27 -07:00
2026-09-07 18:59:54 -07:00
2026-09-04 21:32:27 -07:00
2026-09-07 18:59:54 -07:00
2026-09-04 21:32:27 -07:00
2026-09-07 18:59:54 -07:00
2026-09-04 21:32:27 -07:00
2026-09-04 21:32:27 -07:00
2026-09-04 21:32:27 -07:00
2026-09-04 21:32:27 -07:00
2026-09-04 21:32:27 -07:00
2026-09-04 21:32:27 -07:00
2026-09-07 18:59:54 -07:00
2026-09-04 21:32:27 -07:00
2026-09-07 18:59:54 -07:00
2026-09-07 18:59:54 -07:00
2026-09-04 21:32:27 -07:00
2026-09-07 18:59:54 -07:00
2026-09-07 18:59:54 -07:00
2026-09-04 21:32:27 -07:00
2026-09-07 18:59:54 -07:00
2026-09-07 18:59:54 -07:00
2026-09-04 21:32:27 -07:00
2026-09-07 18:59:54 -07:00
2026-09-07 18:59:54 -07:00
2026-09-07 18:59:54 -07:00
2026-09-04 21:32:27 -07:00
2026-09-07 18:59:54 -07:00
2026-09-07 18:59:54 -07:00
2026-09-04 21:32:27 -07:00
2026-09-04 21:32:27 -07:00
2026-09-07 18:59:54 -07:00
2026-09-04 21:32:27 -07:00
2026-09-07 18:59:54 -07:00
2026-09-04 21:32:27 -07:00