From 40716c61d8f95ac53e0eb5d12960a2a7fdfbb652 Mon Sep 17 00:00:00 2001 From: rhenck <richard.henck@iqb.hu-berlin.de> Date: Wed, 18 Aug 2021 14:24:22 +0200 Subject: [PATCH] [editor] Improve default values --- projects/editor/src/app/UnitFactory.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/projects/editor/src/app/UnitFactory.ts b/projects/editor/src/app/UnitFactory.ts index caaf6f162..e679262ab 100644 --- a/projects/editor/src/app/UnitFactory.ts +++ b/projects/editor/src/app/UnitFactory.ts @@ -60,10 +60,10 @@ function createUnitUIElement(type: string): UnitUIElement { export function createTextUIElement(): Record<string, unknown> { return { - fontColor: 'blue', + fontColor: 'black', font: 'Arial', fontSize: 18, - bold: true, + bold: false, italic: false, underline: false }; @@ -82,7 +82,7 @@ export function createInputUIElement( export function createSurfaceUIElement(): Record<string, unknown> { return { - backgroundColor: 'lightgrey' + backgroundColor: 'transparent' }; } -- GitLab