getEffectiveTheme
FitFileViewer - API Documentation v29.4.0
FitFileViewer - API Documentation / utils/theming/core/theme / getEffectiveTheme
Function: getEffectiveTheme()
getEffectiveTheme(
theme?:string|null):string
Defined in: utils/theming/core/theme.js:93
Get the effective theme (resolves 'auto' to actual theme)
Parametersβ
theme?β
The theme preference
string | null
Returnsβ
string
'dark' or 'light'