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

[editor] Add additional input field for background color

This allows setting up a specific color, which might be harder to find 
in the color picker. Also allows setting 'transparent'.
parent 5c7dbeb6
No related branches found
No related tags found
No related merge requests found
......@@ -13,6 +13,12 @@ import { UIElement } from '../../../../../../common/models/uI-element';
<input matInput type="color" [value]="combinedProperties.backgroundColor"
(input)="updateModel.emit({ property: 'backgroundColor', value: $any($event.target).value })">
</mat-form-field>
<mat-form-field *ngIf="combinedProperties.backgroundColor"
appearance="fill" class="mdInput textsingleline">
<mat-label>Hintergrundfarbe</mat-label>
<input matInput type="text" [value]="combinedProperties.backgroundColor"
(input)="updateModel.emit({ property: 'backgroundColor', value: $any($event.target).value })">
</mat-form-field>
<mat-form-field *ngIf="combinedProperties.fontColor"
appearance="fill" class="mdInput textsingleline">
<mat-label>Schriftfarbe</mat-label>
......
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