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 /src/modules | |
| 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
Diffstat (limited to 'src/modules')
| -rw-r--r-- | src/modules/popdowns/updates.tsx | 6 |
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> ); |