-
Notifications
You must be signed in to change notification settings - Fork 6.8k
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/schematics): Add custom M3 theme schematic #28766
Conversation
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.
Woo exciting!
This PR should also edit the docs to include information about using this schematic
a033492
to
d1cc7ae
Compare
a4384c4
to
78c7345
Compare
I just changed the theme names from Since in docs example the file is imported with |
2e464c9
to
8978c2d
Compare
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.
We should also add the new schematic to guides/schematics.md
… README and link to it from the m3 and schematics guide
[ERROR] "Calls to Angular Material theme mixins with an M3 theme must be wrapped in a selector" theme.scss @use '@angular/material' as mat;
@use '../m3-theme.scss' as my-theme;
@include mat.core();
// Apply the light theme by default
@include mat.core-theme(my-theme.$light-theme);
@include mat.button-theme(my-theme.$light-theme);
|
Hi @userhv, thanks for trying out M3! That error is specific to how you set up your theme.scss file not the schematic itself. So the calls to
|
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. |
No description provided.