1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-04-03 20:32:07 -04:00

widgets: cleanup rectangles across popouts, modals, OSDs

This commit is contained in:
bbedward
2026-02-14 11:15:26 -05:00
parent 2b78fe5b9f
commit 44a45b00cf
16 changed files with 31 additions and 254 deletions

View File

@@ -4,7 +4,6 @@ import Quickshell
import Quickshell.Wayland
import qs.Common
import qs.Services
import qs.Widgets
PanelWindow {
id: root
@@ -260,11 +259,13 @@ PanelWindow {
readonly property real popupSurfaceAlpha: SettingsData.popupTransparency
readonly property real effectiveShadowAlpha: Math.max(0, Math.min(1, shadowBaseAlpha * popupSurfaceAlpha * osdContainer.opacity))
DankRectangle {
Rectangle {
id: background
anchors.fill: parent
radius: Theme.cornerRadius
color: Theme.withAlpha(Theme.surfaceContainer, osdContainer.popupSurfaceAlpha)
border.color: Theme.outlineMedium
border.width: 1
z: -1
}
@@ -293,9 +294,12 @@ PanelWindow {
}
}
DankRectangle {
Rectangle {
anchors.fill: parent
radius: Theme.cornerRadius
color: Theme.surfaceContainer
border.color: Theme.outlineMedium
border.width: 1
}
}