Skip to content

Theme color hue values for MdProgressSpinner, MdProgressBar are hardcoded #3935

Closed
@willshowell

Description

@willshowell

Bug, feature request, or proposal:

Bug

What is the expected behavior?

If my theme warn color is defined as:

$theme-warn: mat-palette($mat-amber, 800);

I would expect my use of the spinner to reflect the 800 hue of amber:

<md-spinner color="warn" mode="indeterminate"></md-spinner>

What is the current behavior?

The 600 hue is always used for MdProgressSpinner.

The 600/100 hues are always used for MdProgressBar. mat-color($primary, lighter) should be used instead of 100.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgenthelp wantedThe team would appreciate a PR from the community to address this issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions