Bug 514737 - FR: configurable threshold for light/dark themes
Summary: FR: configurable threshold for light/dark themes
Status: CONFIRMED
Alias: None
Product: plasmashell
Classification: Plasma
Component: general (other bugs)
Version First Reported In: 6.5.0
Platform: Other Linux
: NOR wishlist
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2026-01-17 13:15 UTC by pallaswept
Modified: 2026-01-23 16:24 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description pallaswept 2026-01-17 13:15:13 UTC
SUMMARY:
Plasma has recently had some nice additions for switching between dark and light themes. It would be really nice to use some of them to switch between dark and darker themes (probably some people would also like to be able to switch between light and less light theme). 

I'm aware that there are complexities to this: most of the tooling deliberately filters light and dark separately, and there's no way to specify a theme as being dark or light, within the theme itself. I thought I'd offer what might hopefully be a simple alternative.

It seems that themes are only selectable as a light or dark theme, if they have a background of a certain shade:
https://invent.kde.org/plasma/plasma-workspace/-/blob/master/kcms/desktoptheme/themesmodel.cpp#L213

So, if the background is darker than grey 192, then it is considered a dark theme. If this number were configurable, it would add a lot of flexibility to the dark/light switching.
Comment 1 TraceyC 2026-01-23 16:24:42 UTC
I can see the desire for this, but I'm not sure about the complexity. I'll let the maintainers weigh in on this.