Skip to content

Add differentiated graphs for dark and light mode#20

Merged
jorgef merged 3 commits intojorgef:masterfrom
setagana:differentiated-graphs
Jul 31, 2022
Merged

Add differentiated graphs for dark and light mode#20
jorgef merged 3 commits intojorgef:masterfrom
setagana:differentiated-graphs

Conversation

@setagana
Copy link
Copy Markdown
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
Copy Markdown
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