1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-01-26 22:42: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

@@ -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