Skip to content

ZenFG TypeScript API / inspector / theme / InspectorTheme

Interface: InspectorTheme

Defined in: inspector/src/theme.ts:13

A partial or complete theme; no name, registration, or base preset is required.

Properties

colorScheme?

readonly optional colorScheme?: "dark" | "light"

Defined in: inspector/src/theme.ts:15

Browser appearance for native controls; mapped to --zfgi-color-scheme. Does not select a palette.


variables?

readonly optional variables?: Readonly<Partial<InspectorThemeVariables>>

Defined in: inspector/src/theme.ts:17

CSS values keyed by the documented --zfgi-* custom property names.

Open source / MIT licensed