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

Automatic dark mode #1221

Open
rugk opened this issue May 31, 2023 · 2 comments
Open

Automatic dark mode #1221

rugk opened this issue May 31, 2023 · 2 comments
Labels
suggestion Suggestion to add a new feature or improve a current one

Comments

@rugk
Copy link

rugk commented May 31, 2023

Pitch

A dark mode for the website was implemented in https://retrospring.net/feedback/feature_requests/p/dark-theme as a custom color chooser for all modes of colors.

This is great for customisation, but I personally would just like a dark mode to make my eyes less hurt.

Furtunately there is a technical solution for that…

There is a CSS media query feature called prefers-color-scheme. It allows you to detect whether the system/user wants a dark website, so you can adjust your CSS.

Anyway, it would be great, if you could make use of it.

BTW: I also have a Firefox add-on called “Dark Mode Website Switcher” (source code) that you can use to toggle this setting in Firefox directly – without needing to change the system option. Maybe that could be helpful e.g. for debugging.

Motivation

Because when I use it in the dark/night Retrospring is like aaaaaa to my eyes, but I don't wanna change tge theme altogether. Instead at day time I would like to continue to use a light mode. (Has better contrast e.g.) Viewed in that way it is kinda an accessibility feature too.

Cross-posted to https://retrospring.net/feedback/feature_requests/p/automatic-dark-mode

@rugk rugk added the suggestion Suggestion to add a new feature or improve a current one label May 31, 2023
@pixeldesu
Copy link
Member

I plan to solve this with #224. Having the ability to save multiple themes would allow to set a theme that is applied when a users browser reports a preferred dark/light color scheme.

@canny
Copy link

canny bot commented May 31, 2023

This issue has been linked to a Canny post: Automatic dark mode 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
suggestion Suggestion to add a new feature or improve a current one
Projects
None yet
Development

No branches or pull requests

2 participants