Typography 字体
字体栈
| 用途 | 变量 | 字体 |
|---|---|---|
| 正文 | --font-sans | Inter, -apple-system, sans-serif |
| 代码 | --font-mono | JetBrains Mono, Fira Code, monospace |
字号
| 变量 | 值 |
|---|---|
--text-xs | 12px |
--text-sm | 14px |
--text-base | 16px |
--text-lg | 18px |
--text-xl | 20px |
--text-2xl | 24px |
--text-3xl | 30px |
--text-4xl | 36px |
--text-5xl | 48px |
--text-6xl | 60px |
字重
| 变量 | 值 |
|---|---|
--weight-normal | 400 |
--weight-medium | 500 |
--weight-semibold | 600 |
--weight-bold | 700 |