Below you will find pages that utilize the taxonomy term “dark-mode”
Posts
Vue.js with dark mode while taking system preference and user preference into account
tl;dr - A vue.js example of adding dark mode support to your website that takes system preference and user preference into account. See link image/svg+xml for source.
When you are developing a website with dark-mode support, there are usually two paths you can take:
Use the [prefers-color-scheme](https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-color-scheme) CSS media feature and thereby use the system preference. Use a website setting to set a .