Text not legible at all in dark mode.

https://lemmy.world/post/45049699

Text not legible at all in dark mode. - Lemmy.World

Is there even a contrast option so people don’t have to revert to light mode to read important stuff?

Don’t post transparent images and just assume the background is white?

Okay, then don’t post anything from Wikipedia, gotcha.

That should fix the problem, thanks for nothing.

That is how html works my dude.

If You post a transparent image the background of the current page will be used.

Convert the image for example.

This is also not unique to lemmy. Same happens on reddit, X, Facebook, everywhere

This has nothing to do with HTML. This has to do with rendering images, especially when you know your platform will be rendering images that sometimes have transparency.

When you know your app/program/website/platform is going to be rendering images that sometimes have transparency, then the background color is not a fucking option!

The background color behind transparent images should never be connected with the user interface color scheme, the background behind transparent images should always be white.

So this is a long standing problem with UI designers, it ain’t got shit to do with HTML, it’s just that the principles of a good GUI went out the window long ago and GUI developers lost all common sense.

#FFFFFF

You are interacting with lemmy through some HTML rendering engine. Either you are using a standalone browser or you are using an app that uses the OSes HTML Engine. That is how it works.

Of course, lemmy and piefed and all the apps using the API to fetch content could just add a white background to the image-container. But then, if the image does not load for example?

Also, no, this is not UI design, this is the image creators job. If you provide an image, provide it in a way they can be used without assuming page backgrounds. MediaWiki itself has some lengthy recommendations to be darkmode save.

The background color behind transparent images should never be connected with the user interface color scheme, the background behind transparent images should always be white.

No, it should not, remember dark-mode memes? How about, i have we website, and i want my users to be able to switch between modes, should i avoid transparent images, if i do NOT need a white background (for example: Logos, clipart, cutouts …)? If i know what image it is, and THAT it is transparent ok. But how does the fucking CSS know that the image is transparent? It doesn’t!

As those projects are opensource, feel free to contribute.

Recommendations for night mode compatibility on Wikimedia wikis - MediaWiki

MediaWiki