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.

title_bar: Add menu item to deploy icon theme selector (#24482)

Beniamin Zagan4be89ea60f30
diff --git a/crates/title_bar/src/title_bar.rs b/crates/title_bar/src/title_bar.rs
index 801e701e785..cd28890b2e6 100644
--- a/crates/title_bar/src/title_bar.rs
+++ b/crates/title_bar/src/title_bar.rs
@@ -673,6 +673,10 @@ impl TitleBar {
"Themes…",
zed_actions::theme_selector::Toggle::default().boxed_clone(),
)
+ .action(
+ "Icon Themes…",
+ zed_actions::icon_theme_selector::Toggle::default().boxed_clone(),
+ )
.action("Extensions", zed_actions::Extensions.boxed_clone())
.separator()
.link(
@@ -716,6 +720,10 @@ impl TitleBar {
"Themes…",
zed_actions::theme_selector::Toggle::default().boxed_clone(),
)
+ .action(
+ "Icon Themes…",
+ zed_actions::icon_theme_selector::Toggle::default().boxed_clone(),
+ )
.action("Extensions", zed_actions::Extensions.boxed_clone())
.separator()
.link(