1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-01-25 05:52:50 -05:00

color tweaks

This commit is contained in:
bbedward
2025-08-31 20:04:00 -04:00
parent 4b7a43fccd
commit 87f70c66ba
6 changed files with 40 additions and 152 deletions

View File

@@ -280,7 +280,7 @@ DankModal {
id: clearConfirmDialog
confirmButtonText: "Clear All"
confirmButtonColor: Theme.error
confirmButtonColor: Theme.primary
onVisibleChanged: {
if (visible) {
@@ -452,8 +452,8 @@ DankModal {
DankActionButton {
iconName: "delete_sweep"
iconSize: Theme.iconSize
iconColor: Theme.error
hoverColor: Theme.errorHover
iconColor: Theme.surfaceText
hoverColor: Theme.surfaceHover
onClicked: {
clearConfirmDialog.show(
"Clear All History?",
@@ -471,7 +471,7 @@ DankModal {
iconName: "close"
iconSize: Theme.iconSize - 4
iconColor: Theme.surfaceText
hoverColor: Theme.errorHover
hoverColor: Theme.surfaceHover
onClicked: hide()
}
}
@@ -841,8 +841,8 @@ DankModal {
anchors.verticalCenter: parent.verticalCenter
iconName: "close"
iconSize: Theme.iconSize - 6
iconColor: Theme.error
hoverColor: Theme.errorHover
iconColor: Theme.surfaceText
hoverColor: Theme.surfaceHover
onClicked: {
deleteEntry(model.entry)
}

View File

@@ -13,7 +13,7 @@ DankModal {
property string confirmMessage: ""
property string confirmButtonText: "Confirm"
property string cancelButtonText: "Cancel"
property color confirmButtonColor: Theme.error
property color confirmButtonColor: Theme.primary
property var onConfirm: function() {}
property var onCancel: function() {}
@@ -25,7 +25,7 @@ DankModal {
confirmMessage = message || ""
confirmButtonText = "Confirm"
cancelButtonText = "Cancel"
confirmButtonColor = Theme.error
confirmButtonColor = Theme.primary
onConfirm = onConfirmCallback || function() {}
onCancel = onCancelCallback || function() {}
selectedButton = -1
@@ -38,7 +38,7 @@ DankModal {
confirmMessage = options.message || ""
confirmButtonText = options.confirmText || "Confirm"
cancelButtonText = options.cancelText || "Cancel"
confirmButtonColor = options.confirmColor || Theme.error
confirmButtonColor = options.confirmColor || Theme.primary
onConfirm = options.onConfirm || function() {}
onCancel = options.onCancel || function() {}
selectedButton = -1

View File

@@ -233,14 +233,6 @@ DankModal {
}
}
DankIcon {
anchors.centerIn: parent
name: "warning"
size: Theme.iconSizeLarge
color: Theme.error
visible: PortalService.profileImage !== ""
&& profileImageSource.status === Image.Error
}
Rectangle {
anchors.fill: parent