|
|
|
Show HN: Cm-colors –I got tired of manually fixing wcag contrast,so I made this
(github.com)
|
|
5 points
by lalithaar
199 days ago
|
|
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 :> |
|