Reorganized
This commit is contained in:
3
src/app/components/palette/palette.component.html
Normal file
3
src/app/components/palette/palette.component.html
Normal file
@ -0,0 +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>
|
9
src/app/components/palette/palette.component.ts
Normal file
9
src/app/components/palette/palette.component.ts
Normal file
@ -0,0 +1,9 @@
|
||||
import {Component} from "@angular/core";
|
||||
|
||||
@Component({
|
||||
selector: 'palette',
|
||||
templateUrl: 'palette.component.html'
|
||||
})
|
||||
export class PaletteComponent {
|
||||
colors = ['#393936', '#ffffff', '#008dd5', '#1a891d', '#d82b00']
|
||||
}
|
Reference in New Issue
Block a user