UNPKG

@devfamily/admiral

Version:

Admiral is a frontend framework for creating back office using React. It provides out-of-the-box components and tools that make developing an admin interface easy and fast.

17 lines (16 loc) 479 B
import { ThemePreset as ThemePresetType } from '@consta/uikit/Theme'; export interface ContextState { theme: ThemePresetType; themeClassNames: ThemePresetType; themeName: ThemeName; setTheme: (name: ThemeName) => void; } export interface ProviderProps { presetName?: ThemeName; presets?: { light: ThemePreset; dark: ThemePreset; }; } export declare type ThemeName = 'light' | 'dark'; export declare type ThemePreset = ThemePresetType;