diff --git a/crates/client/src/gui/sidebar.rs b/crates/client/src/gui/sidebar.rs index f35f356..de2ec87 100644 --- a/crates/client/src/gui/sidebar.rs +++ b/crates/client/src/gui/sidebar.rs @@ -911,15 +911,27 @@ impl Yumush { .gap(px(space::XS)) .child(self.account_trigger(entity, user, true, palette)) .children(self.is_builder().then(|| { + let ghost = self.chat.ghost; icon_button( "builder_button".to_string(), palette, - IconName::Shield, - Role::Builder.label(), + if ghost { + IconName::Ghost + } else { + IconName::Shield + }, + if ghost { + "Ghost on" + } else { + Role::Builder.label() + }, entity_action(entity, |yumush, window, cx| { yumush.show_view(View::Builder, window, cx) }), ) + .when(ghost, |button| { + button.text_color(palette.tokens.hue(super::style::my_hue())) + }) })), ) }