Show HN: Cm-colors –I got tired of manually fixing wcag contrast,so I made this (github.com)

5 points by lalithaar ↗ HN
I usually look up palettes and the UI comes out nice except some color pairs don't pass wcag color contrast and well - just isn't readable Ended up writing a tiny library that automatically nudges your text color just enough to pass AA or AAA, while keeping it visually similar to the original along with a color contrast linter so we can use it in CI Thought you guys might find it useful too, it's foss :>

0 comments

[ 2.2 ms ] story [ 11.9 ms ] thread

No comments yet.