-
-
Notifications
You must be signed in to change notification settings - Fork 49
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
Add support for dark mode #207
Comments
I have found https://github.com/tolking/vuepress-theme-default-prefers-color-scheme which seems to add the prefers-colors-scheme mediea query to the default theme. |
This plugin is for VuePress 1.x ;) |
I think we had some more issues where 1.x was topic. |
I see https://next.openhab.org/ now has a proper dark mode so this issue should be fixed soon. 😎 |
At night the website (especially documentation) can be blinding to the eyes. Maybe we can also support dark mode?
Such a user preference can be detected using the prefers-color-scheme user preference media query. Detection is currently supported by ~76% of all browsers used world wide (see caniuse). For some examples see also MDN.
The text was updated successfully, but these errors were encountered: