From d6455605cd4ce38db8073b0116b9717e17623e8d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Danielle=20For=C3=A9?= Date: Tue, 8 Sep 2026 10:29:17 -0700 Subject: [PATCH 1/2] Bubble: don't rely on system text styles --- src/Bubble.vala | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/Bubble.vala b/src/Bubble.vala index 533a521..4f35538 100644 --- a/src/Bubble.vala +++ b/src/Bubble.vala @@ -15,9 +15,7 @@ public class Notifications.Bubble : AbstractBubble { var contents = new Contents (value); - if (value.priority == URGENT) { - contents.add_css_class ("urgent"); - } else { + if (value.priority != URGENT) { timeout = 4000; } @@ -162,6 +160,11 @@ public class Notifications.Bubble : AbstractBubble { attach (action_area, 0, 2, 2); } + + if (notification.priority == URGENT) { + add_css_class ("urgent"); + title_label.add_css_class (Granite.CssClass.ERROR); + } } } } From e1637277615f0ac2e2bc488771c8518f57a76019 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Danielle=20For=C3=A9?= Date: Tue, 8 Sep 2026 10:30:16 -0700 Subject: [PATCH 2/2] CSS: add text styles --- data/application.css | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/data/application.css b/data/application.css index 8c34231..971e2df 100644 --- a/data/application.css +++ b/data/application.css @@ -51,6 +51,14 @@ window, margin: 16px; } +.notification .draw-area label.title { + font-weight: 700; +} + +.notification .draw-area label.title image { + color: color-mix(in srgb, var(@fg_color) 78%, transparent); +} + .notification.reduce-transparency .draw-area { margin: 16px; background: @base_color;