Merge remote-tracking branch 'origin/main' into editor-movement
This commit is contained in:
commit
aa17adaac9
14 changed files with 68 additions and 4 deletions
|
@ -52,7 +52,10 @@ impl ThemeRegistry {
|
|||
status: StatusColors::default(),
|
||||
git: GitStatusColors::default(),
|
||||
player: PlayerColors::default(),
|
||||
syntax: Arc::new(SyntaxTheme::default_dark()),
|
||||
syntax: match user_theme.appearance {
|
||||
Appearance::Light => Arc::new(SyntaxTheme::default_light()),
|
||||
Appearance::Dark => Arc::new(SyntaxTheme::default_dark()),
|
||||
},
|
||||
},
|
||||
}
|
||||
}));
|
||||
|
@ -81,7 +84,7 @@ impl Default for ThemeRegistry {
|
|||
};
|
||||
|
||||
this.insert_theme_families([zed_pro_family()]);
|
||||
this.insert_user_theme_familes(crate::all_imported_themes());
|
||||
this.insert_user_theme_familes(crate::all_user_themes());
|
||||
|
||||
this
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue