Dark Reader Plugin already solved that issue.
Native dark modes are better and have much less of a performance impact. It’s good as a stop gap though.
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.
Dark reader is one of the heaviest extensions you use, lots of dom modifications. It also passes around far too much data between processes.
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.
Yeah, Dark Reader is a godsend. I just got tired of all the light mode webpages and took matters into my own hands.
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:
- 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...
- 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.
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
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.
All I want is “follow system theme” for us light mode at day, dark at night fellows.
They added that too!
Cool
I've always been kind of curious: am I weird because I prefer light mode for web pages with a lot of text to read? Or is it more of an age-gated thing, like older people who grew up reading printed texts only prefer what's familiar to them? I'm fine with YouTube (for example) having a black background and dark theme, but I even browse Lemmy via old.lemmy.world in light mode!
Light mode is likely just your personal preference, and there's nothing wrong with it.
I used dark themes/color schemes, long before there was a dark mode for everything. I was surprised when it finally became a thing and the new generation of dark themes was flawless (good bye unaddressed bright backgrounds which make everything unreadable!). So I can continue sitting in the Dark while not being blinded by a bright screen.
I'm an old fogey who grew up reading physical books and newspapers but I absolutely need dark mode on backlit displays. I despise light mode.
Light mode is pretty hard on the eyes in dim lighting, the same way dark mode is in full sun. Health-wise, it’s best to decrease the amount of light as bed time approaches and that includes screens beaming light into our face.
My computer defaults to light mode every morning and then I toggle dark later in the day when it becomes the more comfortable setting. So, for me it’s not really about “preference”.
Very happy to have dark mode Wikipedia for late night queries!
I hate dark mode, but it's because I have a pretty bad astigmatism. Dark mode makes all text look like several mirror images swimming around each other, whereas light mode is fine.
I think dark mode for me stops me getting as many migraines as I did on light mode.
The way I think about reading text is that on dark mode you’re looking for light (white text) in darkness (the black background), whereas with light mode you’re looking for the absence of light (black text) on a background of pure light.
How old are you? I'm in my early 30s, definitely grew up with computers most of my life, and internet almost as long, but also read plenty of physical paper books. I greatly prefer darker color schemes.
That said, I'm also a software developer so I'm a bit biased and learned long ago that dark mode is much easier on the eyes when coding for hours on end, so maybe I'm just used to it.
Or is it more of an age-gated thing
Depends how old you consider old, maybe? Computers back in the day were pretty universally light text on a dark background. VIC-20 was an exception but then even Commodore backpedaled on that with the 64. But you might have had a different experience and are only remembering things like Mac OS or Amiga, or Windows, and maybe that has influenced your preference. 🤷♀️ To each their own, anyway.
My 80's computer was (by default) bright yellow text over bright blue background.
It probably sounds quite bad. It was. You could change that with a few commands but you'd have to do it each time you boot the thing, and I didn't bother, it was "normal" to me.
That didn't prevent young me from spending hours copying lines of BASIC code from magazines, but it was tiring. Nowadays I'm just like, seriously, who thought that colour scheme was a good idea?
Now get ready for red text on vibrant blue background :)
I don't think you can make a universal statement of dark versus light. Some programs' dark modes suck so I use their light mode. Some programs' light modes suck so I use their dark mode. Hell, some programs' high contrast modes are so good I use those despite not having any major (uncorrected) visual impairments. Take GitHub. Their high contrast mode is nice and not disgusting. IntelliJ IDEA's dark mode is good. Eclipse's light mode is good. It all just depends on the program.
And Solarized sucks ass. There, I said it.
And Solarized sucks ass. There, I said it.
Hard agree.
As a Gen Z who is the same - I really don't think it is age-related.
It depends a lot on your screen, and your lifting situation. Black on white is better in day light, white on black is much better on LED screens (as opposed to backlit LCD or CRT monitors).
There are times I prefer light mode but dark mode feels better designed.
A few days ago I switched to light mode because it was too sunny outside and switched right back after I was done. The Android UI was unbaerable for me.
I prefer light mode because dark mode gives me a raging headache in under 10 minutes, not enough contrast or something, I'm not sure. It's bad enough that if I'm pairing with someone and they use dark mode I've gotta frequently look away or do something like a shared follow mode where I use a light theme on my end - it sucks.
And maybe the science is old now, but in HS I did a report on eye strain and light backgrounds are typically better across the board. But who knows now.
Look at Answer in Progress's video on dark mode, the initial question is a different one about design, but it goes a bit in the difference and dis- versus advantages between dark and light mode.
Light mode:
Cons: blinds you when it's dark, is grating on the eyes, looks terrible
Pros: can be used as a flashlight in a pinch
Dark mode:
Pros: looks cool, doesn't blind you, doesn't hurt your eyes, easy to read.
Cons: cannot be used as a flashlight
No. Dark mode is just a new hype that’s why it gets so much traction. None of it’s alleged benefits can be scientifically proven, it’s nothing but personal taste.
With OLED screens, pure black backgrounds are amazing for reading in a pitch black environment.
None of it’s alleged benefits can be scientifically proven, it’s nothing but personal taste.
Not to mention, they literally scientifically proved that dark mode extends battery life with OLED screens. https://dl.acm.org/doi/10.1145/3458864.3467682
I guess I'll stick with dark reader for now
But why the buttons? Just use
media (prefers-color-scheme: dark) {}
done. The js-solution doesn't seem to auto-adapt for me.
💀 mfw I'm waiting for the mozilla team to do the same with their help forum.
Oh wow, finally!
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
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.
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! 🙄🤦♀️
Oh my fucking god FUCKING FINALLY
The irony of me opening the article and being immediately blinded by the eyesore white page.
Well that sucks. My favorite Pink Pedia number is Shine On, You Crazy Wiki.
Technology
This is a most excellent place for technology news and articles.
Our Rules
- Follow the lemmy.world rules.
- Only tech related content.
- Be excellent to each another!
- Mod approved content bots can post up to 10 articles per day.
- Threads asking for personal tech support may be deleted.
- Politics threads may be removed.
- No memes allowed as posts, OK to post as comments.
- Only approved bots from the list below, to ask if your bot can be added please contact us.
- Check for duplicates before posting, duplicates may be removed