v1.1.4 — The OP badge stays readable on any forum color.
Fixed
- Readable badge on light primary colors. The badge used the forum's primary color with white text, so on lighter primaries the text fell below the WCAG AA contrast minimum (4.5:1) and accessibility checkers flagged it. The badge now darkens the primary color only as much as needed to reach 4.5:1. On very light primaries, such as yellow, it keeps the color and switches to black text. Darker primaries look exactly as before.
After updating
Run php flarum cache:clear. There are no database changes in this release.
Update
composer update linkrobins/op
Release notes on GitHub: https://github.com/linkrobins/OP/releases/tag/v1.1.4
On Packagist: https://packagist.org/packages/linkrobins/op