webosbrew / pages

9 stars 5 forks source link

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

Open jamofer opened 1 month ago

jamofer commented 1 month ago

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 commented 1 month ago

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

jamofer commented 1 month ago

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

mariotaku commented 3 weeks ago

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 commented 3 weeks ago

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.