Six Levels of Dark Mode (2024)

(cssence.com)

50 points | by Akcium 7 hours ago

10 comments

  • chrismorgan 20 minutes ago
    > Dedicated files make sense if you do a lot of customization. The browser may ignore any CSS file that does not match the query, so there’ll be one less thing to download.

    That’s not how it actually works: in practice, browsers download them all. They may prioritise them differently, but they’ll still download them all in the end.

  • zamalek 2 hours ago
    Is there still no way to prevent the flash bang while waiting for initial content from the server?
    • silverwind 1 hour ago
      Use `background-color` in Firefox's `userContent.css`.
      • zamalek 11 minutes ago
        I love the idea of ending it for myself, but my users are still screwed?
    • pocksuppet 2 hours ago
      Decrease screen brightness. Turn off dark mode. No flashbang. Bonus: Battery lasts longer.
  • apparent 3 hours ago
    I thought this was going to be about how people prefer different levels of blackness for the background in dark mode. I've heard people say that pure black is more battery efficient for OLED displays (but don't know if this is true), and I know some folks prefer a less-inky grey.

    I was wondering how there could be six levels though; I'd think 3 or 4 would be the most anyone could notice or care about.

    • layer8 1 hour ago
      The more universal solution would be to standardize Reader Mode compatibility, and for browsers to let users configure how they want Reader Mode to look.

      In other words, instead of an n x m solution where every web site has to cater to each different user preference, there should be a simplified content view that every web site only has to support in a singular way, and that allows browsers to cater to the various user preferences.

    • t-writescode 58 minutes ago
      for OLEDs, I tend to prefer pure black because it doesn't burn-in. Since they have a limited lifetime, any "on" time is costing me usage in the long-long-long run and I'd rather have my monitor last 5+ years than ... 2 or 3.
  • yyy888sss 2 hours ago
    Level 9 (or 0): Turn off the computer and go to sleep.
  • gwern 3 hours ago
    Glad OP got the tri-state toggle right!
  • sambellll 3 hours ago
    Would've been cool if the levels came into effect while you scrolled down the page
    • jagged-chisel 1 minute ago
      Or were selectable by the reader at each appropriate position in the page.
  • stevage 2 hours ago
    It's 8 levels though?
  • everybodyknows 3 hours ago
    2024
  • andrehacker 3 hours ago