Angular Material mat-spinner custom color

后端 未结 15 1571
慢半拍i
慢半拍i 2021-01-07 16:11

Does anyone know how can I change mat-spinner color in Angular Material? Overriding css doesn\'t work. I tried changing color in material files but they can only be imported

15条回答
  •  北荒
    北荒 (楼主)
    2021-01-07 17:16

    Use this code for ** < mat-spinner >** add this code in your .css file

    .mat-progress-spinner circle, .mat-spinner circle {
    stroke: #3fb53f;
    }
    

提交回复
热议问题