Hacker News new | ask | show | jobs
by RubenvanE 1995 days ago
Not a dumb question at all!

To keep the site as lightweight as possible, I only use CSS to enable dakr mode. This is done by using prefers-color-scheme.[1] So you can only enable dark mode by enabling it either on your computer/phone on in your browser.

Please let me know if you've any more questions! :)

[1] https://developer.mozilla.org/en-US/docs/Web/CSS/@media/pref...