summaryrefslogtreecommitdiff
path: root/modules/utilities
diff options
context:
space:
mode:
authorATMDA <atdma2600@gmail.com>2025-11-12 14:51:22 -0500
committerATMDA <atdma2600@gmail.com>2025-11-12 14:51:22 -0500
commitc1510b547645de5e8f70f6be99a0ba894b797241 (patch)
treece67826496f6530ef0ad09482f28ffc85c79eb51 /modules/utilities
parenttray: if background enabled and empty, background is hidden (diff)
downloadcaelestia-shell-c1510b547645de5e8f70f6be99a0ba894b797241.tar.gz
caelestia-shell-c1510b547645de5e8f70f6be99a0ba894b797241.tar.bz2
caelestia-shell-c1510b547645de5e8f70f6be99a0ba894b797241.zip
notifs/toasts: reworked notifications and toasts and how they display and work together. see pull request comment.
Diffstat (limited to 'modules/utilities')
-rw-r--r--modules/utilities/toasts/ToastItem.qml9
1 files changed, 4 insertions, 5 deletions
diff --git a/modules/utilities/toasts/ToastItem.qml b/modules/utilities/toasts/ToastItem.qml
index f475500..477a23c 100644
--- a/modules/utilities/toasts/ToastItem.qml
+++ b/modules/utilities/toasts/ToastItem.qml
@@ -28,14 +28,13 @@ StyledRect {
border.width: 1
border.color: {
- let colour = Colours.palette.m3outlineVariant;
if (root.modelData.type === Toast.Success)
- colour = Colours.palette.m3success;
+ return Colours.palette.m3success;
if (root.modelData.type === Toast.Warning)
- colour = Colours.palette.m3secondaryContainer;
+ return Colours.palette.m3secondaryContainer;
if (root.modelData.type === Toast.Error)
- colour = Colours.palette.m3error;
- return Qt.alpha(colour, 0.3);
+ return Colours.palette.m3error;
+ return Colours.palette.m3outlineVariant;
}
Elevation {