vinceliuice/Layan-kde

Request advice: Changing panel shadow color

Opened this issue · 0 comments

Hello, and thanks for maintaining this great theme!

I'd like to change my panel (or latte panel/dock) shadow to be a glow.

Ideally it would use the same shadow color used by my kwin decoration (breeze enhanced), or in my case it happens to be the same as ButtonText. I'm happy enough to hardcode a color in an overriding SVG file though.

What I tried:

panel-background.svg:

<linearGradient id="linearGradient4270">
-   <stop stop-color="#000000" stop-opacity=".66663" offset="0"/>
-   <stop stop-color="#000000" stop-opacity="0" offset="1"/>
+   <stop stop-color="#e2a964" stop-opacity=".66663" offset="0"/>
+   <stop stop-color="#e2a964" stop-opacity="0" offset="1"/>
</linearGradient>
  • result
    • upper left: empty plasma panel, with dark shadow
    • upper right: full latte dock, with dark shadow (made enormous for clarity)
    • center: panel-background.svg as viewed with qview, showing light shadow (glow)
  • existing discussion on reddit

Thanks for any help!