this post was submitted on 18 Jul 2024
1 points (100.0% liked)

Technology

58513 readers
6256 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
[–] thedudeabides@lemmy.dbzer0.com 0 points 2 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

[–] DessertStorms@lemmy.blahaj.zone 0 points 2 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! 🙄🤦‍♀️

[–] driving_crooner@lemmy.eco.br 0 points 2 months ago (1 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.

[–] thedudeabides@lemmy.dbzer0.com 0 points 2 months ago* (last edited 2 months ago) (2 children)

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 0 points 2 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 has anything to do with hits?

[–] driving_crooner@lemmy.eco.br 0 points 2 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.

load more comments (1 replies)
[–] hsdkfr734r@feddit.nl 0 points 2 months ago (4 children)

Dark Reader Plugin already solved that issue.

[–] deranger@sh.itjust.works 0 points 2 months ago (3 children)

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

[–] hsdkfr734r@feddit.nl 0 points 2 months ago* (last edited 2 months ago) (1 children)

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 0 points 2 months ago* (last edited 2 months ago) (1 children)

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 0 points 2 months ago* (last edited 2 months ago) (1 children)

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.

load more comments (1 replies)
[–] tal@lemmy.today 0 points 2 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.

[–] Armand1@lemmy.world 0 points 2 months ago (1 children)
load more comments (1 replies)
[–] MonkderDritte@feddit.de 0 points 2 months ago* (last edited 2 months ago) (3 children)

"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 0 points 2 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

load more comments (2 replies)
[–] Monomate@lemm.ee 0 points 2 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)
[–] pineapplelover@lemm.ee 0 points 2 months ago (1 children)

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.

[–] ParetoOptimalDev@lemmy.today 0 points 2 months ago (2 children)
load more comments (2 replies)
load more comments (1 replies)
[–] jabathekek@sopuli.xyz 0 points 2 months ago

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

[–] dual_sport_dork@lemmy.world 0 points 2 months ago (2 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 0 points 2 months ago (1 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.

[–] kippinitreal@lemmy.world 0 points 2 months ago (1 children)

Didn't Google's lighthouse have a metric for that? "Colour Contrast ratio" or something?

load more comments (1 replies)
[–] ozymandias117@lemmy.world 0 points 2 months ago* (last edited 2 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

load more comments (1 replies)
[–] DessertStorms@lemmy.blahaj.zone 0 points 2 months ago

Oh wow, finally!

[–] cheese_greater@lemmy.world 0 points 2 months ago

Come to the Dark Mode: we have more accessible comprehension

[–] henfredemars@infosec.pub 0 points 2 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.

[–] Aatube@kbin.melroy.org 0 points 2 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

[–] dactylotheca@suppo.fi 0 points 2 months ago (2 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

[–] henfredemars@infosec.pub 0 points 2 months ago* (last edited 2 months ago) (1 children)

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

[–] BubbleMonkey@slrpnk.net 0 points 2 months ago (1 children)

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

[–] henfredemars@infosec.pub 0 points 2 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.

load more comments (1 replies)
[–] otacon239@feddit.de 0 points 2 months ago (1 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?

[–] Zorque@lemmy.world 0 points 2 months ago (2 children)

Thats how you get spaghetti code.

[–] conciselyverbose@sh.itjust.works 0 points 2 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.

load more comments (1 replies)
[–] Caligvla@lemmy.dbzer0.com 0 points 2 months ago* (last edited 2 months ago) (1 children)

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

[–] DarkThoughts@fedia.io 0 points 2 months ago (2 children)
[–] MonkderDritte@feddit.de 0 points 2 months ago (2 children)

Addons for darkening don't work on addons.mozilla, the irony!

load more comments (2 replies)
[–] Caligvla@lemmy.dbzer0.com 0 points 2 months ago (1 children)

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

[–] Quill7513@slrpnk.net 0 points 2 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

[–] TheRealCharlesEames@lemm.ee 0 points 2 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…

[–] tal@lemmy.today 0 points 2 months ago* (last edited 2 months ago)

It does look like you currently need to be logged in to set the setting or set it each time; 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".

[–] natecox@programming.dev 0 points 2 months ago (3 children)

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

[–] Xylight@lemm.ee 0 points 2 months ago (1 children)
load more comments (1 replies)
load more comments (2 replies)
[–] DarkThoughts@fedia.io 0 points 2 months ago

Dark mode is here for Wikipedia (finally!)

Finally indeed.

[–] MonkderDritte@feddit.de 0 points 2 months ago* (last edited 2 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)
[–] eager_eagle@lemmy.world 0 points 2 months ago

I guess I'll stick with dark reader for now

[–] Burstar@lemmy.dbzer0.com 0 points 2 months ago (1 children)

um, darkmode has been available for years. Just needed to sign in.

[–] tal@lemmy.today 0 points 2 months ago (1 children)

Someone had a dark mode style (which I just had to disable to get the new dark mode to work), but then you have to be signed in.

[–] Burstar@lemmy.dbzer0.com 0 points 2 months ago (1 children)

Not a 3rd party thing. It has been a wiki setting opened up with login for a long time now. Maybe it had some tweaks needed that finally got completed?

[–] tal@lemmy.today 0 points 2 months ago

Not a 3rd party thing.

No, I know. I had it set. It was in their list of themes somewhere.

They just asked me to disable that before I could use their new dark mode.

load more comments
view more: next ›