Respect theme's background color when rendering field editors

This commit is contained in:
Max Brunsfeld 2022-03-14 14:24:51 -07:00
parent 7bdb91f4ec
commit 2c25e619b4

View File

@ -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,