codimd
codimd copied to clipboard
Contrast ratio is low when use alert area with link in dark mode
trafficstars
Low contrast ratio of link text is difficult to read in the Dark Mode 😵 :

I try to reach WCAG AA level for each alert (ratio over 4.5)
.night .alert a {
color: #0065BD;
}

Contrast Checker
alert-success ratio: 4.89 alert-info ratio: 4.84 alert-warning ratio: 5.47 alert-danger ratio: 4.52
Hi @WillGoGithub,
Thanks for bringing this up. Feel free to open PR, we are happy to review it.