Typography 字体

我们为不同平台建议了整套的字体规范,力求在不同平台、不同字号下,都能有最佳的阅读体验。

字体

字体规范

层级字号示例
辅助文本特小Build with Element
正文 (小)Build with Element
正文基础Build with Element
小标题Build with Element
标题Build with Element
主标题特大Build with Element

字体行高

  • line-height:1 无行高
  • line-height:1.3 紧凑
  • line-height:1.5 常规
  • line-height:1.7 宽松

Font-family 字体家族

css
font-family: Inter, 'Helvetica Neue', Helvetica, 'PingFang SC',
  'Hiragino Sans GB', 'Microsoft YaHei', '微软雅黑', Arial, sans-serif;

来源

文档