How to get a check_circle icon with a black tick color instead of white in Angular Material?

Discussão em 'Angular' iniciado por Abhilash, Dezembro 11, 2024.

  1. Abhilash

    Abhilash Guest

    here is my code i wanted to show black tick which is inside circle.


    <mat-icon
    [ngStyle]="{ color: selectedColor === color.checkedCircleColor ?
    color.checkedCircleColor : color.innerCircleColor}"
    >{{ selectedColor === color.checkedCircleColor ?
    'check_circle' : 'circle' }}
    </mat-icon>

    i am trying to add white tick color but its showing white tick color in mat-icon

    Continue reading...

Compartilhe esta Página