docs-bug(Theming Angular Material): theme overrides vs css variables #29431
Labels
area: theming
docs
This issue is related to documentation
P4
A relatively minor issue that is not relevant to core functions
Documentation Feedback
There exists seemingly two ways to implement MDC (or MAT) tokens in scss. The first way is by directly using the variables. Such as this.
The second way is to use the override mixins to generate the appropriate tokens (especially neat when the component uses both MDC and MAT tokens) like this.
I can find no places where these override mixins are used or documented. Is there a preference towards one or the other?
Affected documentation page
https://material.angular.io/guide/theming#granular-customizations-with-css-custom-properties
The text was updated successfully, but these errors were encountered: