This commit is contained in:
2026-10-08 08:51:11 +07:00
parent 2efb6ac5ca
commit f4b435b160
48 changed files with 211 additions and 222 deletions
+4 -4
View File
@@ -89,7 +89,7 @@ impl Sidebar {
.text_color(cx.theme().text_muted)
.text_center()
.rounded(cx.theme().radius)
.bg(cx.theme().elevated_surface_background)
.bg(cx.theme().raised)
.child(SharedString::from(
request_count.to_string(),
)),
@@ -102,7 +102,7 @@ impl Sidebar {
)
})
.when(requests_open, |this| {
this.bg(cx.theme().ghost_element_active)
this.bg(cx.theme().active)
})
.on_click(cx.listener(|this, _event, _window, cx| {
this.toggle_requests(cx);
@@ -111,7 +111,7 @@ impl Sidebar {
.child(
NavItem::new("contacts", "Contacts", Icon::new(IconName::Book).small())
.when(contacts_open, |this| {
this.bg(cx.theme().ghost_element_active)
this.bg(cx.theme().active)
})
.on_click(cx.listener(|this, _event, window, cx| {
this.toggle_contacts(window, cx);
@@ -124,7 +124,7 @@ impl Sidebar {
.px_4()
.text_xs()
.font_semibold()
.text_color(cx.theme().text_placeholder)
.text_color(cx.theme().text_faint)
.child(list_title),
)
})