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

apply theme_name(fallback use "")

Release Notes:

- N/A
This commit is contained in:
d1y
2024-02-07 10:13:46 -05:00
committed by GitHub
parent ad3940c66f
commit c7b022144f
+1 -1
View File
@@ -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(),
};