From 30ecbd0eddc37d37ccfdc66483cbf536f929a069 Mon Sep 17 00:00:00 2001
From: rhenck <richard.henck@iqb.hu-berlin.de>
Date: Wed, 29 Sep 2021 14:51:29 +0200
Subject: [PATCH] Make text fields and areas have transparent background by
 default

---
 projects/editor/src/app/UnitFactory.ts | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/projects/editor/src/app/UnitFactory.ts b/projects/editor/src/app/UnitFactory.ts
index 765484b49..e3ef2806c 100644
--- a/projects/editor/src/app/UnitFactory.ts
+++ b/projects/editor/src/app/UnitFactory.ts
@@ -128,6 +128,7 @@ export function createTextfieldElement(): TextFieldElement {
     ...createInputUIElement('Beispiel Beschriftung', ''),
     ...createTextUIElement(),
     ...createSurfaceUIElement(),
+    backgroundColor: 'transparent',
     height: 100
   };
 }
@@ -140,6 +141,7 @@ export function createTextareaElement(): TextAreaElement {
     ...createInputUIElement('Beispiel Beschriftung', ''),
     ...createTextUIElement(),
     ...createSurfaceUIElement(),
+    backgroundColor: 'transparent',
     height: 120
   };
 }
-- 
GitLab