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.

22 lines
370 B

5 years ago
# postcss-color-contrast-ratio
[a]: https://postcss.org
[b]: https://www.w3.org/TR/WCAG/#contrast-minimum
[PostCSS][a] plugin which allows for creation of colors based upon [WCAG contrast ratios][b].
In:
```css
body {
color: crab(5, 0, 0);
}
```
Out:
```css
body {
color: #717171;
}
```
This readme is a stub. It will contain more information in the future.