News for hackers. Stuff that matters.
Re:Show HN: I built a minimal Twitter web app with few rules by xwx on Monday May 25, 2020 @05:03PM (#23304963)
The prefers-color-scheme CSS media feature could be a way of doing this without requiring any additional action from the user. The spec is still a draft but it has decent browser support.

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

There are no comments on this comment yet.