Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use new colors for grade status chip #6674

Merged
merged 1 commit into from
Sep 11, 2024
Merged

Use new colors for grade status chip #6674

merged 1 commit into from
Sep 11, 2024

Conversation

acelaya
Copy link
Contributor

@acelaya acelaya commented Sep 11, 2024

The original colors used for grade chips had some accessibility issues, specifically in the contrast between the background and foreground colors of the bright green and bright red ones.

After discussing possible approaches, a new design has been provided with new colors that pass accessibility checks. This PR updates te component to use those colors.

Additionally, it defines the colors in tailwind configuration.

Before:

image

After:

image

@acelaya acelaya requested a review from marcospri September 11, 2024 08:57
Copy link
Member

@marcospri marcospri left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As a colorblind backend developer, I approve this PR.

Looks good 👍

@acelaya acelaya merged commit cf198ae into main Sep 11, 2024
9 checks passed
@acelaya acelaya deleted the grade-chip-colors branch September 11, 2024 09:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants