mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-28 21:32:39 +00:00
Respect theme's background color when rendering field editors
This commit is contained in:
parent
7bdb91f4ec
commit
2c25e619b4
1 changed files with 4 additions and 0 deletions
|
@ -5696,6 +5696,10 @@ fn build_style(
|
|||
let field_editor_theme = get_field_editor_theme(&settings.theme);
|
||||
theme.text_color = field_editor_theme.text.color;
|
||||
theme.selection = field_editor_theme.selection;
|
||||
theme.background = field_editor_theme
|
||||
.container
|
||||
.background_color
|
||||
.unwrap_or_default();
|
||||
EditorStyle {
|
||||
text: field_editor_theme.text,
|
||||
placeholder_text: field_editor_theme.placeholder_text,
|
||||
|
|
Loading…
Reference in a new issue