Remove old theme constructs
This commit is contained in:
parent
1a54ac0d69
commit
ba789fc0c4
9 changed files with 21 additions and 1874 deletions
|
@ -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,
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue