-
Notifications
You must be signed in to change notification settings - Fork 6.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(material/core): move Material 3 support into stable #28913
Conversation
f5f6261
to
9bdca25
Compare
// Hue maps created from https://m3.material.io/theme-builder#/custom (using | ||
// #984061 as source color). Not using predefined M3 palettes since some neutral | ||
// hues are slightly off from generated theme. | ||
const testM3ThemePalette = new Map([ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I had to move this palette into a separate function, because something in the test was mutating it causing random failures. Also has the nice side-effect of moving it to the bottom of the file.
guides/material-3.md
Outdated
@@ -410,20 +403,19 @@ We recommend _not_ relying on the `color="primary"`, `color="accent"`, or `color | |||
that are offered by a number of Angular Material components for M2 themes. However, if you want to | |||
quickly update to M3 and are willing to accept the extra CSS generated for these variants, you can | |||
enable backwards compatibility styles that restore the behavior of this API. Call the | |||
`color-variants-back-compat` mixin from `@angular/material-experimental` with the M3 theme you want | |||
`color-variants-backwards-compatibilityt` mixin from `@angular/material` with the M3 theme you want |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Theres a small typo in this file, it should be color-variants-backwards-compatibility
. Theres an extra t at the end
Moves all of the Material 3 theming APIs into stable since they'll be considered stable APIs in v18.
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Moves all of the Material 3 theming APIs into stable since they'll be considered stable APIs in v18.