this post was submitted on 18 Jul 2024
612 points (98.1% liked)

Technology

59594 readers
3363 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related content.
  3. Be excellent to each another!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, to ask if your bot can be added please contact us.
  9. Check for duplicates before posting, duplicates may be removed

Approved Bots


founded 1 year ago
MODERATORS
top 50 comments
sorted by: hot top controversial new old
[–] hsdkfr734r@feddit.nl 99 points 4 months ago (8 children)

Dark Reader Plugin already solved that issue.

[–] deranger@sh.itjust.works 165 points 4 months ago (9 children)

Native dark modes are better and have much less of a performance impact. It’s good as a stop gap though.

[–] tal@lemmy.today 34 points 4 months ago* (last edited 4 months ago) (1 children)

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.

[–] Armand1@lemmy.world 14 points 4 months ago (1 children)
[–] Kecessa@sh.itjust.works 13 points 4 months ago

Dark reader team be like "Guys! We're eating pizza tonight!"

load more comments (8 replies)
[–] Monomate@lemm.ee 35 points 4 months ago (1 children)

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

load more comments (1 replies)
load more comments (6 replies)
[–] dual_sport_dork@lemmy.world 79 points 4 months ago (3 children)

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 22 points 4 months ago (2 children)

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.

load more comments (2 replies)
[–] ozymandias117@lemmy.world 17 points 4 months ago* (last edited 4 months ago) (1 children)

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 5 points 4 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.

load more comments (1 replies)
[–] natecox@programming.dev 73 points 4 months ago (3 children)

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

[–] Xylight@lemm.ee 49 points 4 months ago* (last edited 4 months ago) (1 children)
[–] natecox@programming.dev 10 points 4 months ago
load more comments (2 replies)
[–] Agrivar@lemmy.world 41 points 4 months ago (27 children)

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!

[–] n3cr0@lemmy.world 21 points 4 months ago

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.

[–] cestvrai@lemm.ee 19 points 4 months ago

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!

[–] doubletwist@lemmy.world 17 points 4 months ago

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.

[–] Cornelius_Wangenheim@lemmy.world 16 points 4 months ago (1 children)

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.

load more comments (1 replies)
[–] NikkiDimes@lemmy.world 14 points 4 months ago* (last edited 4 months ago)

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.

[–] JimVanDeventer@lemmy.world 13 points 4 months ago (1 children)

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.

[–] brsrklf@jlai.lu 8 points 4 months ago (2 children)

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?

[–] norimee@lemmy.world 6 points 4 months ago (1 children)

Yeah, I remember our first computer was green text on a dark screen.

load more comments (1 replies)
load more comments (1 replies)

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.

[–] JackbyDev@programming.dev 10 points 4 months ago (1 children)

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.

load more comments (1 replies)
[–] Tattorack@lemmy.world 6 points 4 months ago (4 children)

Having read lots of books, I tend to prefer printed text a lot. Yet I still use dark mode as much as possible; it's the glare. It's irritating to read something on a white, glaring surface. Paper doesn't have that.

I'll read Wikipedia on e-ink, but on LCD I'll use dark mode.

load more comments (4 replies)
[–] EngineerGaming@feddit.nl 6 points 4 months ago

As a Gen Z who is the same - I really don't think it is age-related.

load more comments (17 replies)
[–] eager_eagle@lemmy.world 33 points 4 months ago

I guess I'll stick with dark reader for now

[–] MonkderDritte@feddit.de 26 points 4 months ago* (last edited 4 months ago) (1 children)

But why the buttons? Just use

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

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

load more comments (1 replies)
[–] cheese_greater@lemmy.world 20 points 4 months ago

Come to the Dark Mode: we have more accessible comprehension

[–] henfredemars@infosec.pub 18 points 4 months ago (3 children)

I hate the pop up about it though. If I care that much, I’ll find it. Don’t use advertising tactics.

[–] dactylotheca@suppo.fi 36 points 4 months ago (4 children)

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

load more comments (4 replies)
[–] otacon239@feddit.de 13 points 4 months ago (3 children)

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?

load more comments (3 replies)
load more comments (1 replies)
[–] jabathekek@sopuli.xyz 14 points 4 months ago

💀 mfw I'm waiting for the mozilla team to do the same with their help forum.

[–] DessertStorms@lemmy.blahaj.zone 14 points 4 months ago

Oh wow, finally!

[–] tal@lemmy.today 12 points 4 months ago* (last edited 4 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@lemm.ee 9 points 4 months ago

Oh my fucking god FUCKING FINALLY

[–] thedudeabides@lemmy.dbzer0.com 8 points 4 months ago (3 children)

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 24 points 4 months ago (4 children)

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.

load more comments (4 replies)
[–] DessertStorms@lemmy.blahaj.zone 7 points 4 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! 🙄🤦‍♀️

load more comments (1 replies)
load more comments
view more: next ›