我用 <mat-icon>person</mat-icon>
并有结果:
我需要主题概述图标:
怎么办?
图标的重要性:<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
最佳答案
处理完同样的问题后,我发现幸运的是这现在有效......
首先,使用“|”将轮廓图标添加到您的导入中分开……
<link href="https://fonts.googleapis.com/icon?family=Material+Icons|Material+Icons+Outlined" rel="stylesheet">
然后将类添加到您的垫子图标...
<mat-icon class="material-icons-outlined">person</mat-icon>
关于angular - 为 Outlined 更改 mat-icon 中的主题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/51332551/