Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

agent: Render the max mode toggle using a muted color (#29763)

Marshall Bowers7c23d1377399
diff --git a/crates/agent/src/message_editor.rs b/crates/agent/src/message_editor.rs
index 924ed797660..79790c7ac4d 100644
--- a/crates/agent/src/message_editor.rs
+++ b/crates/agent/src/message_editor.rs
@@ -428,6 +428,7 @@ impl MessageEditor {
Some(
IconButton::new("max-mode", IconName::ZedMaxMode)
.icon_size(IconSize::Small)
+ .icon_color(Color::Muted)
.toggle_state(active_completion_mode == Some(CompletionMode::Max))
.on_click(cx.listener(move |this, _event, _window, cx| {
this.thread.update(cx, |thread, _cx| {