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
So is this approach still supported? If yes, please bring back the section to the theming guide so the links work again. If not, please remove the link and guide to an alternative solution.
We recommend not relying on the color="primary", color="accent", or color="warn" options that are offered by a number of Angular Material components for M2 themes.
Without saying what to do instead (i.e. the class/mixin approach).
amysorto
added
P3
An issue that is relevant to core functions, but does not impede progress. Important, but not urgent
and removed
needs triage
This issue needs to be triaged by the team
labels
Jan 7, 2025
Documentation Feedback
In v18, there used to be a section in the theming guide about creating custom color variants: https://v18.material.angular.io/guide/theming#using-component-color-variants
In v19, this section is gone. The problem is that in various component's API docs, such as button, there is still a link to this section: https://material.angular.io/components/button/api
So is this approach still supported? If yes, please bring back the section to the theming guide so the links work again. If not, please remove the link and guide to an alternative solution.
Affected documentation page
https://material.angular.io/guide/theming#using-component-color-variants
The text was updated successfully, but these errors were encountered: