okfde / froide

Freedom Of Information Portal
MIT License
362 stars 86 forks source link

Dark mode (prefers-color scheme) #411

Open rugk opened 3 years ago

rugk commented 3 years ago

A dark mode for the website would be great.

There is a relatively new 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.

arnese commented 5 months ago

We have a dark mode by now, can be set in the footer. But still some work to do.