summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scss/popdowns/updates.scss4
-rw-r--r--src/modules/popdowns/updates.tsx6
2 files changed, 9 insertions, 1 deletions
diff --git a/scss/popdowns/updates.scss b/scss/popdowns/updates.scss
index 7ab661f..c9b1cb9 100644
--- a/scss/popdowns/updates.scss
+++ b/scss/popdowns/updates.scss
@@ -38,6 +38,10 @@ $-accent: scheme.$blue;
margin-left: lib.s(12);
}
+ .list {
+ @include lib.spacing($vertical: true);
+ }
+
.news {
margin-bottom: lib.s(5);
}
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>
);