get-contrast
get-contrast copied to clipboard
Get the contrast ratio and WCAG score between two colors in order to ensure accessibility
types?
converting a project to typescript but not able to install get-contrast types. seems there are none? ``` npm i --save-dev @types/get-contrast npm ERR! code E404 npm ERR! 404 Not Found...
any plans to implement APCA (Advanced Perceptual Contrast Algorithm) ?

Currently the contrast threshold is hardcoded to 4.5, this could be exposed as a parameter.
Hi, I created a PR for adding types typescript for this lib... Best regards, Vincent
Bumps [semver](https://github.com/npm/node-semver) from 7.3.5 to 7.5.4. Release notes Sourced from semver's releases. v7.5.4 7.5.4 (2023-07-07) Bug Fixes cc6fde2 #588 trim each range set before parsing (@lukekarrys) 99d8287 #583 correctly parse...