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

Add controls to hide combinations not meeting a contrast threshold #8

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

extra808
Copy link

I thought it would be helpful to add the ability to hide color combinations in the grid that fail to meet a threshold based on the WCAG color contrast calculation. In addition to having buttons to set the threshold at values specified in WCAG criteria (3:1, 4.5:1, 7:1), I included a "range" input so any contrast value can be used.

Here's a copy of this contrast grid branch, I tweaked the URLs so it wouldn't have to be at the root of a domain.

@netlify
Copy link

netlify bot commented Jun 17, 2022

Deploy Preview for dazzling-hermann-6e0d29 ready!

Name Link
🔨 Latest commit 99d4abf
🔍 Latest deploy log https://app.netlify.com/sites/dazzling-hermann-6e0d29/deploys/62acb6d0ccd1810007eecedc
😎 Deploy Preview https://deploy-preview-8--dazzling-hermann-6e0d29.netlify.app/
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@mherchel
Copy link
Owner

Ha! Somehow I missed this PR. Will set a reminder to give a review shortly :)

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.

None yet

2 participants