Files
commerce/app/site/gui.d.ts
zeekay 1943f1c093 Hanzo Commerce
Multi-tenant commerce and billing: orders, subscriptions, invoices, plans,
usage metering and a credit ledger. One Go binary. MIT OR Apache-2.0.

Claude-Session: https://claude.ai/code/session_01SAtaDFm8VDiWrhYHNNtxMw
2026-09-23 21:52:16 -07:00

20 lines
669 B
TypeScript

/**
* Registers THE shared Gui scale with the type system so shorthand style props
* (tokens, themes, bg/px/py/items/justify etc.) are typed correctly.
*
* The config is `@hanzo/ui/gui-config` — the one type, radius and spacing scale
* that ships WITH the components, so this site cannot drift from the Commerce
* admin or the console. A local copy would be a fork.
*
* GuiCustomConfig is declared in @hanzogui/web and flows through @hanzo/gui.
*/
import type { Conf } from '@hanzo/ui/gui-config'
declare module '@hanzogui/web' {
interface GuiCustomConfig extends Conf {}
}
declare module '@hanzogui/core' {
interface GuiCustomConfig extends Conf {}
}