_UITheme: {
initThemeToggle: (
options?: { buttonSelector?: string; autoInitOnDomReady?: boolean },
) => void;
initAutoTheme: (themeConfig?: string) => void;
toggleTheme: () => void;
applyTheme: (theme: string, persist?: boolean) => void;
getCurrentTheme: () => string;
THEME_LIGHT: string;
THEME_DARK: string;
} = ...
Type Declaration
-
initThemeToggle: (options?: { buttonSelector?: string; autoInitOnDomReady?: boolean }) => void
-
initAutoTheme: (themeConfig?: string) => void
-
toggleTheme: () => void
-
applyTheme: (theme: string, persist?: boolean) => void
-
getCurrentTheme: () => string
-
THEME_LIGHT: string
-
THEME_DARK: string