From eeaa1e5cf9a6ea0369bf237705439b392f9ad382 Mon Sep 17 00:00:00 2001 From: Nate Butler Date: Mon, 18 Dec 2023 12:56:57 -0500 Subject: [PATCH] Add github icon --- assets/icons/github.svg | 1 + crates/ui2/src/components/icon.rs | 2 ++ 2 files changed, 3 insertions(+) create mode 100644 assets/icons/github.svg diff --git a/assets/icons/github.svg b/assets/icons/github.svg new file mode 100644 index 0000000000..28148b9894 --- /dev/null +++ b/assets/icons/github.svg @@ -0,0 +1 @@ + diff --git a/crates/ui2/src/components/icon.rs b/crates/ui2/src/components/icon.rs index 6876630100..6216acac48 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",