Angular Material 自定义排版错误

问题描述

我正在使用 Angular Material 并按如下方式自定义排版:

@import '~@angular/material/theming';
$custom-typography: mat-typography-config(
  $font-family: 'Segoe UI','GeezaPro','DejaVu Serif',sans-serif,'-apple-system','BlinkMacSystemFont'
);

@include angular-material-typography($custom-typography);

但是,出现以下错误

SassError: Positional arguments must come before keyword arguments.
  ╷
3 │   $font-family: 'Segoe UI','BlinkMacSystemFont'

请帮我解决这个问题。

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)