gbif / gbif-web

Apache License 2.0
6 stars 9 forks source link

color contrast algorithm #543

Closed MortenHofft closed 1 month ago

MortenHofft commented 1 month ago

I find that the algorithm we use for calculating contrast ink is odd. It might be my eyes, but I personally find it much easer to read the white text, but the automatic one is the dark text. Chromes build in accessibility tool agrees that the dark ink has a better contrast. I disagree.

Screenshot 2024-03-25 at 20 27 52