Migrate from deprecated @hanzo/mdx + @hanzo/ui to the new
@hanzo/docs (16.4.1), @hanzo/docs-mdx (14.2.8), and
@hanzo/docs-ui (16.5.3) package stack. Update all import paths
to use correct subpath exports and switch CLI from hanzo-mdx
to docs-mdx.
Consolidate to single @hanzo/docs package with subpath exports:
- @hanzo/docs/core/* for core functionality
- @hanzo/docs/ui/* for UI components
- @hanzo/docs/mdx/* for MDX processing
Uses hanzo-docs CLI instead of fumadocs-mdx for build commands.
Use Hanzo's own documentation framework fork for better integration
with existing @hanzo/ui components and consistent theming.
- Replace fumadocs-core with @hanzo/docs-core
- Replace fumadocs-ui with @hanzo/docs-ui
- Replace fumadocs-mdx with @hanzo/docs-mdx
- Create local Logo component with Lux triangle SVG
- Remove @luxfi/logo dependency to fix CI build
- Update pnpm-lock.yaml
- Logo uses currentColor for proper dark mode support
- Import fumadocs-ui/style.css for proper layout and components
- Add @luxfi/logo package and use Logo component in nav
- Set sidebar to pure black (#000) for both light and dark modes
- Update semantic color tokens for better consistency
- Replace lucide Zap icon with official Lux triangle logo
- Ready to be forked as template for other Lux protocol docs
- Removed @hanzo/ui dependency (peer dependency conflicts)
- Upgraded fumadocs-core, fumadocs-mdx, fumadocs-ui to v16
- Upgraded tailwindcss to v4.1.17
- Converted Tailwind config to CSS-based @theme syntax for v4
- Fixed generateStaticParams API for fumadocs-mdx v12+
Note: Build still hangs at "Creating an optimized production build" phase.
This appears to be a Turbopack issue with Next.js 16. Investigation ongoing.
Related: Updated @hanzo/ui peer dependencies to support Next 16 and React 19
(changes in ~/work/hanzo/ui/pkg/ui/package.json - not committed here)