Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
0x1ceb00da
13 days ago
|
parent
|
context
|
favorite
| on:
Dark mode by local sunlight (2021)
This should be an OS feature and apps should just use the system theme.
gruez
13 days ago
|
next
[–]
Both iOS and Android allow you to set dark mode by some schedule, and that's conveyed by their respective browsers to websites.
reply
marcosdumay
13 days ago
|
prev
|
next
[–]
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.
reply
Jaxan
13 days ago
|
prev
[–]
It is an OS setting to follow sunrise/sunset.
reply
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: