Open json-derulo opened 5 months ago
The M3 theme has quite some differences with the M2 theme. There is no accent
color anymore, and the warn
color is now called error
. Also there is a secondary
color which will be chosen automatically, and a tertiary
color. For more information, see the new theming guide.
It will not be trivial to add M3 support. For now, only M2 is supported. PRs to add M3 support are welcome.
:frowning: Problem Statement
Angular Material v17.2 introduced experimental support for M3 theming. We can expect M3 support to be graduated to stable soon. Users of angular-material-css-vars should be able to use the new M3 theme, at the same time it should still be possible to use M2 if a project isn't ready to update just yet.
:grey_question: Possible Solution
Personally I would prefer to default to the same theme which Angular Material defaults to for new projects.
:heavy_plus_sign: Additional context
We are not planning to support M3 while it's experimental, as it is necessary to use the
@angular/material-experimental
package, which adds more complexity.