Hacker News new | ask | show | jobs
by SurceBeats 219 days ago
Nice! We considered this exact approach but never shipped it in the end. The geolocation permission is probably unnecessary friction and probably an overkill imho... Timezone + rough location (country-level from IP) would get 95% accuracy without the prompt. Most users will bounce on that permission dialog.

Solid work though, especially the twilight transitions. Loving it!!!

1 comments

This should be an OS feature and apps should just use the system theme.
Both iOS and Android allow you to set dark mode by some schedule, and that's conveyed by their respective browsers to websites.
Well, it is in KDE + Firefox. And yeah, the simplistic idea that day = bright and night = dark fails all the time, the OS has already other settings to deal with those failures, and your site or app should just use the system theme.
It is an OS setting to follow sunrise/sunset.