Re:Show HN: HackerDaily – What if HN updates only once a day?
by pc86 on Tuesday December 29, 2020 @07:18AM
(#25569040)
The design is honestly fantastic. Great work.
How do you enable dark mode?
Re:Show HN: HackerDaily – What if HN updates only once a day?
by RubenvanE on Tuesday December 29, 2020 @08:00AM
(#25569333)
Thank you for your kind words!
Dark mode is set using only CSS, by using prefers-color-scheme.[1] So if you've enabled dark mode on your computer/phone, the website should automatically turn dark.
[1] https://developer.mozilla.org/en-US/docs/Web/CSS/@media/pref...
I also created it to use (in my opinion) a better UI and UX, to add a dark mode, and to make it a PWA.