简体   繁体   English

如何在VMware Clarity中更改默认字体?

[英]How to change the default font in VMware Clarity?

This is from documentation : 这是从文档

Clarity includes several SASS variables, collections, mixing, and functions for working with typography. 清晰度包括多个SASS变量,集合,混合以及用于排版的功能。 These are described below: 如下所述:

$clr-font $ CLR的字体

This SASS variable points to our default text font, Metropolis. 这个SASS变量指向我们的默认文本字体Metropolis。

I don't know how to change it. 我不知道该如何更改。

All of the scss variables are customizable but you need to overwrite them with your preferred values. 所有的scss变量都是可自定义的,但是您需要用您的首选值覆盖它们。 This can be done with a custom theme. 可以使用自定义主题来完成。 The docs have details on how to set this up for an app built with the cli tooling: https://clarity.design/documentation/themes 这些文档详细介绍了如何为使用cli工具构建的应用设置此设置: https : //clarity.design/documentation/themes

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM