Re: [dev] Regarding dwm and st logo being removed

From: Laslo Hunhold <>
Date: Thu, 28 Apr 2022 13:06:05 +0200

On Thu, 28 Apr 2022 09:38:09 +0200
Страхиња Радић <> wrote:

Dear Страхиња,

> This can be remedied with CSS which applies white background to logos
> (perhaps with some padding: <whatever> to also give a bit of a
> border).
> In my opinion, dark mode is unnecessary and favored by mainstream
> "webdevs".

I personally also like dark mode, but understand it's a matter of taste
(and 1 bit of information added to the online-fingerprint).

However, I managed to tweak it such that it now works with dark mode as
well by adding the following CSS-rule to the dark mode section in the

        #main img[src$=svg] {
                filter: invert(1);

All <img> within #main that are svg's are inverted in dark mode.
Granted it makes use of a filter, which is not supported everywhere,
but given prefers-color-scheme is also only supported by modern
browsers, this should not be an issue.

I hope everyone's okay with this.

With best regards


(image/png attachment: dark_mode.png)

Received on Thu Apr 28 2022 - 13:06:05 CEST

This archive was generated by hypermail 2.3.0 : Thu Apr 28 2022 - 13:12:07 CEST