UNPKG

uu-console

Version:

An enhanced version of console.log

51 lines (50 loc) 1.59 kB
import EnumTheme from './enums/theme'; import EnumSize from './enums/size'; export { EnumSize, EnumTheme }; export declare type TColorItem = { name: string; color: string; custom: boolean; }; export declare type TLocalColorItem = Omit<TColorItem, 'custom'>; export declare type TColor = Record<string, TColorItem>; export declare type TSizeItemProps = Partial<{ fontSize: string; padding: string; [styleProperty: string]: string | number; }> | string; export declare type TSizeItem = { name: EnumSize | string; props: TSizeItemProps[]; custom: boolean; }; export declare type TLocalSizeItem = Omit<TSizeItem, 'custom'>; export declare type TSize = Record<string, TSizeItem>; export declare type TThemeItemProps = Partial<{ color: string; fontFamily: string; fontWeight: string; fontStyle: string; textShadow: string; textDecoration: string; backgroundColor: string; background: string; border: string; bordertop: string; borderRight: string; borderBottom: string; borderLeft: string; borderRadius: string; borderTopLeftRadius: string; borderTopRightRadius: string; borderBottomRightRadius: string; borderBottomLeftRadius: string; [styleProperty: string]: string | number; }> | string; export declare type TThemeItem = { name: EnumTheme | string; props: TThemeItemProps[]; custom: boolean; }; export declare type TLocalThemeItem = Omit<TThemeItem, 'custom'>; export declare type TTheme = Record<string, TThemeItem>;