Story

Show HN: Cm-colors –I got tired of manually fixing wcag contrast,so I made this

lalithaar Monday, December 01, 2025

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 :>

Summary
The article discusses the Comfort Mode Toolkit, an open-source project that provides a set of color palettes designed to promote a comfortable and soothing digital experience. The toolkit aims to help developers and designers create user interfaces that are visually pleasing and easy on the eyes.
4 0
Summary
github.com
Visit article Read on Hacker News