@compositive/foundation
Version:
Compositive framework foundation package.
12 lines • 457 B
TypeScript
import type { ContrastChecker } from "./types";
/**
* Estimates contrast between two colors using calculations in the CIECAM02 space.
* The contrast level is a number between 0 and 100.
*
* @param background - Background color
* @param foreground - Foreground color
*
* @deprecated This will be replaced by the new SAPC contrast checker.
*/
export declare const getCIECAM02Contrast: ContrastChecker;
//# sourceMappingURL=getCIECAM02Contrast.d.ts.map