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.

Add support for icon themes (#23987)

Marshall Bowers419780d7029d
diff --git a/assets/settings/default.json b/assets/settings/default.json
index e628fafd9a7..a4a30300c6f 100644
--- a/assets/settings/default.json
+++ b/assets/settings/default.json
@@ -10,6 +10,7 @@
"light": "One Light",
"dark": "One Dark"
},
+ "icon_theme": "Zed (Default)",
// The name of a base set of key bindings to use.
// This setting can take six values, each named after another
// text editor:
diff --git a/crates/theme/src/settings.rs b/crates/theme/src/settings.rs
index e6c36bcf902..9eefc6882d8 100644
--- a/crates/theme/src/settings.rs
+++ b/crates/theme/src/settings.rs
@@ -319,9 +319,6 @@ pub struct ThemeSettingsContent {
#[serde(default)]
pub theme: Option<ThemeSelection>,
/// The name of the icon theme to use.
- ///
- /// Currently not exposed to the user.
- #[serde(skip)]
#[serde(default)]
pub icon_theme: Option<String>,