pop-os / libcosmic

WIP library for COSMIC applications

Home Page:https://pop-os.github.io/libcosmic/cosmic/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

All COSMIC app windows should have a small neutral border and drop shadows

maria-komarova opened this issue · comments

COSMIC app windows should have a small 1px border (@bg_divider color) inside each window area and a drop shadow: @shade_color which is defined as rgba (0, 0, 0, 0.32) for Dark mode, and rgba (0, 0, 0, 0.08) for Light mode.

Same borders and drop shadows should be applied to dialogs, all menu types and stand-alone notifications (notifications that pop up on the screen and disappear after delay, not the notification cards inside Notification center applet).

This is not a cosmic-comp issue, as it doesn't draw these types of decorations, instead the apps do. This is a libcosmic issue.

This is not a cosmic-comp issue, as it doesn't draw these types of decorations, instead the apps do. This is a libcosmic issue.

What about applications with server side decorations?

I'd include them as well unless they have some other styling.

Would this also apply to dialogs, modals and maybe applet popups?

Ah, right, it should - dialogs, all menu types and stand-alone notifications. I wonder if we need a separate issue for this.

I'd include them as well unless they have some other styling.

It would be nice if the styling was consistent across libcosmic, libadwaita, GTK and QT. It would not look good if each toolkit/library had its own borders and shadows. In other desktops you usually only have this problem with apps like Steam, but QT and GTK usually have the same borders and shadows.

@PoisonFrog It's not technically feasible to have precise styling across toolkits, as that requires fundamentally altering how those toolkits theme and render their widgets. We can only provide a best effort based on the theming capabilities those toolkits make configurable to the OS.

@PoisonFrog It's not technically feasible to have precise styling across toolkits, as that requires fundamentally altering how those toolkits theme and render their widgets. We can only provide a best effort based on the theming capabilities those toolkits make configurable to the OS.

I understand, but I was talking about borders and shadows only. Borders and shadows are quite consistent across toolkits in KDE and XFCE. I understand that the look and feel of the apps in general will not be consistent across toolkits.

@PoisonFrog It's not technically feasible to have precise styling across toolkits, as that requires fundamentally altering how those toolkits theme and render their widgets. We can only provide a best effort based on the theming capabilities those toolkits make configurable to the OS.

I understand, but I was talking about borders and shadows only. Borders and shadows are quite consistent across toolkits in KDE and XFCE. I understand that the look and feel of the apps in general will not be consistent across toolkits.

This consistency is achieved by usage of Server Side Decorations. I think that applications that utilizes them will look consistent in COSMIC