Skip to content

Vizel API / core/src / VizelThemeProviderOptions

Interface: VizelThemeProviderOptions

Defined in: packages/core/src/theme.ts:35

Theme provider options

Extended by

Properties

defaultTheme?

ts
optional defaultTheme?: VizelTheme;

Defined in: packages/core/src/theme.ts:37

Default theme (default: "system")


disableTransitionOnChange?

ts
optional disableTransitionOnChange?: boolean;

Defined in: packages/core/src/theme.ts:43

Disable theme transitions during initial load


storageKey?

ts
optional storageKey?: string;

Defined in: packages/core/src/theme.ts:39

Storage key for persisting theme (default: "vizel-theme")


targetSelector?

ts
optional targetSelector?: string;

Defined in: packages/core/src/theme.ts:41

Target element to apply theme attribute (default: document.documentElement)

Released under the MIT License.