Add additional themes, update theme importer

This commit is contained in:
Nate Butler 2023-11-06 14:54:21 -05:00
parent 3940e02a73
commit c47c64184c
13 changed files with 1479 additions and 1383 deletions

View file

@ -1,4 +1,4 @@
use crate::{zed_pro_family, ThemeFamily, ThemeVariant};
use crate::{all_imported_themes, zed_pro_family, ThemeFamily, ThemeVariant};
use anyhow::{anyhow, Result};
use gpui::SharedString;
use std::{collections::HashMap, sync::Arc};
@ -42,7 +42,10 @@ impl Default for ThemeRegistry {
themes: HashMap::default(),
};
this.insert_theme_families([zed_pro_family()]);
let mut all_themes = vec![zed_pro_family()];
all_themes.extend(all_imported_themes());
this.insert_theme_families(all_themes);
this
}