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

Fix contrast color calculation #2923

Merged
merged 1 commit into from
Mar 2, 2025

Conversation

nickygerritsen
Copy link
Member

Before:
Screenshot 2025-02-28 at 19 37 31

After:
Screenshot 2025-02-28 at 19 37 12

I dislike the A one, but WCAG does say black is better

Copy link

github-actions bot commented Feb 28, 2025

Test Results

0 tests  ±0   0 ✅ ±0   0s ⏱️ ±0s
0 suites ±0   0 💤 ±0 
0 files   ±0   0 ❌ ±0 

Results for commit 3f87ce8. ± Comparison against base commit d211c1c.

♻️ This comment has been updated with latest results.

@meisterT
Copy link
Member

meisterT commented Mar 1, 2025

I do like the K much better, but am disappointed in the A as well, E is also slightly more legible before IMHO.

@nickygerritsen
Copy link
Member Author

It really depends on the screen. @vmcj his screen made the new A better for me

@vmcj
Copy link
Member

vmcj commented Mar 1, 2025

I propose to also compare on Kevin his openings presentation screen.
And maybe a random projector or some phones?

@nickygerritsen
Copy link
Member Author

Now with APCA standard:
image

@meisterT
Copy link
Member

meisterT commented Mar 1, 2025

Beautiful 🤩

@nickygerritsen nickygerritsen added this pull request to the merge queue Mar 2, 2025
Merged via the queue into DOMjudge:main with commit 0c5ae90 Mar 2, 2025
37 checks passed
@nickygerritsen nickygerritsen deleted the contrast-color branch March 2, 2025 12:10
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.

4 participants