1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2025-12-06 05:25:41 -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

@@ -119,7 +119,7 @@ PanelWindow {
color: Qt.rgba(Theme.surfaceContainer.r, Theme.surfaceContainer.g,
Theme.surfaceContainer.b, backgroundTransparency)
radius: Theme.cornerRadiusXLarge
radius: Theme.cornerRadius
border.width: 1
border.color: Theme.outlineMedium
layer.enabled: true

View File

@@ -262,7 +262,7 @@ Item {
anchors.centerIn: parent
visible: !iconImg.visible
color: Theme.surfaceLight
radius: Theme.cornerRadiusLarge
radius: Theme.cornerRadius
border.width: 1
border.color: Theme.primarySelected

View File

@@ -118,7 +118,7 @@ PanelWindow {
}
y: Math.max(10, root.anchorPos.y - height + 30)
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
@@ -147,7 +147,7 @@ PanelWindow {
Rectangle {
width: parent.width
height: 28
radius: Theme.cornerRadiusSmall
radius: Theme.cornerRadius
color: pinArea.containsMouse ? Qt.rgba(Theme.primary.r,
Theme.primary.g,
Theme.primary.b,
@@ -202,7 +202,7 @@ PanelWindow {
required property var model
width: menuColumn.width
height: 28
radius: Theme.cornerRadiusSmall
radius: Theme.cornerRadius
color: windowArea.containsMouse ? Qt.rgba(Theme.primary.r,
Theme.primary.g,
Theme.primary.b,
@@ -248,7 +248,7 @@ PanelWindow {
&& root.appData.windows.count > 1
width: parent.width
height: 28
radius: Theme.cornerRadiusSmall
radius: Theme.cornerRadius
color: closeAllArea.containsMouse ? Qt.rgba(Theme.error.r,
Theme.error.g,
Theme.error.b,

View File

@@ -119,7 +119,7 @@ PanelWindow {
}
y: Math.max(10, root.anchorPos.y - height + 30)
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
@@ -153,7 +153,7 @@ PanelWindow {
required property var model
width: windowColumn.width
height: 32
radius: Theme.cornerRadiusSmall
radius: Theme.cornerRadius
color: windowArea.containsMouse ? Qt.rgba(Theme.primary.r,
Theme.primary.g,
Theme.primary.b,