css-theme-management
Version:
This package was created to ease the process of implementing multiple themes in an app.
12 lines (11 loc) • 470 B
TypeScript
import Theming from '../types/index';
import { ThemeManagement } from './theme_management';
export declare class ThemeManager implements ThemeManagement.IThemeManager {
private _themes;
private _themeStorageKeyword;
constructor(themes: Theming.Themes, themeStorageKeyword: string);
loadTheme(theme: string, cacheSelection: boolean): void;
cacheSelection(theme: string): void;
loadCache(): string | null;
}
export default ThemeManager;