'how to disable angular material typography styles?

how to disable angular material typography styles after installed angular materials? It is changing my visual style and it is not easy to overwrite. I dont need it, just need to get rid of it.



Solution 1:[1]

Inside your index.html file, the body tag should have class="mat-typography", just remove this class and your styles shouldn't be overwritten anymore. You should also check if your Angular Material theme doesn't contain any custom typography like it's shown in Typography guide (https://material.angular.io/guide/typography)

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Dharman