UNPKG

antd-color-editor

Version:

An open-source color editor for designing color system

13 lines (12 loc) 306 B
export interface IReadable { aa: boolean; aaLarge: boolean; aaSmall: boolean; aaa: boolean; aaaLarge: boolean; aaaSmall: boolean; cts: string; result: 'AAA' | 'AA' | 'Fail'; shield: string; } export declare const readable: (color1: string, color2: string) => IReadable;