Skip to content

feat(mat-progress-spinner): Allow Default Color settings #24352

Closed
@wratho

Description

@wratho

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentarea: material/progress-spinnerfeatureThis issue represents a new feature or feature request rather than a bug or bug fix

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions