arc-design / arc-theme

A flat theme with transparent elements
GNU General Public License v3.0
697 stars 54 forks source link

[Feature Request] Add translucent effect #36

Open llaumgui opened 6 years ago

llaumgui commented 6 years ago

From: https://github.com/horst3180/arc-theme/issues/835

GNOME 3.26 introduced translucent effect, it would be nice if Arc theme supported this.

https://www.youtube.com/watch?v=hBESZVHI1TU

A solution by @cra0zy can be found here: https://github.com/horst3180/arc-theme/issues/835#issue-263443718

NicoHood commented 6 years ago

Thanks for reporting. This is something we really need! I will work on that for the next release.

NicoHood commented 6 years ago

@llaumgui I've just tested the current arc theme with gnome on archlinux and it just work. Not even a change is required. You are possibly running an outdated version of gnome. Can you please verify?

llaumgui commented 6 years ago

I use 3.26.2 on Fedora 27 with 42d8f23. With default theme it's OK but not with Arc themes.

NicoHood commented 6 years ago

@llaumgui Was the issue fixed since then?

jnsh commented 6 years ago

@NicoHood The top-bar trancluency effect works if you're using the default gnome-shell theme. The Arc gnome-shell theme still requires an update.

I'm in the process of updating the gnome-shell theme according to upstream updates since 3.24, and this is one of the issues that will be addressed.

NicoHood commented 6 years ago

@jnsh Any updates on this issue?

jnsh commented 6 years ago

@NicoHood, this hasn't been a priority for me, since it's not a major issue but merely an improvement, and therefore I really haven't looked at it yet.

I don't think the solution from https://github.com/horst3180/arc-theme/issues/835#issue-263443718 is the right way to do this, and would not look correct.

The fact that Arc shell theme uses svg images for drawing the panel background, also makes this quite complicated to implement, since you can't simply change the background transparency. It's possible that the only way to implement this would be not using the svg assets, and drawing the panel with pure CSS, similar to what was done to fix #135.

I've been thinking of refactoring the Arc gnome-shell theme completely, by removing the use of svg assets in such cases. This would be technically closer to the default shell theme, and would therefore make the shell theme development and updates simpler, possibly avoid some bugs, and it even might be slightly faster. But that's out of the scope of this issue.

Nevertheless, I think this has to be postponed to the "Next Next Release".