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.

theme_importer: Read theme name from VS Code theme (#7489)

d1yc7b022144f8e
diff --git a/crates/theme_importer/src/main.rs b/crates/theme_importer/src/main.rs
index c689d7f7f99..be470e6833a 100644
--- a/crates/theme_importer/src/main.rs
+++ b/crates/theme_importer/src/main.rs
@@ -135,7 +135,7 @@ fn main() -> Result<()> {
.context(format!("failed to parse theme {theme_file_path:?}"))?;
let theme_metadata = ThemeMetadata {
- name: "".to_string(),
+ name: vscode_theme.name.clone().unwrap_or("".to_string()),
appearance: ThemeAppearanceJson::Dark,
file_name: "".to_string(),
};