Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Let me switch instantly between light mode during the day, and dark mode at night, using one simple toggle, or following changes in browser settings. Then the issues with how dark or how light become nearly moot.


It does follow system settings, if you’re using a browser that supports it. It works on Edge but not Chrome on my MacBook.


Chrome definitely supports the relevant media query so GitHub must be doing something unusual for it not to work there.


Yeah, Chrome doesn't seem to do it with any site for me. I wasn't sure if it was a Chrome thing or just my machine.


Hmmmmmm. Wonder why Github has bugs with the world's most popular browser, but doesn't have bugs with a (very similar) browser made by their owners ./s

(It's mostly a bug, or a setting in Chrome to not ask websites to use dark mode.)


If you use VS Code, Sundial extension does this.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: