feat(mat-progress-spinner): Allow Default Color settings #24352
Labels
area: material/progress-spinner
feature
This issue represents a new feature or feature request rather than a bug or bug fix
P3
An issue that is relevant to core functions, but does not impede progress. Important, but not urgent
Feature Description
Mat Progress Bar already supports
{ provide: MAT_PROGRESS_BAR_DEFAULT_OPTIONS, useValue: { color: 'accent' } },
can we get the same for spinner? for example:
{ provide: MAT_PROGRESS_SPINNER_DEFAULT_OPTIONS, useValue: { color: 'accent' } },
Use Case
Our design wants all progress indicators to be Accent by default. At the moment we are able to default the bar, but we must manually set color="accent" on spinners.
The text was updated successfully, but these errors were encountered: