hi,
I am getting below error in my angular metronic project. What would be the solution for that !
Do I have to set core theme ?
if yes, Will it change the default look and feel of metronic ?
src_app__metronic_layout_layout_module_ts.js:1 Could not find Angular Material core theme. Most Material components may not work as expected. For more info refer to the theming guide: https://material.angular.io/guide/theming
and because of this metronic tooltip is not working also !!!
Hi Rohan,
Could you please provide more details about the steps you've taken so far, including whether you are using ng serve or ng build.
May I know which Metronic Angular version are you using? Is it the latest one?
Thanks
Hi Faizal,
I am getting them in browser's console when opened project in vs code and run by ng serve -o command.
image
I am using version 8.1.7 which also I want to update to latest, please let me know steps on that too.
Hi Rohan,
It seems there might be a confusion regarding the usage of Angular Material core theme in Metronic. We no longer utilize the Angular Material core theme. Have you manually added it? As per our understanding in the recent versions, this issue is not present.
Thanks
Hi Faizal,
I have not explicitly added Angular Material core theme in project. May be some components are using it ??
Also if I'm using mat-icon, would it be okay ?
What about showing tooltip on hovering controls, metronic have same feature! I tried to use material tooltip which needs Angular Material core theme
Hi,
Could you please try adding the following line to your `/demo1/src/assets/sass/style.angular.scss` file:
@import "~@angular/material/prebuilt-themes/deeppurple-amber.css";
Once you've fixed the core theme issue, the Metronic tooltip functionality should work as expected. If it's still not working, check the Metronic documentation for specific instructions on using tooltips. It's possible there might be additional configuration or dependencies for tooltips within the geometry dash lite Metronic framework.