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.

Fix theme overrides (#38512)

Conrad Irwinbe7575536ea7
diff --git a/crates/theme/src/settings.rs b/crates/theme/src/settings.rs
index b2c19ae3ed0..04b8bd3dd7c 100644
--- a/crates/theme/src/settings.rs
+++ b/crates/theme/src/settings.rs
@@ -804,8 +804,8 @@ impl settings::Settings for ThemeSettings {
.or(themes.get(&zed_default_dark().name))
.unwrap(),
theme_selection: Some(theme_selection),
- experimental_theme_overrides: None,
- theme_overrides: HashMap::default(),
+ experimental_theme_overrides: content.experimental_theme_overrides.clone(),
+ theme_overrides: content.theme_overrides.clone(),
active_icon_theme: themes
.get_icon_theme(icon_theme_selection.icon_theme(*system_appearance))
.or_else(|_| themes.default_icon_theme())