I open this task in order to track the information needed and host the discussion concerning "Dynamic panel coloring for Plasma/Latte panels".
Apps in mobile world can color the top panel by providing a backgroundColor and textColor specific to them when they are used. In plasma recently an approach for window titlebars was presented through MauiKit: https://plus.google.com/photos/photo/104908072417273204416/6599176399225288338 . This feature is about trying to do the same with plasma/latte panels. Latte already provides monochrome contents by indicating the desktop background and choosing between theme.backgroundColor and theme.textColor the best choice for better contrast. But the Latte approach is QML Color Overlay that doesnt distinguish contents, it paints everything. My proposal is to find a way for applets in panels to not use just theme.textColor or theme.backgroundColor but the color their containment decides
- Do you think that it would be nice to have such feature for Plasma Desktop?
- Do you know if Plasma mobile is trying to solve this somehow?
What is needed?
A. a way for apps to publish their desired background and text colors. The Mauikit way that has a color pallette file specific to that app may be a solution for this?
B. update the plasma applets to use instead of theme.textColor and theme.backgroundColor e.g. a containment.textColor/containment.backgroundColor ?
C. The containment can decided its own when to apply these colors e.g. only when an app is active and maximized and provides a relevant color set
- From design perspective, should the popup windows from the panel be colored accordingly ?
I could try to provide some solution concerning this if you can provide some guidelines or ideas.