[Breeze] [Bug 448169] Contrast for Breeze Dark's Places icons with light foreground clashes

Luke Horwell bugzilla_noreply at kde.org
Sat Jan 29 12:54:14 GMT 2022


https://bugs.kde.org/show_bug.cgi?id=448169

--- Comment #2 from Luke Horwell <code at horwell.me> ---
There is a workaround, thanks to clues in BUG 353819.

> Why would places icons (32, 48, 64, 96) in /usr/share/icons/{breeze,breeze-dark} be exactly the same?

There's CSS in the icons that look for "current-color-scheme" and recolours
them accordingly. Still not sure which component (KIO, KIconThemes?) actually
does the processing. Removing this ID from the SVG prevents them from being
recoloured.

Potentially, further optimisation could deduplicate these further if they are
byte-for-byte the same, so Breeze-Dark can fallback to Breeze.

> Can this be disabled (at build, env variable, hidden config file)? 

Not that I could see with toggles, but this can be patched out when building
the package:

    find . -name "*.svg" -exec sed -i 's/current\-color\-scheme//g' {} +

Unrelated: I'm also patching out the 96 icons locally, as they've become a tad
bit thinner since 5.87 that I'm struggling to see some of these icons  (e.g.
downloads, templates) at a distance. (4K display, X11 user here)

    find . -type d -name 96 -exec rm -vr {} +

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Visual-design mailing list