Interface: ThemeScriptConfig
Defined in: ssrScript.ts:14
Configuration for the SSR bootstrap script.
Properties
defaultMode?
optionaldefaultMode?:ThemeMode
Defined in: ssrScript.ts:18
Mode to use when no persisted value is found.
Default
'system'
defaultTheme?
optionaldefaultTheme?:string
Defined in: ssrScript.ts:16
Theme identifier written to data-tt-theme. When omitted, data-tt-theme is not written.
storageKey?
optionalstorageKey?:string
Defined in: ssrScript.ts:20
localStorage key. Must match the runtime's storageKey.
Default
'tt-theme'