mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-14 09:20:51 +08:00
a99b20a8c1
* refactor(typography): add css var for typography & simplify example code * fix: add @use "sass:map" for _var.scss
2.2 KiB
2.2 KiB
Typography
We create a font convention to ensure the best presentation across different platforms.
Font
Font Convention
Level | Font Size | Demo |
{{ fontSize.level }} | {{ fontSize.size + ' ' + formatType(fontSize.type) }} | Build with Element |
Font Line Height
Font-family
font-family: 'Helvetica Neue', Helvetica, 'PingFang SC', 'Hiragino Sans GB',
'Microsoft YaHei', '微软雅黑', Arial, sans-serif;