Files
ui/pkgs/dashboard/gui.config.ts
zeekay c302648516 feat(dashboard): scaffold @hanzo/dashboard + charts + motion layer
Extracted from Hanzo Cloud Console (console2):
- charts/Charts.tsx: Sparkline/LineChart/BarChart/Donut/BarRows (monochrome SVG)
- motion/motion.ts: pure count-up/ring/poll-clock math
- motion/hooks.ts: useReducedMotion/usePageHidden/useCountUp/usePoll
- dashboard.css: motion keyframes (reduced-motion-guarded)
Mirrors the @hanzo/data package convention (@hanzo/gui peer, source-shipped, tsc).
2026-07-04 12:12:47 -07:00

18 lines
711 B
TypeScript

// Gui config for @hanzo/dashboard typechecking.
//
// The canonical v5 default config — the same shape Hanzo's admin SPAs use, so
// the shorthand style props (`bg`, `p`, `items`, `justify`, `rounded`, …) the
// dashboard components use typecheck against the real Gui token unions.
// Consumers supply their own config + theme at runtime; this exists so the
// library type-checks standalone. The config-type registration lives in
// `gui.d.ts` (augmenting `@hanzogui/web`), matching the @hanzo/data pattern.
import { defaultConfig } from '@hanzogui/config/v5'
import { createGui } from '@hanzo/gui'
export const config = createGui(defaultConfig)
export default config
export type Conf = typeof config