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

Possibility to toggle between current dark theme and light theme #24

Open
jamofer opened this issue Jun 4, 2024 · 4 comments
Open

Possibility to toggle between current dark theme and light theme #24

jamofer opened this issue Jun 4, 2024 · 4 comments

Comments

@jamofer
Copy link

jamofer commented Jun 4, 2024

People who have astigmatism or high-order aberrations can't properly read light text on a dark background.

I have high-order aberrations, and I can confirm that the website with the current color scheme is impossible to look at for more than a minute. It takes a big effort to read it.

@Dystopian
Copy link

@jamofer
I use https://addons.mozilla.org/ru/firefox/addon/togglewebsitecolors/ for Firefox, it helps me with about 90% of dark sites.

@jamofer
Copy link
Author

jamofer commented Jun 4, 2024

Thank you very much! I don't know why I didn't try to search something like that before. It works perfectly!

@mariotaku
Copy link
Member

Hi @jamofer , would you mind sharing the page after you apply the color fix? I'll consider adding styles to support prefers-color-scheme.

@jamofer
Copy link
Author

jamofer commented Jun 11, 2024

Sure. After using the suggested addon I see the page like this:
imagen

All backgrounds change to white and font color to black.

And the following screenshot is after applying this css change:

html {
  background-color:#fff;  /* <---- */
  color:#000;  /* <---- */
  font-family:helvetica neue,Helvetica,Arial,sans-serif
}

footer {
  color:#333;  /* <---- */
  font-size:small
}

imagen

I think it looks better than the first option with the Firefox addon and for me is good enough for reading with my condition.

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

3 participants