1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2025-12-07 14:05:38 -05:00

Popup transparency option

This commit is contained in:
bbedward
2025-07-14 15:00:58 -04:00
parent 0a4453ab3b
commit 3b16ae73c7
13 changed files with 132 additions and 38 deletions

View File

@@ -40,9 +40,9 @@ PanelWindow {
height: Math.min(450, parent.height - Theme.barHeight - Theme.spacingS * 2)
x: Math.max(Theme.spacingL, parent.width - width - Theme.spacingL)
y: Theme.barHeight + Theme.spacingS
color: Theme.surfaceContainer
color: Theme.popupBackground()
radius: Theme.cornerRadiusLarge
border.color: Qt.rgba(Theme.outline.r, Theme.outline.g, Theme.outline.b, 0.12)
border.color: Qt.rgba(Theme.outline.r, Theme.outline.g, Theme.outline.b, Theme.getPopupBorderAlpha())
border.width: 1
opacity: root.batteryPopupVisible ? 1.0 : 0.0