UNPKG

form-tool

Version:

Create quickly and robustly with form hooks

85 lines (84 loc) 2.6 kB
export declare type TDefaultColor = { input?: { label?: string; input?: string; symbol?: string; primary?: string; labelLight?: string; labelHight?: string; labelError?: string; inputHight?: string; placeholder?: string; inputBorder?: string; symbolHight?: string; tooltipColor?: string; tooltipBorder?: string; inputBorderError?: string; inputBorderSuccess?: string; inputBackgroundColor?: string; tooltipColorBoxShadow?: string; tooltipBackgroundColor?: string; inputBackgroundColorDisabled?: string; inputBackgroundColorDisabledClick?: string; }; select?: { label?: string; danger?: string; select?: string; symbol?: string; primary?: string; labelLight?: string; labelHight?: string; labelError?: string; neutral10?: string; neutral20?: string; neutral30?: string; neutral40?: string; neutral50?: string; neutral60?: string; neutral70?: string; neutral80?: string; neutral90?: string; dangerLight?: string; selectHight?: string; symbolHight?: string; tooltipColor?: string; selectBorder?: string; tooltipBorder?: string; selectBorderError?: string; tooltipColorBoxShadow?: string; selectBackgroundColor?: string; tooltipBackgroundColor?: string; selectBackgroundColorDisabled?: string; }; loading?: { color?: string; }; textarea?: { label?: string; textarea?: string; symbol?: string; primary?: string; labelLight?: string; labelHight?: string; labelError?: string; textareaHight?: string; placeholder?: string; textareaBorder?: string; symbolHight?: string; tooltipColor?: string; tooltipBorder?: string; textareaBorderError?: string; textareaBorderSuccess?: string; textareaBackgroundColor?: string; tooltipColorBoxShadow?: string; tooltipBackgroundColor?: string; textareaBackgroundColorDisabled?: string; textareaBackgroundColorDisabledClick?: string; }; }; export declare class InitConfigColor { private static defaultColors; static getColors(): TDefaultColor; static configColors(newStyles: TDefaultColor): void; }