Earlier quoted context omitted.
Append this to news.css; @media (prefers-color-scheme: dark) { body { background-color:#000; } #hnmain { background-color:#000; } a:link { color:#eee; } a:visited { color:#b2b2b2; } .default, .title, .subtext, .yclinks, .comhead { color:#a2a2a2; } .admin { color:#eee; } .pagetop { color:#222; } /* not inverted */ .c00, .c00 a:link { color:#eee; } .c5a, .c5a a:link, .c5a a:visited { color:#a5a5a5; } .c73, .c73 a:link,…
Tested thoroughly on threads and the front-page, some notes: Upvote arrows blend with white instead of transparent, giving a weird look. The orange goes well with black. Not all users might want #000, but for OLEDs it's gorgeous. The @media selector requires a OS/Browser support, to extend that a simple way is programatically add a .dark class to (edit: based on a checkbox in their profile), and add selectors with .d…
Ask HN: Dark mode for HN please?
111–120 of 469 posts
Re: Ask HN: Dark mode for HN please?
#112Earlier quoted context omitted.
That's why I use "Dark Background and Light Text". Color schemes are not as good as Dark Reader, but it doesn't noticeably affect performance.
For those initially confused (like me): this is also a Firefox extension -- https://addons.mozilla.org/en-US/firefox/addon/dark-backgrou...
Re: Ask HN: Dark mode for HN please?
#113Ok, you guys, this isn't the first time we've heard this request ( https://hn.algolia.com/?dateRange=all&page=0&prefix=true&que... ). I'm willing to do it (edit: not to change the default! just to add the option). It's just that any CSS issue that goes more than a quarter-inch deep is outside both my expertise and my interest. We can add CSS to https://news.ycombinator.com/news.css for prefers-color-scheme: dark , bu…
(I’d contribute a solution but currently moving across the country with only my phone available)
Re: Ask HN: Dark mode for HN please?
#114Earlier quoted context omitted.
Please, for God's sake, don't screw it up. I can keep up with news on this site from a 15 kb/s shared satellite link when I'm out at sea. Except perhaps for the really big threads. I love the simple interface. It's text, it's simple, it's readable, and when I hit the spacebar, it scrolls down a page. No fancy fonts, no javascript, no nothing. I love HN for its simplicity and speed. Thanks for maintaining a good engin…
I'm on board with ceasing and desisting from screwing it up.
Re: Ask HN: Dark mode for HN please?
#115Re: Ask HN: Dark mode for HN please?
#116Earlier quoted context omitted.
Tested thoroughly on threads and the front-page, some notes: Upvote arrows blend with white instead of transparent, giving a weird look. The orange goes well with black. Not all users might want #000, but for OLEDs it's gorgeous. The @media selector requires a OS/Browser support, to extend that a simple way is programatically add a .dark class to (edit: based on a checkbox in their profile), and add selectors with .d…
Blending the upvote arrow is fixed with filter:invert(1), as in my solution[1] 1. https://0x0.st/iLYb.txt
Re: Ask HN: Dark mode for HN please?
#117Ok, you guys, this isn't the first time we've heard this request ( https://hn.algolia.com/?dateRange=all&page=0&prefix=true&que... ). I'm willing to do it (edit: not to change the default! just to add the option). It's just that any CSS issue that goes more than a quarter-inch deep is outside both my expertise and my interest. We can add CSS to https://news.ycombinator.com/news.css for prefers-color-scheme: dark , bu…
Here's a version based on the one by ldd. Unlike the others I've seen posted, it maintains the original contrast, the orange header, and doesn't make the upvote button ugly. https://0x0.st/iLYb.txt EDIT: one problem. The header image on pages like[1] doesn't look good. Can you change the white background to transparency? https://news.ycombinator.com/newsfaq.html
Anyways, if @dang permits, we can start a github repo for this, until all the little issues are fixed. I just hope he sees that all of this can be done in just a few lines of code
Re: Ask HN: Dark mode for HN please?
#118https://chrome.google.com/webstore/detail/deluminate/iebboop...
I tried most of the "dark mode" chrome extensions out there and found this was the best (compatibility, performance, etc.). Not affiliated, just a happy user.
Re: Ask HN: Dark mode for HN please?
#119Earlier quoted context omitted.
Append this to news.css; @media (prefers-color-scheme: dark) { body { background-color:#000; } #hnmain { background-color:#000; } a:link { color:#eee; } a:visited { color:#b2b2b2; } .default, .title, .subtext, .yclinks, .comhead { color:#a2a2a2; } .admin { color:#eee; } .pagetop { color:#222; } /* not inverted */ .c00, .c00 a:link { color:#eee; } .c5a, .c5a a:link, .c5a a:visited { color:#a5a5a5; } .c73, .c73 a:link,…
Tested thoroughly on threads and the front-page, some notes: Upvote arrows blend with white instead of transparent, giving a weird look. The orange goes well with black. Not all users might want #000, but for OLEDs it's gorgeous. The @media selector requires a OS/Browser support, to extend that a simple way is programatically add a .dark class to (edit: based on a checkbox in their profile), and add selectors with .d…
https://pastebin.com/CKy4HQXE [I'm not parent]
let me know what you think ;D
Re: Ask HN: Dark mode for HN please?
#120Ok, you guys, this isn't the first time we've heard this request ( https://hn.algolia.com/?dateRange=all&page=0&prefix=true&que... ). I'm willing to do it (edit: not to change the default! just to add the option). It's just that any CSS issue that goes more than a quarter-inch deep is outside both my expertise and my interest. We can add CSS to https://news.ycombinator.com/news.css for prefers-color-scheme: dark , bu…
You already let us change the top bar color I preferences. Really, this is just a adding “text” and “background” colors - swapping white and black. This could be a check in preferences, load from the DB the same time as the top bar, then insert into template or however HN is organized server side. Probably It would be all server side so we shouldn’t have an issue in terms of bandwidth.
I would kindly invite you to skim the CSS suggestions that others made in the thread. It's not as simple as that.