UNPKG

@c8y/bootstrap

Version:

Bootstrap layer

11 lines (10 loc) 542 B
export declare const localStorageKeyForThemePreference = "c8y-theme-preference"; export declare function getThemePreference(): string; export declare function setThemePreference(preference: string): void; export declare function applyTheme(newThemePreference: string | null): void; export declare function applyThemePreferenceAndListenForChanges(): void; /** * Will revert back to the light theme if the dark theme is not available. * @param options ApplicationOptions */ export declare function applyOptionsToTheming(options: any): void;