summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-02-26 17:16:24 +1100
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-02-26 17:16:24 +1100
commit9ce726b83d1b4cba3ac3d016938bc8c6fe43b3cf (patch)
tree1282748314046e44a13ce11527cb9e66b23a9149 /src
parentmonitors: don't hardcode lines for ddc check (diff)
downloadcaelestia-shell-9ce726b83d1b4cba3ac3d016938bc8c6fe43b3cf.tar.gz
caelestia-shell-9ce726b83d1b4cba3ac3d016938bc8c6fe43b3cf.tar.bz2
caelestia-shell-9ce726b83d1b4cba3ac3d016938bc8c6fe43b3cf.zip
updates: better styles
Diffstat (limited to 'src')
-rw-r--r--src/modules/popdowns/updates.tsx6
1 files changed, 5 insertions, 1 deletions
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>
);