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