这是来自documentation :
Clarity includes several SASS variables, collections, mixing, and functions for working with typography. These are described below:
$clr-font
This SASS variable points to our default text font, Metropolis.
我不知道如何改变它。
最佳答案
所有 scss 变量都是可自定义的,但您需要用您的首选值覆盖它们。这可以通过自定义主题来完成。该文档详细介绍了如何为使用 cli 工具构建的应用程序进行设置:https://clarity.design/documentation/themes
关于angular - 如何更改 VMware Clarity 中的默认字体?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/54942315/