You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yes, this behavior used to work in the previous version
The previous version in which this bug was not present was
No response
Description
Currently in some components (radio-button for example) the color is typed themePalette.
But themePalette only allows 'primary', 'accent' and 'warn' colors.
So if we try to use it with a Material 3 palette it is not possible to specify a 'primary', 'secondary', 'tertiary' and 'error' color.
color.ts contain
`/** Possible color palette values. */
Is this a regression?
The previous version in which this bug was not present was
No response
Description
Currently in some components (radio-button for example) the color is typed themePalette.
But themePalette only allows 'primary', 'accent' and 'warn' colors.
So if we try to use it with a Material 3 palette it is not possible to specify a 'primary', 'secondary', 'tertiary' and 'error' color.
color.ts contain
`/** Possible color palette values. */
export type ThemePalette = 'primary' | 'accent' | 'warn' | undefined;`
Reproduction
StackBlitz link:
Steps to reproduce:
1.
2.
Expected Behavior
ThemePalette Marerial 3 compatible
Actual Behavior
ThemePalette only Marerial 2 compatible
Environment
The text was updated successfully, but these errors were encountered: