Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Switch icon (#16363)
Nate Butler6cfbb54edeed
diff --git a/assets/icons/magic_wand.svg b/assets/icons/magic_wand.svgdeleted file mode 100644index cd219476476..00000000000--- a/assets/icons/magic_wand.svg+++ /dev/null@@ -1,10 +0,0 @@-<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">- <path d="M3 13L7.01562 8.98438" stroke="black" stroke-width="1.5" stroke-linecap="round"/>- <path d="M8.6875 7.3125L9.5 6.5" stroke="black" stroke-width="1.5" stroke-linecap="round"/>- <path d="M7 5V3" stroke="black" stroke-width="1.5" stroke-linecap="round"/>- <path d="M12 5V3" stroke="black" stroke-width="1.5" stroke-linecap="round"/>- <path d="M12 10V8" stroke="black" stroke-width="1.5" stroke-linecap="round"/>- <path d="M6 4L8 4" stroke="black" stroke-width="1.5" stroke-linecap="round"/>- <path d="M11 4L13 4" stroke="black" stroke-width="1.5" stroke-linecap="round"/>- <path d="M11 9L13 9" stroke="black" stroke-width="1.5" stroke-linecap="round"/>-</svg>diff --git a/crates/assistant/src/assistant_panel.rs b/crates/assistant/src/assistant_panel.rsindex ac2e54ab121..b27f2f2b3a8 100644--- a/crates/assistant/src/assistant_panel.rs+++ b/crates/assistant/src/assistant_panel.rs@@ -119,7 +119,7 @@ struct InlineAssistTabBarButton;impl Render for InlineAssistTabBarButton {fn render(&mut self, cx: &mut ViewContext<Self>) -> impl IntoElement {- IconButton::new("terminal_inline_assistant", IconName::MagicWand)+ IconButton::new("terminal_inline_assistant", IconName::ZedAssistant).icon_size(IconSize::Small).on_click(cx.listener(|_, _, cx| {cx.dispatch_action(InlineAssist::default().boxed_clone());diff --git a/crates/quick_action_bar/src/quick_action_bar.rs b/crates/quick_action_bar/src/quick_action_bar.rsindex bda398eee1c..5ac49189a93 100644--- a/crates/quick_action_bar/src/quick_action_bar.rs+++ b/crates/quick_action_bar/src/quick_action_bar.rs@@ -141,7 +141,7 @@ impl Render for QuickActionBar {let assistant_button = QuickActionBarButton::new("toggle inline assistant",- IconName::MagicWand,+ IconName::ZedAssistant,false,Box::new(InlineAssist::default()),"Inline Assist",diff --git a/crates/ui/src/components/icon.rs b/crates/ui/src/components/icon.rsindex b0062f5d676..dd8612e33a4 100644--- a/crates/ui/src/components/icon.rs+++ b/crates/ui/src/components/icon.rs@@ -195,7 +195,6 @@ pub enum IconName {LineHeight,Link,ListTree,- MagicWand,MagnifyingGlass,MailOpen,Maximize,@@ -359,7 +358,6 @@ impl IconName {IconName::LineHeight => "icons/line_height.svg",IconName::Link => "icons/link.svg",IconName::ListTree => "icons/list_tree.svg",- IconName::MagicWand => "icons/magic_wand.svg",IconName::MagnifyingGlass => "icons/magnifying_glass.svg",IconName::MailOpen => "icons/mail_open.svg",IconName::Maximize => "icons/maximize.svg",