7 lines
276 B
Plaintext
7 lines
276 B
Plaintext
/**
|
|
* Returns whether or not a color has bad contrast against a background
|
|
* according to a given standard.
|
|
*/
|
|
declare function hasBadContrast(color: string, standard?: 'decorative' | 'readable' | 'aa' | 'aaa', background?: string): boolean;
|
|
export default hasBadContrast;
|