Typography

We create a font convention to ensure the best presentation across different platforms.

Font

Font Convention

LevelFont SizeDemo
Supplementary text Extra SmallBuild with Element
Body (small) SmallBuild with Element
Body BaseBuild with Element
Small Title MediumBuild with Element
Title LargeBuild with Element
Main Title Extra LargeBuild with Element

Font Line Height

  • line-height:1 No line height
  • line-height:1.3 Compact
  • line-height:1.5 Regular
  • line-height:1.7 Loose

Font-family

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

Source

Docs