Appearance
Functions
getEffectiveTheme()
getEffectiveTheme(
configTheme):string
Defined in: ui/theme.ts:6
Determines the effective theme to be used for tippy instances.
Parameters
configTheme
"light" | "dark" | "auto" | "material" | "translucent" | "light-border" | undefined
Returns
string
initializeThemeObserver()
initializeThemeObserver(
instances,isAutoTheme):ThemeObserverCleanup
Defined in: ui/theme.ts:23
Sets up a MutationObserver to watch for theme changes on the <html> element and updates the tippy instances accordingly.
Parameters
instances
isAutoTheme
boolean
Returns
ThemeObserverCleanup
A cleanup function to disconnect the observer.