Flatten theme styles by eliminating top-level ui key

Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
Co-Authored-By: Antonio Scandurra <me@as-cii.com>
This commit is contained in:
Nathan Sobo
2021-08-20 10:44:34 -06:00
co-authored by Max Brunsfeld Antonio Scandurra
parent 9b7756f566
commit 9ff764983d
6 changed files with 24 additions and 25 deletions
+2 -2
View File
@@ -181,7 +181,7 @@ impl Pane {
fn render_tabs(&self, cx: &AppContext) -> ElementBox {
let settings = self.settings.borrow();
let theme = &settings.theme.ui;
let theme = &settings.theme;
let line_height = cx.font_cache().line_height(
cx.font_cache().default_font(settings.ui_font_family),
settings.ui_font_size,
@@ -304,7 +304,7 @@ impl Pane {
tab_hovered: bool,
is_dirty: bool,
has_conflict: bool,
theme: &theme::Ui,
theme: &theme::Theme,
cx: &AppContext,
) -> ElementBox {
enum TabCloseButton {}