UNPKG

@skbkontur/ui-kit

Version:

32 lines (31 loc) 853 B
import { DeepPartial } from '../../lib/types'; import { getCommonTheme } from './common'; export declare function getDefaultTheme(common?: DeepPartial<CommonTheme>): { common: any; button: { [key: string]: any; }; link: { [key: string]: any; }; text: { colorDefault: string; colorInvert: string; colorDisabled: string; }; checkbox: { [key: string]: any; }; input: { [key: string]: any; }; internalMenu: { [key: string]: any; }; menuItem: { [key: string]: any; }; }; export declare function mergeWithDefaultTheme({common, ...rest}: Partial<DefaultThemeType>): DefaultThemeType; export declare type CommonTheme = ReturnType<typeof getCommonTheme>; export declare type DefaultThemeType = ReturnType<typeof getDefaultTheme>;