diff --git a/src/app/dialogs.rs b/src/app/dialogs.rs index b8713f1..1ef0143 100644 --- a/src/app/dialogs.rs +++ b/src/app/dialogs.rs @@ -871,7 +871,7 @@ impl Ashell { .h(px(560.)) .content({ let view = view.clone(); - move |content, _window, _cx| { + move |content, _window, cx| { use gpui_component::setting::{Settings, SettingPage, SettingGroup, SettingItem, SettingField}; use gpui::IntoElement; let version = env!("CARGO_PKG_VERSION"); @@ -880,6 +880,7 @@ impl Ashell { content.child( Settings::new("settings") .sidebar_width(px(180.)) + .sidebar_style(div().bg(cx.theme().background).style()) .page( SettingPage::new(t!("settings_general").to_string()) .icon(IconName::Settings) diff --git a/src/app/ui.rs b/src/app/ui.rs index aa88080..0c326e9 100644 --- a/src/app/ui.rs +++ b/src/app/ui.rs @@ -1470,7 +1470,15 @@ impl Ashell { .h(px(32.)) .bg(dot_color), ) - .label(label) + .child( + div() + .when(ix == selected, |this| { + this.font_weight(FontWeight::BOLD) + .text_color(cx.theme().primary) + .text_base() + }) + .child(label), + ) .on_click(cx.listener( move |this, _, window, cx| { this.activate_group(