1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-01-24 21:42:51 -05:00

corner radius unified + setting

This commit is contained in:
bbedward
2025-08-08 16:05:10 -04:00
parent 4d408c65f2
commit f5e52c55c0
53 changed files with 211 additions and 132 deletions

View File

@@ -28,7 +28,7 @@ Rectangle {
}
return baseHeight
}
radius: Theme.cornerRadiusLarge
radius: Theme.cornerRadius
color: Qt.rgba(Theme.surfaceVariant.r, Theme.surfaceVariant.g,
Theme.surfaceVariant.b, 0.1)
border.color: notificationGroup?.latestNotification?.urgency
@@ -323,7 +323,7 @@ Rectangle {
}
return baseHeight
}
radius: Theme.cornerRadiusLarge
radius: Theme.cornerRadius
color: "transparent"
border.color: Qt.rgba(Theme.outline.r, Theme.outline.g,
Theme.outline.b, 0.05)

View File

@@ -89,7 +89,7 @@ PanelWindow {
x: calculatedX
y: root.triggerY
color: Theme.popupBackground()
radius: Theme.cornerRadiusLarge
radius: Theme.cornerRadius
border.color: Qt.rgba(Theme.outline.r, Theme.outline.g,
Theme.outline.b, 0.08)
border.width: 1

View File

@@ -37,7 +37,7 @@ Item {
width: tooltipText.contentWidth + Theme.spacingS * 2
height: tooltipText.contentHeight + Theme.spacingXS * 2
radius: Theme.cornerRadiusSmall
radius: Theme.cornerRadius
color: Theme.surfaceContainer
border.color: Theme.outline
border.width: 1
@@ -73,7 +73,7 @@ Item {
width: 120
height: 28
radius: Theme.cornerRadiusLarge
radius: Theme.cornerRadius
anchors.right: parent.right
anchors.verticalCenter: parent.verticalCenter
visible: NotificationService.notifications.length > 0