I created a unique Angular theme called 'my-theme.scss' and added it to the angular.json file. While it works with most Angular Elements, I am facing issues getting it to apply to certain HTML Elements inside Angular Components.
For example:
<mat-card class="example-card">
<mat-card-header>
<mat-card-title-group>
<mat-card-title>Java</mat-card-title>
<img mat-card-sm-image src="../../../assets/java.png">
</mat-card-title-group>
</mat-card-header>
<mat-card-content>
<p>
Insert a list here.
</p>
</mat-card-content>
</mat-card>
Although the custom typography from 'my-theme.scss' is applied to the card's title:
It does not extend to the content within the mat-card-content section for instance:
Why could this be happening and how can I resolve it?