I'm looking to incorporate my custom fonts into my Angular 4.x project from the assets folder. I am also utilizing Angular Material for which I am defining custom typography in my styles.sass
Below is the code snippet:
@import '~@angular/material/theming'
$used-fonts : 'Avenir', arial
$general-typography : mat-typography-config(
$font-family: quote($used-fonts)
)
@include mat-core($general-typography)
The error message I received is as follows:
Invalid CSS after "...ography-config(": expected expression (e.g. 1px, bold), was "{"
The error seems to be pointing at :
Any suggestions on how to resolve this issue?