[ACS-5166] use published version of material icons (#8681)

* use published version of material icons

* add support for custom font set
This commit is contained in:
Denys Vuika
2023-06-20 11:55:03 +01:00
committed by GitHub
parent 10a5f89b24
commit 6f5a419dd3
15 changed files with 14 additions and 992 deletions

View File

@@ -3,5 +3,5 @@
</ng-container>
<ng-template #default>
<mat-icon [color]="color" aria-hidden="true">{{ value }}</mat-icon>
<mat-icon [fontSet]="fontSet" [color]="color" aria-hidden="true">{{ value }}</mat-icon>
</ng-template>

View File

@@ -39,6 +39,10 @@ export class IconComponent {
@Input()
color: ThemePalette;
/** Icon font set */
@Input()
fontSet: string;
get value(): string {
return this._value;
}