4 lines
281 B
HTML
4 lines
281 B
HTML
<div [ngClass]="{'d-flex-column': vertical, 'd-flex': !vertical}">
|
|
<div *ngFor="let c of colors" class="color-palette" [ngClass]="{'selected': selected == c, 'my-3 mx-auto': vertical, 'mx-2 my-auto': !vertical}" [style.backgroundColor]="c" (click)="selected = c"></div>
|
|
</div>
|