updates: better styles
This commit is contained in:
parent
46ff77c1d6
commit
9ce726b83d
2 changed files with 9 additions and 1 deletions
|
|
@ -38,6 +38,10 @@ $-accent: scheme.$blue;
|
||||||
margin-left: lib.s(12);
|
margin-left: lib.s(12);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.list {
|
||||||
|
@include lib.spacing($vertical: true);
|
||||||
|
}
|
||||||
|
|
||||||
.news {
|
.news {
|
||||||
margin-bottom: lib.s(5);
|
margin-bottom: lib.s(5);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -29,8 +29,12 @@ const Update = (update: IUpdate) => {
|
||||||
>
|
>
|
||||||
<label
|
<label
|
||||||
truncate
|
truncate
|
||||||
|
useMarkup
|
||||||
xalign={0}
|
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>
|
</button>
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue