如何更改 VMware Clarity 中的默认字体?
How to change the default font in VMware Clarity?
这是来自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
这是来自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