Skip to main content

Interface: ThemeScriptConfig

Defined in: ssrScript.ts:14

Configuration for the SSR bootstrap script.

Properties

defaultMode?

optional defaultMode: ThemeMode

Defined in: ssrScript.ts:18

Mode to use when no persisted value is found.

Default

'system'

defaultTheme?

optional defaultTheme: string

Defined in: ssrScript.ts:16

Theme to use when no persisted value is found.

Default

'default'

storageKey?

optional storageKey: string

Defined in: ssrScript.ts:20

localStorage key. Must match the runtime's storageKey.

Default

'tt-theme'