Respect theme's background color when rendering field editors

Max Brunsfeld created

Change summary

crates/editor/src/editor.rs | 4 ++++
1 file changed, 4 insertions(+)

Detailed changes

crates/editor/src/editor.rs 🔗

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