我想改用Lato.我试图在增加它index.html和styles.css,但不工作.
index.html
styles.css
我发现的最好方法是将所有Angular Material 2选择器定位如下:
body [class^='mat-'], body [class*=' mat-'] { font-family: "lato"; }
这是因为角度2的组件都有一个以"mat-"开头的类.