reviewboard, to random
@reviewboard@mastodon.online avatar

Review Board 7 is here! This release is all about improving your code review flow, day or night, with:

🌓 Dark Mode and Light Mode themes
🌃 Image review in the diff viewer
💬 Microsoft Teams support
📱 Mobile diff review

https://www.reviewboard.org/news/2024/06/06/review-board-7-its-a-bright-day-for-code-review/

LinuxAndYarn, to random
@LinuxAndYarn@mastodon.social avatar

Does anyone else who lives in #DarkMode have trouble with their eyes shying away from video calls when there are a bunch of people with white backgrounds? I keep having this thing where half the people in my calls have these stark white virtual rooms, and my eyes just keep finding phantom hairs and reasons for me to take my glasses off when that's not the way I am off these calls.

It's even worse when there are more than six people on, and a lot of head movement.

Edent, to Cybersecurity
@Edent@mastodon.social avatar

🆕 blog! “A security bug caused by… Dark Mode!”

Everyone loves Dark Mode. It is kinder on the eyes, less energy intensive, and looks hecking cool. 5 seconds later We regret to inform you that Dark Mode causes security bugs. (With apologies to Ben Ward) OK, OK. This isn't a particularly severe security bug, but I found it interesting. The Matrix messaging app "Element" […]

👀 Read more: https://shkspr.mobi/blog/2024/05/a-security-bug-caused-by-dark-mode/

blog, to Cybersecurity
@blog@shkspr.mobi avatar

A security bug caused by… Dark Mode!
https://shkspr.mobi/blog/2024/05/a-security-bug-caused-by-dark-mode/

Everyone loves Dark Mode. It is kinder on the eyes, less energy intensive, and looks hecking cool.

5 seconds later We regret to inform you that Dark Mode causes security bugs.

(With apologies to Ben Ward)

OK, OK. This isn't a particularly severe security bug, but I found it interesting.

The Matrix messaging app "Element" lets you sign in to your account on multiple devices. In order to prove those devices are controlled by you, the app asks you to verify the other sessions. This is broadly sensible.

You sign in to the web-based messenger, then you sign in to the Android app. The web asks you if you just signed in, you say yes. The app then says "scan the code shown on the website". You do. And then both devices ask if the logo displayed is identical.

Simple! Ish.

Here's what the website shows:

Text reads "Verify other device. Verify by scanning. Almost there! Is your other device showing the same shield?" Image is of a Green Shield with a grey tick.

So you take a look at your phone and see this:

Image is of a Green Shield with a white tick.

Are those two the same shield? They're both the same shape. They're both green. They both have a tick. But the tick is a different colour!

I suspect this is because the shield on the web has a transparent tick and expects the background colour to be white. But, when in Dark Mode, the background is grey.

Interestingly, my phone was also in Dark Mode - but the image has a solid white tick.

I'm not sure if it is specifically a bug in Matrix or Element (and, TBQH, I'm hazy about their relationshp) so I've raised it on Element's GitHub.

But, let this be a lesson to you. Test all of your interface with all of your different themes. And don't use transparency to convey important security information.

https://shkspr.mobi/blog/2024/05/a-security-bug-caused-by-dark-mode/

amoroso, to random
@amoroso@fosstodon.org avatar

The history and anthropology of dark mode in the transition from the print era to the digital world, with a discussion of why dark mode is making a comeback with mobile devices.

https://www.discoursemagazine.com/p/the-dark-side-of-the-screen

Edent, to Cybersecurity
@Edent@mastodon.social avatar

Here's a fun little security bug caused by... DARK MODE!

When you try to verify your identity on @element it asks you whether the image you see on the web is the same as the image you see on the app.

But if you have dark mode enabled on the web, they look different.

Report:
https://github.com/element-hq/element-web/issues/27492

stephaniewalter, to accessibility
@stephaniewalter@front-end.social avatar

Let’s talk about dark mode and accessibility! There’s a myth that dark mode is good for accessibility, because it improves text readability. It's not always true.

The full article and resources on my blog: https://stephaniewalter.design/blog/dark-mode-accessibility-myth-debunked/

nekohayo, to random
@nekohayo@mastodon.social avatar

With #GitLab 17.0 (stated to be released on May 16th), the operating system theme preference is now respected, as there is now an opt-in setting to enable "Auto (Experiment)" support in your user preferences panel.
It can finally switch between light & #darkmode when your OS or desktop environment requests it at various times of the day! I tried it; it works.

You can find it under "User Settings > Preferences > Appearance" when running that GitLab version (it is already the case on gitlab.com)

dletorey, to 11ty
@dletorey@front-end.social avatar

@sarajw another reason for dark mode it uses less battery on mobile devices

thunderbird, (edited ) to random
@thunderbird@mastodon.online avatar

No need for spells, eldritch invocations, or inherent abilities to see Thunderbird's dark side. To enable dark mode in Thunderbird:

Thunderbird (hamburger) Menu > Add-ons and Themes > Themes

Feel free to tell everyone you know about this! Repeatedly. :angery:

#Thunderbird #DarkMode #ThunderbirdTips

kubikpixel, to webdev
@kubikpixel@chaos.social avatar

Six levels of dark mode

Being reminded of the visually hidden debate hasn’t been the only thing that happened to me on this year’s CSS Naked Day.

📝 https://cssence.com/2024/six-levels-of-dark-mode/


#webdev #css #darkmode #webdesign

Mehrad, to random
@Mehrad@fosstodon.org avatar

Finally, Google Drive now has dark mode. The Dark Reader browser extension is very good, but on certain websites like Google Drive or Web Outlook it adds a bit of latency which is painful at times.

Every website or project should have a dark mode implemented or at least they should be 100% sure that it is fully work flawlessly with Dark Reader.

Most browsers now support the prefers-color-scheme:

https://caniuse.com/?search=prefers-color-scheme

More info:

https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-color-scheme

CSSence, to CSS

Launching two blog posts on the same day is not what I usually do. Yesterday has been an exception, but at least I delayed the announcement of this one: For those who haven’t read it already, …

… this is level 8 of
»Six levels of dark mode«
https://cssence.com/2024/color-scheme-switcher/

CSSence, to random

On this year’s CSS Naked Day, I saw a lot of sites without stylesheets. But also without dark mode. @sarajw's website and my own have been the exception. So I was wondering, maybe it’s time to talk about “the six (or more) levels of dark mode”.
https://cssence.com/2024/six-levels-of-dark-mode/

CSSence,

@pepelsbey Yes, hiding it from printers was the idea, I would assume they are anyhow taken care of in either a theme-independent core stylesheet, or a dedicated print stylesheet.

So I guess I wanted to be on the safe side, for printers could waste a lot of ink. 😉

amadeus, to Dragonlance
@amadeus@mstdn.social avatar

Could an #audio #plugin possibly read the host #os #darkmode or #lightmode state? #linuxaudio #linux
What about if it is running in a #sandbox #daw with #flatpak?

Edent, to wordpress
@Edent@mastodon.social avatar

Another lazy #WordPress question.

I use #MarkDown to write my posts.

Code is written as:

print("hello")  

That's automatically converted to:

<pre><code class="language-python">…

I use HighlightJS to do syntax highlighting. But that pulls in lots of JS which I'd rather avoid.

Is there a decent plugin for doing sever-side rendering of code highlighting which doesn't require blocks / Gutenberg?

I know I can try a few out, but I'd like to hear people's personal experiences.

Edent,
@Edent@mastodon.social avatar

Does anyone have a good set of #GeSHi stylesheets?

I'm looking for some #DarkMode CSS which I can drop in as a replacement for the default styles.

#WebDev #CSS #LazyWeb

Luke, to CSS
@Luke@typo.social avatar
thunderbird, to random
@thunderbird@mastodon.online avatar

Are some of your messages in Thunderbird's Dark Mode hard to read? While we work on a more permanent fix, this Bugzilla report has some useful workarounds. 🌙

https://bugzilla.mozilla.org/show_bug.cgi?id=1872348

badrihippo, to GNOME
@badrihippo@fosstodon.org avatar

Is there a way to make automatically change the theme, both for ordinary and "legacy" apps, along with the toggle?

My theme has two variants for dark and light, but I have to manually go and change it in GNOME Tweaks every time I want to switch, making the Shell's "dark mode" toggle somewhat redundant

JSSchlegel, to linux

Serious question: Shouldn't a window in dark mode actually cast a bright "shadow"?

inautilo, to design
@inautilo@mastodon.social avatar

#Development #Guides
CSS color-scheme-dependent colors with light-dark() · Simpler dark mode setup with the light-dark() function https://ilo.im/15yefd


#LightMode #DarkMode #DesignTheme #Design #WebDesign #WebDev #Frontend #CSS

aral, to CSS
@aral@mastodon.ar.al avatar

Thanks to a prod from @scott, I finally fixed the issue with full-screen videos looking inverted on my personal site in dark mode.

Also, just updated my blog post on how to implement quick and dirty dark mode support in a few lines of code using CSS filters with the additional code:

https://ar.al/2021/08/24/implementing-dark-mode-in-a-handful-of-lines-of-css-with-css-filters/

mikemccaffrey, to ai
@mikemccaffrey@a11y.social avatar

Finally a use of "AI" that I can get behind! Someone built this API to tell you whether or not images should be inverted in dark mode.

https://invertornot.com/

h/t @davidbisset

#AI #Accessibility #DarkMode

niloque, to VivaldiBrowser Polish
@niloque@pol.social avatar

Dobra, ten nowy ficzer @Vivaldi, czyli wymuszanie trybu ciemnego na wszystkich stronach internetowych, nawet jeśli nie mają dedykowanego trybu ciemnego, to jest złoto! Jedyny mankament, że można go użyć tylko, gdy ustawimy na sztywno Dark mode, ale może pójdzie jakiś feature request, żeby działało to też w trybie automatycznym.

#VivaldiBrowser #Vivaldi #DarkMode

rdela, to 11ty
@rdela@mastodon.social avatar
rdela,
@rdela@mastodon.social avatar
  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • mdbf
  • ngwrru68w68
  • tester
  • magazineikmin
  • thenastyranch
  • rosin
  • khanakhh
  • InstantRegret
  • Youngstown
  • slotface
  • Durango
  • kavyap
  • DreamBathrooms
  • megavids
  • tacticalgear
  • osvaldo12
  • normalnudes
  • cubers
  • cisconetworking
  • everett
  • GTA5RPClips
  • ethstaker
  • Leos
  • provamag3
  • anitta
  • modclub
  • lostlight
  • All magazines