Ask HN: Dark Mode for HN is overdue

46 points | by florians 9 hours ago ago

35 comments

  • postalcoder 2 hours ago

    I've been actively developing https://hcker.news, a replacement for the hacker news frontpage. It does its best to be familiar with the hn reading experience while adding a lot of missing features.

    A lot of people use it on the regular and I have been lucky to have a lot of their feedback since I shared it here a few months ago.

    I just added support for comments too! I'd love to know what folks think.

  • theturtlemoves 6 hours ago

    Personally, I think dark mode is unnecessary feature creep. But it's also because I never use it and hate it when it's the default and I have to go hunt for the hidden button to switch it off: I need lots of light, otherwise letters get blurry for me, so I'm just another biased human being =)

  • dzonga 8 minutes ago

    i'm sure you know you can add custom css sheets ? through bookmarklets

  • bob1029 6 hours ago

    You are allowed to reduce your display brightness. I run my iPhone at the lowest possible setting at night (right now). Try it sometime. It might seem really dim at first but your eyes will adjust in a few minutes.

    I think dark mode can be deceptive. Blazing hot white text on a pitch black oled background is like visual caffeine to me. I would not want to be staring at this if I was adjacent to bedtime.

    • szszrk 6 hours ago

      Why doesn't HN support reading mode in Firefox, anyway?

      Dimming doesn't solve much.

      I won't dim screen every time I switch apps. It doesn't work when you use multiple apps side-by-side (which is nowadays a thing even on mobile/tables). It doesn't bring relief to people that have visual problems that can be fixed with dark mode (I am super annoyed by floaters that I don't notice 95% of the time. Except from very bright websites like HN).

      > Blazing hot white text on a pitch black oled background is like visual caffeine to me.

      Same thing for me and my vision - I just can't use pure dark themes. But there is so much middle-ground here.

    • ungreased0675 6 hours ago

      The display brightness doesn’t go dim enough

      • joker99 10 minutes ago

        I‘d also like a dark mode.

        And: on iOS you can reduce the white point quite a bit which makes the display appear very dark indeed. You can even tie it to a shortcut which is quite handy

      • burnt-resistor 3 hours ago

        On iPhone/iPad, use the zoom accessibility feature set to 1x but with the darken filter on.

        On Mac, there's an app old app that still works called Shady to get darker than normal.

    • hdgvhicv 5 hours ago

      I triple click my power button and it inverts colours, does the job reasonably enough.

    • brador 4 hours ago

      iPhone min brightness setting still flashes the screen at max brightness, just at a slower rate so you perceive it as less bright, but it’s actually still burning your retina at max light output of the OLED on each flash.

      Look it up.

  • Jean-Papoulos 5 hours ago
    • 1GZ0 5 hours ago

      Darkreader plus 150-200% zoom and you have something pretty usable on hidpi displays. You could always try making your own frontend for HN, it's pretty trivial :)

  • VerifiedReports 6 hours ago

    It's sad that everyone has to run around implementing hard-coded "dark themes" 30 years after computers users could routinely set up system-wide color schemes themselves.

    • walletdrainer 4 hours ago

      The whole point here is for websites to respect those user configured system-wide color schemes.

      This is why prefers-color-scheme exists.

  • lwansbrough 5 hours ago

    I see a lot of people in here saying no. Just don’t use it if you don’t want it. It’s really that simple. This is a very simple feature request for HN.

  • arooaroo 3 hours ago

    I put my phone’s brightness down to minimum at night. Nonetheless I use HN purposely as a dim light when the phone’s torch would be too bright and a beige glow does the job splendidly. (Typically, when I’m moving around the house late at night and everyone else is asleep - when pitch black the torch is too extreme.)

    That said, given the amount of time I spend reading on the site I do wish there was a dark mode option.

  • Bender 2 hours ago

    This is the dark mode ublock I use [1] along with a few other uBlock+HN related things. Adjust as needed. I assume most browsers have support for uBlock.

    [1] - https://mirror.newsdump.org/hn-ublock-colors-other.txt

  • HelloUsername 6 hours ago

    One can always add those stylesheets themselves in their browser, or through the uBlock Origin extension. Otherwise (one of the many darkmode extensions) "Dark Reader" is available for Safari (macOS and iOS), Microsoft Edge, Google Chrome, and Mozilla Firefox (Windows, macOS, Android). On iOS you can also use Firefox (or Brave) that has builtin darkmode for all websites.

  • f30e3dfed1c9 8 hours ago

    Just use a browser that lets you apply a custom style sheet and apply one.

    • specproc 7 hours ago

      I think the point is that it's a very simple interface. I'm in the camp of it ain't broke, so let's not fix it.

      It gives you an API, doesn't get in your way if you wanna add CSS. Everyone is free to consume HN as they they please, adding extra cruft really isn't in the spirit.

  • avocadoLife 5 hours ago

    If you're on firefox, this extension is lovely https://www.modernhn.com/

  • riidom 6 hours ago

    While there are options, and pretty much all of them mentioned several times here (going the darkreader route myself) - it is no complex task for someone who has done CSS before, on a site like HN.

  • fainpul 6 hours ago

      ! dark mode (adapts to your browser preference)
      news.ycombinator.com##html:matches-media((prefers-color-scheme: dark)):style(filter: invert(90%) hue-rotate(180deg))
  • a1n 2 hours ago

    I use octal app for this

  • vednig 7 hours ago

    just go to https://hacked.stream if you need it, you'll still need to upvote via HN interface until proxy is implemented

    • calmingsolitude 5 hours ago

      Visiting this site on mobile is not great. A good portion of the screen is covered by a sticky header and there is no underline or feedback when a link is clicked. Additionally, it is missing the story position and with infinite scroll there is no way to differentiate whether you are looking at the 10th story or the one in the 100th position.

  • setnone 5 hours ago

    A quote from the post you mentioned > I don't want my eyes to burn when I'm browsing HN at night on my phone

    Is it just me who feels completely opposite? I struggle to read dark, text-heavy websites for the exact same reason.

    Also, if dark mode ends up happening, please put the checkbox on the account page, the UI is busy enough :)

  • coolThingsFirst 7 hours ago

    No, dark mode is redundant and makes sites feel too new-agey.

  • squigz 6 hours ago

    Use https://darkreader.org/

    Automagic dark mode on every site

  • busymom0 7 hours ago

    I recently built a site for myself which defaults to dark mode and shows me the top posts from HN, Lobste.rs, Tildes, SlashDot, Bear and a few tech/STEM related subreddits in a time-ordered list. Maybe you will find its useful:

    https://limereader.com/

  • pvdebbe 3 hours ago

    I checked my calendar. It didn't say anything about dark modes. What does the current year have to do with anything?

    • chistev 2 hours ago

      Nice joke. I'll steal it