UNPKG

fui-fancyui

Version:
22 lines (21 loc) 818 B
import { TLayer } from '../../../types/TLayer'; import { TUiColorsNotTransparent } from '../../../types/TUiColorsNotTransparent'; import { TUiColorsTypeObject } from '../../../types/TUiColorsTypeObject'; declare const themeColors: { primary: string; accent: string; secondary: string; info: string; success: string; warning: string; error: string; }; export { themeColors }; export type TthemeColorGroup = Record<TLayer, string>; export declare let uiColors: TUiColorsTypeObject; export declare function initialGenerateUiColors(): void; export declare const regenerateUiColors: (isDarkTheme: boolean) => void; export type IUiColorPops = { [key in TUiColorsNotTransparent]?: string | object; }; export declare const updateThemeColors: (colorObject: IUiColorPops) => TUiColorsTypeObject;