Compute label foreground colour using WCAG rules #130
Labels
Difficulty/2:Medium
Medium ticket
Good First Issue
Suitable for first-time contributors
Help Wanted
Community help wanted
Tech/ReactJS
Type/Enhancement
New feature or improvement of existing feature
The pending update to the GitHub plugin supports a RHS that renders labels on PRs:
Unfortunately, sometimes GitHub renders different foreground colours for the given label colour:
Investigate rtsao/gh-label-svg#2 and following the WCAG algorithm proposed there to converge on the right white or black foreground colour. If we can find the authoritative algorithm, use that instead.
If you're interested please comment here and come join our "Contributors" community channel on our daily build server, where you can discuss questions with community members and the Mattermost core team. For technical advice or questions, please join our "Developers" community channel.
New contributors please see our Developer's Guide.
JIRA: https://mattermost.atlassian.net/browse/MM-19019
The text was updated successfully, but these errors were encountered: