1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-01-30 08:22:51 -05:00

respect corner radius in settings

This commit is contained in:
bbedward
2025-09-21 11:44:00 -04:00
parent babcc66765
commit 118375f004
2 changed files with 5 additions and 21 deletions

View File

@@ -250,11 +250,7 @@ DankPopout {
Theme.primary.r, Theme.primary.r,
Theme.primary.g, Theme.primary.g,
Theme.primary.b, Theme.primary.b,
0.12) : Qt.rgba( 0.12) : "transparent"
Theme.surfaceVariant.r,
Theme.surfaceVariant.g,
Theme.surfaceVariant.b,
0.5)
visible: BatteryService.batteryAvailable visible: BatteryService.batteryAvailable
Row { Row {
@@ -326,11 +322,7 @@ DankPopout {
iconName: "lock" iconName: "lock"
iconSize: Theme.iconSize - 2 iconSize: Theme.iconSize - 2
iconColor: Theme.surfaceText iconColor: Theme.surfaceText
backgroundColor: Qt.rgba( backgroundColor: "transparent"
Theme.surfaceVariant.r,
Theme.surfaceVariant.g,
Theme.surfaceVariant.b,
0.5)
onClicked: { onClicked: {
root.close() root.close()
root.lockRequested() root.lockRequested()
@@ -342,11 +334,7 @@ DankPopout {
iconName: root.powerOptionsExpanded ? "expand_less" : "power_settings_new" iconName: root.powerOptionsExpanded ? "expand_less" : "power_settings_new"
iconSize: Theme.iconSize - 2 iconSize: Theme.iconSize - 2
iconColor: Theme.surfaceText iconColor: Theme.surfaceText
backgroundColor: Qt.rgba( backgroundColor: "transparent"
Theme.surfaceVariant.r,
Theme.surfaceVariant.g,
Theme.surfaceVariant.b,
0.5)
onClicked: { onClicked: {
root.powerOptionsExpanded = !root.powerOptionsExpanded root.powerOptionsExpanded = !root.powerOptionsExpanded
} }
@@ -358,11 +346,7 @@ DankPopout {
iconName: "settings" iconName: "settings"
iconSize: Theme.iconSize - 2 iconSize: Theme.iconSize - 2
iconColor: Theme.surfaceText iconColor: Theme.surfaceText
backgroundColor: Qt.rgba( backgroundColor: "transparent"
Theme.surfaceVariant.r,
Theme.surfaceVariant.g,
Theme.surfaceVariant.b,
0.5)
onClicked: { onClicked: {
root.close() root.close()
settingsModal.show() settingsModal.show()

View File

@@ -52,7 +52,7 @@ Rectangle {
property int _padH: Theme.spacingS property int _padH: Theme.spacingS
property int _tileSize: 48 property int _tileSize: 48
property int _tileRadius: 14 property int _tileRadius: Theme.cornerRadius
Rectangle { Rectangle {
id: rightHoverOverlay id: rightHoverOverlay