Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Angular Material mat-spinner custom color

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, I can't change anything there. I want it to be my custom color, not color from prebiult-themes.

like image 835
mavrise Avatar asked Feb 14 '18 11:02

mavrise


Video Answer


1 Answers

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

.mat-progress-spinner circle, .mat-spinner circle { stroke: #3fb53f; } 
like image 139
Nitin Wahale Avatar answered Oct 05 '22 16:10

Nitin Wahale