Skip to content
Koala UI now available for Mobile Apps!Check it out
Back to blog

Why your badges look great in dark mode and washed out in light mode

Dark themes hide a badge's flaws. Here are the five rules we used to rebuild the Koala UI Badge for light and cream themes, with every example running live.

JbyJordi Espinosaon
Koala
Deployments
koala-docsfeat/badgeQueuednow
Ready2h
Failed5h
Ready1d
Ready2d
Failed3d

Short answer

Dark themes hide the problem: a light pastel on near-black glows on its own, so one color can serve as tint, text and fill. On white the same color gives a tint that barely shows and a border that reads as a smudge. Give every hue three roles per theme instead: a tone for tints and dots, an ink for text that darkens along the hue's own ramp, and a solid whose text passes WCAG AA.

Share article

About Koala UI

Koala UI is a React and Figma design system: accessible components, four themes, and source code you own.

Keep reading

Earn 30% of Every Sale you Make with Koala UI.

Want to earn money with Koala UI? Our affiliate program is now available, read all the details and conditions of the program to start making money with Koala UI.

Join affiliate program