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

@@ -125,7 +125,7 @@ PanelWindow {
sourceComponent: Rectangle {
color: Theme.popupBackground()
radius: Theme.cornerRadiusLarge
radius: Theme.cornerRadius
border.color: Theme.outlineMedium
border.width: 1
antialiasing: true
@@ -235,7 +235,7 @@ PanelWindow {
Rectangle {
width: parent.width
height: 80
radius: Theme.cornerRadiusLarge
radius: Theme.cornerRadius
color: Qt.rgba(Theme.surfaceVariant.r, Theme.surfaceVariant.g,
Theme.surfaceVariant.b,
Theme.getContentBackgroundAlpha() * 0.4)
@@ -328,7 +328,7 @@ PanelWindow {
Rectangle {
width: parent.width
height: 80
radius: Theme.cornerRadiusLarge
radius: Theme.cornerRadius
color: Qt.rgba(Theme.surfaceVariant.r, Theme.surfaceVariant.g,
Theme.surfaceVariant.b,
Theme.getContentBackgroundAlpha() * 0.4)
@@ -452,7 +452,7 @@ PanelWindow {
Rectangle {
width: parent.width
height: 50
radius: Theme.cornerRadiusLarge
radius: Theme.cornerRadius
color: profileArea.containsMouse ? Theme.primaryHoverLight : (root.isActiveProfile(modelData) ? Theme.primaryPressed : Theme.surfaceLight)
border.color: root.isActiveProfile(
modelData) ? Theme.primary : Theme.outlineLight
@@ -511,7 +511,7 @@ PanelWindow {
Rectangle {
width: parent.width
height: 60
radius: Theme.cornerRadiusLarge
radius: Theme.cornerRadius
color: Theme.errorHover
border.color: Theme.primarySelected
border.width: 1

View File

@@ -60,7 +60,7 @@ Rectangle {
Rectangle {
anchors.fill: parent
radius: Theme.cornerRadiusSmall
radius: Theme.cornerRadius
color: trayItemArea.containsMouse ? Theme.primaryHover : "transparent"
Behavior on color {

View File

@@ -84,7 +84,7 @@ PanelWindow {
Rectangle {
anchors.fill: parent
radius: Theme.cornerRadiusXLarge
radius: Theme.cornerRadius
color: Qt.rgba(Theme.surfaceContainer.r, Theme.surfaceContainer.g,
Theme.surfaceContainer.b, root.backgroundTransparency)
layer.enabled: true

View File

@@ -60,7 +60,7 @@ Rectangle {
* 2) : workspaceRow.implicitWidth
+ Theme.spacingL * 2
height: 30
radius: Theme.cornerRadiusLarge
radius: Theme.cornerRadius
color: {
const baseColor = Theme.surfaceTextHover
return Qt.rgba(baseColor.r, baseColor.g, baseColor.b,