-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Closed
Description
Bug, feature request, or proposal:
- Pure white and black hue cannot be used while using mat-grey palette.
What is the expected behavior?
- To be able to use pure white and black colors.
What is the current behavior?
It cannot be compiled.
What are the steps to reproduce?
- Use 0 or 1000 as hue parameter while using mat-color with mat-grey palette. It cannot be compiled because: "If this is a value between 0 and 1, it will be treated as opacity."
Providing a Plunker (or similar) is the best way to get the team to see your issue.
Plunker template: https://goo.gl/DlHd6U
What is the use-case or motivation for changing an existing behavior?
- These are very basic colors and commonly used and there are cases when these colors should be constant.
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
- Tested on 4.x but I think it's a global issue.
Is there anything else we should know?
- None
uloga
Metadata
Metadata
Assignees
Labels
No labels