Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Add github icon
Nate Butlereeaa1e5cf9a6
diff --git a/assets/icons/github.svg b/assets/icons/github.svgnew file mode 100644index 00000000000..28148b9894b--- /dev/null+++ b/assets/icons/github.svg@@ -0,0 +1 @@+<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-github"><path d="M15 22v-4a4.8 4.8 0 0 0-1-3.5c3 0 6-2 6-5.5.08-1.25-.27-2.48-1-3.5.28-1.15.28-2.35 0-3.5 0 0-1 0-3 1.5-2.64-.5-5.36-.5-8 0C6 2 5 2 5 2c-.3 1.15-.3 2.35 0 3.5A5.403 5.403 0 0 0 4 9c0 3.5 3 5.5 6 5.5-.39.49-.68 1.05-.85 1.65-.17.6-.22 1.23-.15 1.85v4"/><path d="M9 18c-4.51 2-5-2-7-2"/></svg>diff --git a/crates/ui2/src/components/icon.rs b/crates/ui2/src/components/icon.rsindex 6876630100e..6216acac483 100644--- a/crates/ui2/src/components/icon.rs+++ b/crates/ui2/src/components/icon.rs@@ -67,6 +67,7 @@ pub enum Icon {Folder,FolderOpen,FolderX,+ Github,Hash,InlayHint,Link,@@ -147,6 +148,7 @@ impl Icon {Icon::Folder => "icons/file_icons/folder.svg",Icon::FolderOpen => "icons/file_icons/folder_open.svg",Icon::FolderX => "icons/stop_sharing.svg",+ Icon::Github => "icons/github.svg",Icon::Hash => "icons/hash.svg",Icon::InlayHint => "icons/inlay_hint.svg",Icon::Link => "icons/link.svg",