diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-08-14 23:29:19 +1000 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-08-14 23:29:19 +1000 |
| commit | fa39593ca497c27ca8631091a75d883e4e3c46f2 (patch) | |
| tree | 46046371f7bf73b521a044a7116aa39ed2a435d4 /modules | |
| parent | internal: better loading indicator (diff) | |
| download | caelestia-shell-fa39593ca497c27ca8631091a75d883e4e3c46f2.tar.gz caelestia-shell-fa39593ca497c27ca8631091a75d883e4e3c46f2.tar.bz2 caelestia-shell-fa39593ca497c27ca8631091a75d883e4e3c46f2.zip | |
notifs: use secondary container
Instead of tertiary container
Diffstat (limited to '')
| -rw-r--r-- | modules/notifications/Notification.qml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/notifications/Notification.qml b/modules/notifications/Notification.qml index d1426fa..fb06102 100644 --- a/modules/notifications/Notification.qml +++ b/modules/notifications/Notification.qml @@ -147,7 +147,7 @@ StyledRect { sourceComponent: StyledRect { radius: Appearance.rounding.full - color: root.modelData.urgency === NotificationUrgency.Critical ? Colours.palette.m3error : root.modelData.urgency === NotificationUrgency.Low ? Colours.layer(Colours.palette.m3surfaceContainerHighest, 2) : Colours.palette.m3tertiaryContainer + color: root.modelData.urgency === NotificationUrgency.Critical ? Colours.palette.m3error : root.modelData.urgency === NotificationUrgency.Low ? Colours.layer(Colours.palette.m3surfaceContainerHighest, 2) : Colours.palette.m3secondaryContainer implicitWidth: root.hasImage ? Config.notifs.sizes.badge : Config.notifs.sizes.image implicitHeight: root.hasImage ? Config.notifs.sizes.badge : Config.notifs.sizes.image @@ -165,7 +165,7 @@ StyledRect { sourceComponent: ColouredIcon { anchors.fill: parent source: Quickshell.iconPath(root.modelData.appIcon) - colour: root.modelData.urgency === NotificationUrgency.Critical ? Colours.palette.m3onError : root.modelData.urgency === NotificationUrgency.Low ? Colours.palette.m3onSurface : Colours.palette.m3onTertiaryContainer + colour: root.modelData.urgency === NotificationUrgency.Critical ? Colours.palette.m3onError : root.modelData.urgency === NotificationUrgency.Low ? Colours.palette.m3onSurface : Colours.palette.m3onSecondaryContainer layer.enabled: root.modelData.appIcon.endsWith("symbolic") } } @@ -180,7 +180,7 @@ StyledRect { sourceComponent: MaterialIcon { text: Icons.getNotifIcon(root.modelData.summary.toLowerCase(), root.modelData.urgency) - color: root.modelData.urgency === NotificationUrgency.Critical ? Colours.palette.m3onError : root.modelData.urgency === NotificationUrgency.Low ? Colours.palette.m3onSurface : Colours.palette.m3onTertiaryContainer + color: root.modelData.urgency === NotificationUrgency.Critical ? Colours.palette.m3onError : root.modelData.urgency === NotificationUrgency.Low ? Colours.palette.m3onSurface : Colours.palette.m3onSecondaryContainer font.pointSize: Appearance.font.size.large } } |