Skip to content
Snippets Groups Projects
Commit afc7638f authored by rhenck's avatar rhenck
Browse files

[editor] Improve background color defaults

parent 000cdaad
No related branches found
No related tags found
No related merge requests found
...@@ -82,7 +82,7 @@ export function createInputUIElement( ...@@ -82,7 +82,7 @@ export function createInputUIElement(
export function createSurfaceUIElement(): Record<string, unknown> { export function createSurfaceUIElement(): Record<string, unknown> {
return { return {
backgroundColor: 'transparent' backgroundColor: 'lightgrey'
}; };
} }
...@@ -91,7 +91,8 @@ export function createTextElement(): TextElement { ...@@ -91,7 +91,8 @@ export function createTextElement(): TextElement {
text: 'Example Text', text: 'Example Text',
...createUnitUIElement('text'), ...createUnitUIElement('text'),
...createTextUIElement(), ...createTextUIElement(),
...createSurfaceUIElement() ...createSurfaceUIElement(),
backgroundColor: 'transparent'
}; };
} }
...@@ -135,7 +136,8 @@ export function createCheckboxElement(): CheckboxElement { ...@@ -135,7 +136,8 @@ export function createCheckboxElement(): CheckboxElement {
...createUnitUIElement('checkbox'), ...createUnitUIElement('checkbox'),
...createInputUIElement('Label Checkbox', undefined), ...createInputUIElement('Label Checkbox', undefined),
...createTextUIElement(), ...createTextUIElement(),
...createSurfaceUIElement() ...createSurfaceUIElement(),
backgroundColor: 'transparent'
}; };
} }
...@@ -157,7 +159,8 @@ export function createRadioButtonGroupElement(): RadioButtonGroupElement { ...@@ -157,7 +159,8 @@ export function createRadioButtonGroupElement(): RadioButtonGroupElement {
...createInputUIElement('Label Optionsfeld', undefined), ...createInputUIElement('Label Optionsfeld', undefined),
...createTextUIElement(), ...createTextUIElement(),
...createSurfaceUIElement(), ...createSurfaceUIElement(),
height: 75 height: 75,
backgroundColor: 'transparent'
}; };
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment