-
Notifications
You must be signed in to change notification settings - Fork 48
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
Angular Material 15 support #58
Comments
I wansn't aware of any changes in Material 15. Do you have any more information on the incompatibilities? |
I didn't had time to take a closer look at the updates yet, but the function
|
I can confirm. The template still works but use deprecated methods :'( |
It looks like Angular Material 15 made some pretty aggressive changes under the hood. I'll need to take a look at what they did and see what is compatible with the tool. Hopefully not, but it may end up being a full overhaul depending on what was done internally. |
So just dug into the changes for Angular Material 15, and its a complete overhaul, with significant internal DOM changes to align with MDC. What this ultimately means there will need to be a new version of the application. Currently pre-11 through 14 all generate, roughly the same css output (even with scss changes). This will no longer be the case, which means the preview app styles and generated scss (and ultimately outputted css) will be unique. This may also mean that certain features may be lost in the translation depending on what was changed. As noted, this deprecation is a full year out, but would be great to support the new component architecture sooner than later. |
FYI, one of the big changes is that the palettes map "must define hues for 50 and each hundred between 100 and 900" $mat-primary: (
main: #3a9f1d,
lighter: #c4e2bb,
darker: #258311,
200: #3a9f1d, // For slide toggle,
contrast : (
main: $light-primary-text,
lighter: $dark-primary-text,
darker: $light-primary-text,
)
); |
Hi. I love this capability, but we also moved to angular material 15. Is there an idea on when this may become available? |
Is there any chance to have an updated generator? |
Hi, This one did it for me: |
If you create new project, add material design and try to add generated theme:
Is there any correction or workaround? |
Hey, just to follow up on all the general requests, the level of effort here is still pretty high. I'm definitely open to pull requests, but I'm almost thinking a whole new application is in order (forked from the current) that does not try to provide support across all versions of angular material. Much of the existing code can be reused, but ensure that each control is properly targetting the new style structure is where most of the work will be. As it stands now, I don't have a time frame to make this shift. Angular material should still support the older format as a legacy mode, but that will also be removed in about 6 months it seems. |
I recently started working on material theme. And to my surprise most of the articles are based on older version on material. Its been pretty hectic to get things working. This project looked pretty good in terms of material implementation. Would love to see support for newer version soon. |
This project is amazing. I found the changes in Material v15 were pretty aggressive and limiting. Checking the source code for example, they seem to forcefully override many options like the background color, so you can no longer can have whatever you want. |
Found this link, the awnser from Cueball 6118 solves almost everything the only thing missing is that |
The generator currently does not support the latest version of the @angular/material package.
The text was updated successfully, but these errors were encountered: