5 ms·
Ask HN: When is HN dark mode coming?
A while back, dang mentioned that a dark mode option was going to be worked on. I'm wondering what the status of that is?
I'm aware there are extensions that will set custom css for HN, but I've had enough extensions turn in to malware that I'm wearing adding something just for a few-line CSS change.
- vanusa 6y agoIt already lets us configure the topcolor - so it shouldn't require more than a few lines of code beyond that. Perhaps someone can help the process along by posting a few working dark mode styles (based on the existing class layout)?
- csilverman 6y agobody { filter: invert(1); background: #000; } ;-)
- pwg 6y agoSetup a local UserContent.css file for yourself and you can style any website any way you like: http://kb.mozillazine.org/index.php?title=UserContent.css&printable=yes http://kb.mozillazine.org/index.php?title=UserContent.css&pr...
- rasengan 6y agoYou can type this in the console: document.body.style.filter='invert(1)'; document.body.style.backgroundColor='#000'; Thanks to csilverman for the CSS styles!
- csilverman 6y agoI’m not entirely sure that inverting everything is a sufficient implementation of dark mode, at least as far as accessibility, but you’re welcome :-)
- schmookeeg 6y agoI use a chrome extension called "High Contrast" that achieves this for any website.