mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-05-14 04:09:29 +02:00
1. The previous color contrast calculation function was incorrect at least for the `#84b6eb` where it output low-contrast white instead of black. I've rewritten these functions now to accept hex colors and to match GitHub's calculation and to output pure white/black for maximum contrast. Before and after: <img width="94" alt="Screenshot 2024-04-02 at 01 53 46" src=" |
||
---|---|---|
.. | ||
theme-forgejo-auto-deuteranopia-protanopia.css | ||
theme-forgejo-auto-tritanopia.css | ||
theme-forgejo-auto.css | ||
theme-forgejo-dark-deuteranopia-protanopia.css | ||
theme-forgejo-dark-tritanopia.css | ||
theme-forgejo-dark.css | ||
theme-forgejo-light-deuteranopia-protanopia.css | ||
theme-forgejo-light-tritanopia.css | ||
theme-forgejo-light.css | ||
theme-gitea-auto.css | ||
theme-gitea-dark.css | ||
theme-gitea-light.css |