[prefers-color-scheme] Auto dark mode based on OS settings
Twitch has dark mode, but it would be great to have an option to automatically match system setting. This can be realized thought CSS media query "prefers-color-scheme".
darkMode = window.matchMedia("(prefers-color-scheme: dark)").matches; //true
nice user voice