Semantic / 排版
Typography
展示与文档两套语义排版。
展示
系统样例
display.heroExpanded设计清晰的界面
Design with clarity
- 字号
clamp(4rem, 10vw, 6rem)- 字重
- 700
- 行高
- 1.05
- 字距
-0.045em
display.hero设计清晰的界面
Design with clarity
- 字号
clamp(3.5rem, 8vw, 5rem)- 字重
- 700
- 行高
- 1.05
- 字距
-0.045em
display.titleLarge设计清晰的界面
Design with clarity
- 字号
clamp(3rem, 6vw, 4rem)- 字重
- 700
- 行高
- 1.05
- 字距
-0.045em
display.section设计清晰的界面
Design with clarity
- 字号
clamp(2.5rem, 4vw, 3rem)- 字重
- 700
- 行高
- 1.05
- 字距
-0.025em
display.titleMedium设计清晰的界面
Design with clarity
- 字号
clamp(2rem, 3vw, 2.5rem)- 字重
- 600
- 行高
- 1.05
- 字距
-0.025em
display.titleSmall设计清晰的界面
Design with clarity
- 字号
2rem- 字重
- 600
- 行高
- 1.2
- 字距
-0.025em
display.label设计清晰的界面
Design with clarity
- 字号
0.875rem- 字重
- 600
- 行高
- 1.35
- 字距
0.04em
document.headingXL界面文字需要清楚、稳定,并适合连续阅读。Interface text stays clear at every size.
- 字号
clamp(2rem, 3vw, 2.5rem)- 字重
- 700
- 行高
- 1.2
- 字距
-0.025em
document.headingL界面文字需要清楚、稳定,并适合连续阅读。Interface text stays clear at every size.
- 字号
2rem- 字重
- 700
- 行高
- 1.2
- 字距
-0.025em
document.headingM界面文字需要清楚、稳定,并适合连续阅读。Interface text stays clear at every size.
- 字号
1.5rem- 字重
- 600
- 行高
- 1.2
- 字距
-0.025em
document.headingS界面文字需要清楚、稳定,并适合连续阅读。Interface text stays clear at every size.
- 字号
1.25rem- 字重
- 600
- 行高
- 1.2
- 字距
0
document.title界面文字需要清楚、稳定,并适合连续阅读。Interface text stays clear at every size.
- 字号
1.125rem- 字重
- 600
- 行高
- 1.35
- 字距
0
document.lead界面文字需要清楚、稳定,并适合连续阅读。Interface text stays clear at every size.
- 字号
1.25rem- 字重
- 400
- 行高
- 1.6
- 字距
0
document.body界面文字需要清楚、稳定,并适合连续阅读。Interface text stays clear at every size.
- 字号
1rem- 字重
- 400
- 行高
- 1.6
- 字距
0
document.ui界面文字需要清楚、稳定,并适合连续阅读。Interface text stays clear at every size.
- 字号
0.875rem- 字重
- 500
- 行高
- 1.35
- 字距
0
document.label界面文字需要清楚、稳定,并适合连续阅读。Interface text stays clear at every size.
- 字号
0.8125rem- 字重
- 600
- 行高
- 1.35
- 字距
0.04em
document.caption界面文字需要清楚、稳定,并适合连续阅读。Interface text stays clear at every size.
- 字号
0.8125rem- 字重
- 400
- 行高
- 1.35
- 字距
0
document.micro界面文字需要清楚、稳定,并适合连续阅读。Interface text stays clear at every size.
- 字号
0.75rem- 字重
- 400
- 行高
- 1.35
- 字距
0
Token
4 个分类
| 名称 | 类型 | 浅色 | 深色 | 预览 |
|---|---|---|---|---|
semantic.typography.family.interface界面字体 | fontFamily | ui-sans-serif, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", "Segoe UI", "PingFang SC", sans-serif | ui-sans-serif, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", "Segoe UI", "PingFang SC", sans-serif | Aa |
semantic.typography.family.code代码字体 | fontFamily | "SFMono-Regular", Consolas, "Liberation Mono", monospace | "SFMono-Regular", Consolas, "Liberation Mono", monospace | Aa |
semantic.typography.control.sm.size小控件字号 | dimension | 0.8125rem | 0.8125rem | Aa |
semantic.typography.control.md.size中控件字号 | dimension | 0.875rem | 0.875rem | Aa |
semantic.typography.control.lg.size大控件字号 | dimension | 1rem | 1rem | Aa |
semantic.typography.control.weight控件字重 | fontWeight | 600 | 600 | Aa |
semantic.typography.control.leading控件行高 | number | 1 | 1 | Aa |
semantic.typography.display.heroExpanded.size超大首屏 | dimension | clamp(4rem, 10vw, 6rem) | clamp(4rem, 10vw, 6rem) | Aa |
semantic.typography.display.heroExpanded.weight超大首屏 | fontWeight | 700 | 700 | Aa |
semantic.typography.display.heroExpanded.leading超大首屏 | number | 1.05 | 1.05 | Aa |
semantic.typography.display.heroExpanded.tracking超大首屏 | dimension | -0.045em | -0.045em | Aa |
semantic.typography.display.hero.size首屏 | dimension | clamp(3.5rem, 8vw, 5rem) | clamp(3.5rem, 8vw, 5rem) | Aa |
semantic.typography.display.hero.weight首屏 | fontWeight | 700 | 700 | Aa |
semantic.typography.display.hero.leading首屏 | number | 1.05 | 1.05 | Aa |
semantic.typography.display.hero.tracking首屏 | dimension | -0.045em | -0.045em | Aa |
semantic.typography.display.titleLarge.size大标题 | dimension | clamp(3rem, 6vw, 4rem) | clamp(3rem, 6vw, 4rem) | Aa |
semantic.typography.display.titleLarge.weight大标题 | fontWeight | 700 | 700 | Aa |
semantic.typography.display.titleLarge.leading大标题 | number | 1.05 | 1.05 | Aa |
semantic.typography.display.titleLarge.tracking大标题 | dimension | -0.045em | -0.045em | Aa |
semantic.typography.display.section.size章节标题 | dimension | clamp(2.5rem, 4vw, 3rem) | clamp(2.5rem, 4vw, 3rem) | Aa |
semantic.typography.display.section.weight章节标题 | fontWeight | 700 | 700 | Aa |
semantic.typography.display.section.leading章节标题 | number | 1.05 | 1.05 | Aa |
semantic.typography.display.section.tracking章节标题 | dimension | -0.025em | -0.025em | Aa |
semantic.typography.display.titleMedium.size中标题 | dimension | clamp(2rem, 3vw, 2.5rem) | clamp(2rem, 3vw, 2.5rem) | Aa |
semantic.typography.display.titleMedium.weight中标题 | fontWeight | 600 | 600 | Aa |
semantic.typography.display.titleMedium.leading中标题 | number | 1.05 | 1.05 | Aa |
semantic.typography.display.titleMedium.tracking中标题 | dimension | -0.025em | -0.025em | Aa |
semantic.typography.display.titleSmall.size小标题 | dimension | 2rem | 2rem | Aa |
semantic.typography.display.titleSmall.weight小标题 | fontWeight | 600 | 600 | Aa |
semantic.typography.display.titleSmall.leading小标题 | number | 1.2 | 1.2 | Aa |
semantic.typography.display.titleSmall.tracking小标题 | dimension | -0.025em | -0.025em | Aa |
semantic.typography.display.label.size展示标签 | dimension | 0.875rem | 0.875rem | Aa |
semantic.typography.display.label.weight展示标签 | fontWeight | 600 | 600 | Aa |
semantic.typography.display.label.leading展示标签 | number | 1.35 | 1.35 | Aa |
semantic.typography.display.label.tracking展示标签 | dimension | 0.04em | 0.04em | Aa |
semantic.typography.document.headingXL.size一级文档标题 | dimension | clamp(2rem, 3vw, 2.5rem) | clamp(2rem, 3vw, 2.5rem) | Aa |
semantic.typography.document.headingXL.weight一级文档标题 | fontWeight | 700 | 700 | Aa |
semantic.typography.document.headingXL.leading一级文档标题 | number | 1.2 | 1.2 | Aa |
semantic.typography.document.headingXL.tracking一级文档标题 | dimension | -0.025em | -0.025em | Aa |
semantic.typography.document.headingL.size二级文档标题 | dimension | 2rem | 2rem | Aa |
semantic.typography.document.headingL.weight二级文档标题 | fontWeight | 700 | 700 | Aa |
semantic.typography.document.headingL.leading二级文档标题 | number | 1.2 | 1.2 | Aa |
semantic.typography.document.headingL.tracking二级文档标题 | dimension | -0.025em | -0.025em | Aa |
semantic.typography.document.headingM.size三级文档标题 | dimension | 1.5rem | 1.5rem | Aa |
semantic.typography.document.headingM.weight三级文档标题 | fontWeight | 600 | 600 | Aa |
semantic.typography.document.headingM.leading三级文档标题 | number | 1.2 | 1.2 | Aa |
semantic.typography.document.headingM.tracking三级文档标题 | dimension | -0.025em | -0.025em | Aa |
semantic.typography.document.headingS.size四级文档标题 | dimension | 1.25rem | 1.25rem | Aa |
semantic.typography.document.headingS.weight四级文档标题 | fontWeight | 600 | 600 | Aa |
semantic.typography.document.headingS.leading四级文档标题 | number | 1.2 | 1.2 | Aa |
semantic.typography.document.headingS.tracking四级文档标题 | dimension | 0 | 0 | Aa |
semantic.typography.document.title.size内容标题 | dimension | 1.125rem | 1.125rem | Aa |
semantic.typography.document.title.weight内容标题 | fontWeight | 600 | 600 | Aa |
semantic.typography.document.title.leading内容标题 | number | 1.35 | 1.35 | Aa |
semantic.typography.document.title.tracking内容标题 | dimension | 0 | 0 | Aa |
semantic.typography.document.lead.size导语 | dimension | 1.25rem | 1.25rem | Aa |
semantic.typography.document.lead.weight导语 | fontWeight | 400 | 400 | Aa |
semantic.typography.document.lead.leading导语 | number | 1.6 | 1.6 | Aa |
semantic.typography.document.lead.tracking导语 | dimension | 0 | 0 | Aa |
semantic.typography.document.body.size正文 | dimension | 1rem | 1rem | Aa |
semantic.typography.document.body.weight正文 | fontWeight | 400 | 400 | Aa |
semantic.typography.document.body.leading正文 | number | 1.6 | 1.6 | Aa |
semantic.typography.document.body.tracking正文 | dimension | 0 | 0 | Aa |
semantic.typography.document.ui.size界面文字 | dimension | 0.875rem | 0.875rem | Aa |
semantic.typography.document.ui.weight界面文字 | fontWeight | 500 | 500 | Aa |
semantic.typography.document.ui.leading界面文字 | number | 1.35 | 1.35 | Aa |
semantic.typography.document.ui.tracking界面文字 | dimension | 0 | 0 | Aa |
semantic.typography.document.label.size标签 | dimension | 0.8125rem | 0.8125rem | Aa |
semantic.typography.document.label.weight标签 | fontWeight | 600 | 600 | Aa |
semantic.typography.document.label.leading标签 | number | 1.35 | 1.35 | Aa |
semantic.typography.document.label.tracking标签 | dimension | 0.04em | 0.04em | Aa |
semantic.typography.document.caption.size说明 | dimension | 0.8125rem | 0.8125rem | Aa |
semantic.typography.document.caption.weight说明 | fontWeight | 400 | 400 | Aa |
semantic.typography.document.caption.leading说明 | number | 1.35 | 1.35 | Aa |
semantic.typography.document.caption.tracking说明 | dimension | 0 | 0 | Aa |
semantic.typography.document.micro.size微型说明 | dimension | 0.75rem | 0.75rem | Aa |
semantic.typography.document.micro.weight微型说明 | fontWeight | 400 | 400 | Aa |
semantic.typography.document.micro.leading微型说明 | number | 1.35 | 1.35 | Aa |
semantic.typography.document.micro.tracking微型说明 | dimension | 0 | 0 | Aa |
使用
使用规则
- 页面和组件通过语义或组件 Token 使用这些值。
- 不要在页面中复制原始值。
- 浅色和深色主题分别检查实际组合。