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 differentiated graphs for dark and light mode #20

Merged
merged 3 commits into from
Jul 31, 2022

Conversation

setagana
Copy link
Contributor

As an initial improvement to accessibility in dark mode, all charts were given a white background to improve contrast. However github also offers the use of (prefers-color-scheme: dark) and (prefers-color-scheme: light) to have differentiated graphs for the different themes.

This PR introduces dedicated dark-mode versions of the radar graphs, and updates the md files to reference the right version based on the user's browser.

@jorgef jorgef merged commit 03d0e09 into jorgef:master Jul 31, 2022
@jorgef
Copy link
Owner

jorgef commented Jul 31, 2022

Thanks!!!

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