update avatar

This commit is contained in:
2026-09-25 14:56:49 +07:00
parent 192a0585b6
commit a29ce9f827
17 changed files with 94 additions and 72 deletions
+5 -7
View File
@@ -352,15 +352,13 @@ impl SignedTabGroupSkin {
.items_center()
.flex_shrink_0()
.h_7()
.min_w_32()
.min_w_40()
.gap_1()
.px_1p5()
.text_sm()
.overflow_hidden()
.rounded(cx.theme().radius)
.text_color(cx.theme().tab_foreground)
// The title claims the free space and starts at the left, so a name
// narrower than the tab leaves blank space before the close button.
.child(
h_flex()
.flex_1()
@@ -406,16 +404,16 @@ impl SignedTabGroupSkin {
.styles(|styles| {
styles.selected(|style| {
style
.text_color(cx.theme().foreground)
.bg(cx.theme().secondary)
.text_color(cx.theme().tab_active_foreground)
.bg(cx.theme().tab_active)
})
})
.hover(|this| {
if active {
this
} else {
this.text_color(cx.theme().foreground)
.bg(cx.theme().secondary_hover)
this.text_color(cx.theme().tab_foreground)
.bg(cx.theme().tab)
}
})
.selected(active)