Remove old theme constructs

This commit is contained in:
Marshall Bowers 2023-10-30 14:47:38 -04:00
parent 1a54ac0d69
commit ba789fc0c4
9 changed files with 21 additions and 1874 deletions

View file

@ -18,6 +18,10 @@ pub fn active_theme<'a>(cx: &'a AppContext) -> &'a Arc<Theme> {
&ThemeSettings::get_global(cx).active_theme
}
pub fn theme(cx: &AppContext) -> Arc<Theme> {
active_theme(cx).clone()
}
pub struct Theme {
pub metadata: ThemeMetadata,