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

A suggestion to alter the automatic activation of dark mode. #2

Open
yaycupcake opened this issue Nov 9, 2020 · 1 comment
Open

Comments

@yaycupcake
Copy link

Hi, I have astigmatism, which makes it hard to read dark themes. I was quite alienated tonight, accessing your site, and seeing dark mode on by default, especially with a message claiming it was a more "soothing" appearance. While I fully understand this is the case for some people, it is not the case for all people. I would suggest instead of activating it automatically based on the time of day, that you instead have the default color theme be whatever the user's preference is, based on their operating system. This is supported in most modern browsers, with the prefers-color-scheme media query. I think the time of day toggle is clever, but should only be used as a fallback, in case the user doesn't have a preference.

I do realize that I am easily able to click once and turn on the light theme. But this is about making the user experience and flow better, and less alienating to those with certain visual needs. Just looking at dark themes is often painful to my eyes, and when a light theme exists, I shouldn't really have to manually activate it, when my system preferences are set to prefer light theme already.

I understand you likely had the best intentions when writing the message about it being "soothing", but it's important to realize that when it comes to accessibility, not everyone experiences vision the same way as you might. The wording is important, as is the implementation.

@atomiks
Copy link
Owner

atomiks commented Mar 11, 2022

Late, but prefers-color-scheme didn't exist when I made this, I'd use that now. What I did in 2018 was better than doing nothing tho... and I don't have the time/energy to update this so a PR is welcome

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

No branches or pull requests

2 participants