From 33a8942c8b7f0e6fbb15497c2905c382e5e5e90f Mon Sep 17 00:00:00 2001 From: Nathan Sobo Date: Wed, 4 Aug 2021 16:09:19 -0600 Subject: [PATCH] Pull empty selector label styling from correct place in theme --- zed/src/file_finder.rs | 2 +- zed/src/theme_selector.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/zed/src/file_finder.rs b/zed/src/file_finder.rs index 8e2e0bfa57..bacba1ee2a 100644 --- a/zed/src/file_finder.rs +++ b/zed/src/file_finder.rs @@ -107,7 +107,7 @@ impl FileFinder { settings.ui_font_family, settings.ui_font_size, ) - .with_default_color(settings.theme.editor.text) + .with_style(&settings.theme.ui.selector.label) .boxed(), ) .with_margin_top(6.0) diff --git a/zed/src/theme_selector.rs b/zed/src/theme_selector.rs index 9aa35cb395..a6a54ec084 100644 --- a/zed/src/theme_selector.rs +++ b/zed/src/theme_selector.rs @@ -204,7 +204,7 @@ impl ThemeSelector { settings.ui_font_family, settings.ui_font_size, ) - .with_default_color(settings.theme.editor.text) + .with_style(&settings.theme.ui.selector.label) .boxed(), ) .with_margin_top(6.0)