UNPKG

@kui-shell/core

Version:

An Electron-based shell for cloud-native development

21 lines (20 loc) 527 B
/** * Return the previously selected (and persisted) choice of theme * */ export declare const getPersistedThemeChoice: () => Promise<string>; /** * Internal logic to switch themes * */ export declare const switchTo: (theme: string, saveNotNeeded?: boolean) => Promise<void>; /** * Switch to the last user choice, if the user so indicated * */ export declare const switchToPersistedThemeChoice: () => Promise<void>; /** * Reset to the default theme * */ export declare const resetToDefault: () => Promise<boolean>;