From 9ce726b83d1b4cba3ac3d016938bc8c6fe43b3cf Mon Sep 17 00:00:00 2001
From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>
Date: Wed, 26 Feb 2025 17:16:24 +1100
Subject: updates: better styles

---
 src/modules/popdowns/updates.tsx | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

(limited to 'src/modules/popdowns/updates.tsx')

diff --git a/src/modules/popdowns/updates.tsx b/src/modules/popdowns/updates.tsx
index fd98671..b4b4a63 100644
--- a/src/modules/popdowns/updates.tsx
+++ b/src/modules/popdowns/updates.tsx
@@ -29,8 +29,12 @@ const Update = (update: IUpdate) => {
         >
             <label
                 truncate
+                useMarkup
                 xalign={0}
-                label={`${update.name} (${update.version.old} -> ${update.version.new})\n    ${update.description}`}
+                label={bind(Palette.get_default(), "colours").as(
+                    c =>
+                        `${update.name} <span foreground="${c.teal}">(${update.version.old} -> ${update.version.new})</span>\n    <span foreground="${c.subtext0}">${update.description}</span>`
+                )}
             />
         </button>
     );
-- 
cgit v1.2.3-freya

