diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-02-26 17:16:24 +1100 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-02-26 17:16:24 +1100 |
| commit | 9ce726b83d1b4cba3ac3d016938bc8c6fe43b3cf (patch) | |
| tree | 1282748314046e44a13ce11527cb9e66b23a9149 | |
| parent | monitors: don't hardcode lines for ddc check (diff) | |
| download | caelestia-shell-9ce726b83d1b4cba3ac3d016938bc8c6fe43b3cf.tar.gz caelestia-shell-9ce726b83d1b4cba3ac3d016938bc8c6fe43b3cf.tar.bz2 caelestia-shell-9ce726b83d1b4cba3ac3d016938bc8c6fe43b3cf.zip | |
updates: better styles
| -rw-r--r-- | scss/popdowns/updates.scss | 4 | ||||
| -rw-r--r-- | src/modules/popdowns/updates.tsx | 6 |
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> ); |