News for hackers. Stuff that matters.
Re:Show HN: HackerDaily – What if HN updates only once a day? by RubenvanE on Tuesday December 29, 2020 @08:16AM (#25569454)
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...

There are no comments on this comment yet.