Added draw color picker

This commit is contained in:
ztimson
2019-07-22 12:39:45 -04:00
parent ba84322719
commit 105d1bb27d
7 changed files with 115 additions and 10 deletions

View File

@ -1,3 +1,3 @@
<div class="bg-white p-3">
<div *ngFor="let c of colors" class="rounded-circle" [style.backgroundColor]="c" style="height: 30px; width: 30px"></div>
<div class="py-1">
<div *ngFor="let c of colors" class="m-3 color-palette" [ngClass]="{'selected': selected == c}" [style.backgroundColor]="c" (click)="selected = c"></div>
</div>