1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2025-12-06 05:25:41 -05:00

namespace tweaks for blur and layer targets

This commit is contained in:
bbedward
2025-11-03 21:28:40 -05:00
parent fc0082a470
commit 4f59dfc49c
10 changed files with 103 additions and 43 deletions

View File

@@ -105,7 +105,7 @@ DankPopout {
id: mainContainer
implicitHeight: contentColumn.height + Theme.spacingM * 2
color: Theme.surfaceContainer
color: Theme.popupBackground()
radius: Theme.cornerRadius
focus: true

View File

@@ -866,7 +866,6 @@ Item {
}
}
Rectangle {
width: parent.width
height: 1
@@ -901,6 +900,49 @@ Item {
}
}
}
Rectangle {
width: parent.width
height: 1
color: Theme.outline
opacity: 0.2
}
Row {
width: parent.width
height: 40
spacing: Theme.spacingM
Column {
width: parent.width - modalBackgroundToggle.width - parent.spacing
anchors.verticalCenter: parent.verticalCenter
spacing: 2
StyledText {
text: I18n.tr("Darken Modal Background")
font.pixelSize: Theme.fontSizeMedium
color: Theme.surfaceText
font.weight: Font.Medium
}
StyledText {
text: I18n.tr("Show darkened overlay behind modal dialogs")
font.pixelSize: Theme.fontSizeSmall
color: Theme.surfaceVariantText
}
}
DankToggle {
id: modalBackgroundToggle
width: 48
height: 24
anchors.verticalCenter: parent.verticalCenter
checked: SettingsData.modalDarkenBackground
onToggled: checked => {
SettingsData.setModalDarkenBackground(checked)
}
}
}
}
}