• @tal@lemmy.today
        link
        fedilink
        English
        34
        edit-2
        10 months ago

        Native dark modes are better

        Agreed. Well, I don’t know if it’d deal with random images as well, as users can upload those.

        and have much less of a performance impact.

        For a number of sites, you can just get away with running Dark Reader in static mode and it works well enough. Considerably faster.

        EDIT: Actually, thanks for reminding me. I’ve never donated to Dark Reader, and it looks like they ask for a $10 donation if you use it regularly, and that plugin has dramatically improved my Web-browsing experience. Going to do that now.

      • @hsdkfr734r@feddit.nl
        link
        fedilink
        English
        4
        edit-2
        10 months ago

        Maybe. Does it make a big performance difference which css (dark reader or delivered by wiki) is used?

        Is it known how the default to dark mode setting is persisted if let’s say a plugin removed all the Wikipedia cookies on window close? A get or post parameter?

        Either way it’s a good thing that wiki offers a dark mode.

        • @AProfessional@lemmy.world
          link
          fedilink
          English
          10
          edit-2
          10 months ago

          Dark reader is one of the heaviest extensions you use, lots of dom modifications. It also passes around far too much data between processes.

          • @hsdkfr734r@feddit.nl
            link
            fedilink
            English
            8
            edit-2
            10 months ago

            lots of dom modifications

            That’s good to know. These modifications are needed to replace the style sheet details, I guess?

            passes around far too much data between processes.

            What does this mean? Do you have a link where I could read up on the details? Thanks.

            • @AProfessional@lemmy.world
              link
              fedilink
              English
              2
              edit-2
              10 months ago

              Webextensions get their own webprocess as well as running in the website. I don’t have a link but if you read their source they just pass a lot of data to their process to determine things (last i looked some years ago).

              There is a trade off of executing more things on the site vs transferring a lot of data. Either way it’s a heavy extension.

      • @MonkderDritte@feddit.de
        link
        fedilink
        English
        3
        edit-2
        10 months ago

        “Native”. That every webpage has to implement it themselves is sad. Could be a browser feature that overrides some colors on dark.
        Then again, with webapps, probably not.

        • @bamboo@lemm.ee
          link
          fedilink
          English
          1810 months ago

          This is sorta how dark reader and such works. It turns out that implementing dark mode for most websites is more complicated than inverting all the css colors. For example, some gray on white text might have enough contrast to be easily read, but when inverted the text is hard to discern or nearly invisible. Images too, they might have a white background but not look good when inverted. Native support is better

        • @ZeroPoke@lemmy.ca
          link
          fedilink
          English
          510 months ago

          Funny enough they do. Before Dark Reader on Firefox on Android I had a Chrome flag that did the same thing. But Dark Reader does a better job IMO.

          • Æther
            link
            fedilink
            English
            210 months ago

            Chrome flag works on some websites, but makes others completely unreadable. Do not recommend unless you can’t use dark reader

    • @Monomate@lemm.ee
      link
      fedilink
      English
      3510 months ago

      Yeah, Dark Reader is a godsend. I just got tired of all the light mode webpages and took matters into my own hands.

      • @tal@lemmy.today
        link
        fedilink
        English
        3
        edit-2
        10 months ago

        I’m really surprised that it works as well as it does, given the insane amount of stuff that it interacts with. I’d think that it’d be way more fragile than it is.

        I’ll also add that while I very much prefer dark mode interfaces – staring at a light mode interface in the dark is kind of like staring into a headlamp – if I had a display that (a) was reflective rather than transmissive in the sun (like eink displays are) and (b) did reasonable automatic brightness adjustment, and © software consistently made use of a color range such that “standard light background” isn’t “set every pixel on the display to its maximum brightness”, I might be okay with light mode. If I had to pick just one, I’d choose dark mode, but if technology advances, I might be okay with light mode.

    • /home/pineapplelover
      link
      fedilink
      English
      310 months ago

      Not a fan of dark reader. It has a weird blue tint to things. I much prefer Dark Background and Light Text. That extensions has a true black background.

  • dual_sport_dork 🐧🗡️
    link
    fedilink
    English
    8310 months ago

    So, if I’m reading this right it’s basically just a 17 paragraph essay that boils down to, “Sorry we suck at CSS and it took us a decade to finally get around to rooting out all the random shit from 2014 that was hard-coded to display as rgb(0,0,0) or whatever, which was a capability that in retrospect we really shouldn’t have handed out like candy?”

    The TV Tropes wiki has managed to have a built in dark mode for at least the last 7 years. TV Tropes. Come on, guys.

    I’m baffled by the section about “making a shortcut that darkens all the colors on the page.” I’m positive that’s the intent of that entire blurb, to dazzle people with bullshit in the hopes that they won’t ask Hard Questions, because no competent designer would ever try such a thing. It is a self-evidently moronic idea. You don’t fuck with elements you didn’t create and don’t control, like images and color swatches.

    There are only really two viable possibilities, here:

    1. If arbitrary user definable, hard-coded colors in content are permissible, you’ll have to accept the fact that the cards will fall where they may and some instances will inherently be suboptimal in either light or dark modes, or…
    2. Accept that you won’t allow users to hard-code colors into anything outside of specific elements where that usage is valid, so users will just have to suck it up and pick from a list of preapproved color combinations with light and dark mode renditions.
    • @tal@lemmy.today
      link
      fedilink
      English
      2210 months ago

      The TV Tropes wiki has managed to have a built in dark mode for at least the last 7 years. TV Tropes. Come on, guys.

      It’d be kind of interesting to have a “dark mode spider” that crawls the Web and checks to see what percentage of websites support the browser-requested dark mode. I’d be kind of curious to see how far along we are.

      I mean, people have done it for stuff like IPv6 support for a while.

        • @tal@lemmy.today
          link
          fedilink
          English
          210 months ago

          Not familiar with it.

          goes looking

          Oh, it’s a tool that you run on one page, rather than a spider to try to gather statistics on the Web as a whole. But, yeah, that run en masse could maybe gather that kind of information.

    • @ozymandias117@lemmy.world
      link
      fedilink
      English
      17
      edit-2
      10 months ago

      Isn’t #2 the only option?

      Websites specifying color for foreground (or background) and assuming browsers will use whatever color they’re expecting for the other has always existed, and still exists

      If you’re getting fancy and specifying colors, you can’t cheap out and not specify all colors

      If the browser ignores all your colors at that point, then it’s displaying as the user intended

      If you only specified some of the colors, it’s a bug of the website

      • @jpeps@lemmy.world
        link
        fedilink
        English
        510 months ago

        There are actually things websites can do which may be more common than you’d think. At a high level you could convert all the custom colours to HSV format and slightly lower the value and saturation according to some function. This is fairly common for images.

    • @Etterra@lemmy.world
      link
      fedilink
      English
      110 months ago

      Like how amazing an innovation in NYC the technology which is… Plastic trash cans! With lids!

  • Nate Cox
    link
    fedilink
    English
    7510 months ago

    All I want is “follow system theme” for us light mode at day, dark at night fellows.

    • @AlligatorBlizzard@sh.itjust.works
      link
      fedilink
      English
      210 months ago

      How are you doing this? My DE is KDE Plasma and Koi seems to work for this based on my limited searching but I don’t know how well, do you know of something better? (Also I’m using the tree background and I’m hoping to get that to switch too).

      • Nate Cox
        link
        fedilink
        English
        510 months ago

        I don’t think KDE has a native way to do this, I’ve also heard of Koi for this but I haven’t used it. I’m mostly a Mac user where this is just a default option.

    • dactylotheca
      link
      fedilink
      English
      3710 months ago

      I’d rather be informed with a popup than have to remember to periodically check the settings in case they’ve maybe added dark mode. Tying this to “advertising tactics” is, well, ridiculous – they’re informing users about a new feature they might not otherwise learn about, not selling literally anything

      • @henfredemars@infosec.pub
        link
        fedilink
        English
        4
        edit-2
        10 months ago

        Surely there’s a better way than creating a floating modal dialogue in front of the content I came there to read.

        • BubbleMonkey
          link
          fedilink
          English
          310 months ago

          Are you also upset when they do a donation drive and have a pre-article header literally asking for money?

          • @henfredemars@infosec.pub
            link
            fedilink
            English
            310 months ago

            Yes, but not because the header is a distraction — it’s generally less obtrusive. I’m not convinced that they actually need the money to achieve the goals of the foundation, but that’s another matter of opinion in how I think they spend those funds. I’ve donated in the past.

      • @Rai@lemmy.dbzer0.com
        link
        fedilink
        English
        110 months ago

        I use FF Focus (new private mode always) so EVERY TIME I GO THERE the popup is there. A bit annoying.

    • @otacon239@feddit.de
      link
      fedilink
      English
      1210 months ago

      I don’t mind the pop up as much as I mind it being a pop up that tells you to go to another menu to change the setting. Why not just put the setting in the pop up?

        • @conciselyverbose@sh.itjust.works
          link
          fedilink
          English
          510 months ago

          It’s really not that complicated.

          You give the information on where the setting is, then have an “enable now” button that calls the exact same function as clicking the toggle on the other page does. Having multiple ways to do the same thing isn’t unusual and is trivial with properly designed code.

        • The Quuuuuill
          link
          fedilink
          English
          110 months ago

          No. It isn’t. The setting in the modal should act as a convenience component that doesn’t have any of its own data. It only modifies the value in the original source of truth. Once the modal has been used, it should never pop up again, as the assumption will be if the user has interacted with the modal, they are now aware of the setting and can set it themselves from the original source of truth. Unless of course you consider any feature speghettification

    • Aatube
      link
      fedilink
      510 months ago

      i think the pop up is necessary as long as the button to open the appearance menu is still the incognito icon for whatever reason

  • @MonkderDritte@feddit.de
    link
    fedilink
    English
    27
    edit-2
    10 months ago

    But why the buttons? Just use

    media (prefers-color-scheme: dark) {}
    

    done. The js-solution doesn’t seem to auto-adapt for me.

  • @thedudeabides@lemmy.dbzer0.com
    link
    fedilink
    English
    1410 months ago

    Can’t imagine a scenario in which a person avoided using Wikipedia all their life till now just because things looked a bit brighter on screen.

    Dark mode makes things easier for its existing userbase (practically anyone with an internet wanting to learn) but that’s that

    • @driving_crooner@lemmy.eco.br
      link
      fedilink
      English
      2410 months ago

      Maybe not avoid using entirely, but I can easily imagine someone that can’t use it for more that 10 minutes or so because the brightness causes them headaches.

      • @thedudeabides@lemmy.dbzer0.com
        link
        fedilink
        English
        1
        edit-2
        10 months ago

        That’s true, it will make things easier for the current users. But as I said, I doubt if it will increase the overall hits for Wikipedia or be a last straw for people hesitating to use the site

        • @DessertStorms@lemmy.blahaj.zone
          link
          fedilink
          English
          15
          edit-2
          10 months ago

          But as I said, I doubt if it will increase the overall hits for Wikipedia or be a last straw for people hesitating to use the site

          Why the fuck do you think accessibility is about increasing hits?

        • @driving_crooner@lemmy.eco.br
          link
          fedilink
          English
          910 months ago

          That’s a pretty ableist attitude. You don’t really know how many people and how much are being affected and is easy to dismiss an accessibility option when you’re nor affected.

    • @DessertStorms@lemmy.blahaj.zone
      link
      fedilink
      English
      910 months ago

      Ah, well, if you can’t imagine it, then all those people with visual impairments who haven’t been able to read the content previously simply must not exist! 🙄🤦‍♀️

  • @tal@lemmy.today
    link
    fedilink
    English
    12
    edit-2
    10 months ago

    It does look like you currently need to be logged in to set the setting or set it each time (or, I assume, have your browser retain persistent cookies); the default is light. It’d be kind of nice if it just used the browser “light” or “dark” preference.

    Maybe this is just temporary; they do say that the dark mode is “beta”.

  • sag
    link
    fedilink
    English
    910 months ago

    Oh my fucking god FUCKING FINALLY

  • CALIGVLA
    link
    fedilink
    English
    4
    edit-2
    10 months ago

    The irony of me opening the article and being immediately blinded by the eyesore white page.

        • DarkThoughts
          link
          fedilink
          510 months ago

          Because it is blacklisted for any addon to work. It’s a security measure.

        • Queue
          link
          fedilink
          English
          410 months ago

          All addons don’t won’t work on any Addon/extension page, across all browsers. I don’t know why, but if I had to take an educated guess, it’s so extensions can’t make you download malware addons.

          That said, on firefox, you can enable any extention to have thar privilege.

      • CALIGVLA
        link
        fedilink
        English
        110 months ago

        I’m using it, but not on by default because from experience it can break some pages.

        • The Quuuuuill
          link
          fedilink
          English
          110 months ago

          I’ve gone the opposite direction. I’ve slowly been expanding my list of sites that don’t work with ctrl-shift-a and for the most part assuming it will work for all sites

          • CALIGVLA
            link
            fedilink
            English
            110 months ago

            I need to learn to use more shortcuts smh…

  • Flying Squid
    link
    fedilink
    English
    310 months ago

    Well that sucks. My favorite Pink Pedia number is Shine On, You Crazy Wiki.

    • Aatube
      link
      fedilink
      210 months ago

      Sorry that people didn’t get the joke lol

      DYK that this is the CGI (the web server interface) logo?

      • Flying Squid
        link
        fedilink
        English
        210 months ago

        I stand by the joke. Mostly. I could have found a better song.

  • @TheRealCharlesEames@lemm.ee
    link
    fedilink
    English
    310 months ago

    Only skimmed the article: why did their initial theme color solution affect the media contents like international orange? Feels like that would be a non-starter…