Skip to content

mat-slider-toggle not using correct color. (ignoring hue) #11854

Closed
@robindijkhof

Description

@robindijkhof

Bug, feature request, or proposal:

Bug

What is the expected behavior?

mat-slider-toggle should use the exact same color as the primary color.

What is the current behavior?

It is ignoring the hue/tint (not sure what it is called)

What are the steps to reproduce?

Providing a StackBlitz reproduction is the best way to share your issue.

https://github.com/robindijkhof/mat-slide-toggle
image

While my primary color is: $app-primary: mat-palette($mat-blue, 900);. it is ignoring the 900

What is the use-case or motivation for changing an existing behavior?

Incorrect behaviour

Which versions of Angular, Material, OS, TypeScript, browsers are affected?

Angular 6.0.3
Material 6.3.0

Is there anything else we should know?

Metadata

Metadata

Assignees

Labels

P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgent

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions