PostCSS plugin for creating colors by WCAG contrast ratio
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
Dustin Wilson bb2c7e27df Initial commit 2 years ago
.gitignore Initial commit 2 years ago
README.md Initial commit 2 years ago
index.js Initial commit 2 years ago
package.json Initial commit 2 years ago
yarn.lock Initial commit 2 years ago

README.md

postcss-color-contrast-ratio

PostCSS plugin which allows for creation of colors based upon WCAG contrast ratios.

In:

body {
    color: crab(5, 0, 0);
}

Out:

body {
    color: #717171;
}

This readme is a stub. It will contain more information in the future.