nightwalker
nightwalker copied to clipboard
[Feature Request]: Respect Browser / System Theme
Detect browser light or dark mode and respond to this with a light theme if the browser theme is light, or dark theme if browser theme is dark.
Thanks for the work on the theme!
This is implemented in the next update.
I actually solved this one. You can define root colours by using this technique.
https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-color-scheme
More examples and junk here: https://css-tricks.com/a-complete-guide-to-dark-mode-on-the-web/
https://github.com/repslet/nightwalker/pull/9