UNPKG

alouette

Version:

A modern, customizable design system built on top of NativeWind v5 with configurable defaults

9 lines • 440 B
/** Between 1 and 21. */ export declare const getContrastRatio: (color1: string, color2: string) => number; export declare const checkContrast: (foreground: string, background: string, level?: "AA" | "AAA") => { ratio: number; passes: boolean; minimumRatio: number; }; export declare const warnOnContrastIssues: (themeName: string, textColor: string, backgroundColor: string) => void; //# sourceMappingURL=colorContrast.d.ts.map