Use systematic spacing with 25% minimum jumps, start with excess whitespace
中文简介正在准备中。当前显示原文说明。
Create clear typographic hierarchy using hand-crafted font sizes, weights, and colors
中文简介正在准备中。当前显示原文说明。
实测评分 未实测
查看安装方法安装前可以查看交给 AI 代理的指令内容。
Create clear typographic hierarchy using a hand-crafted set of font sizes, weights, and colors.
Hero: 48-60px, weight 700, line-height 1.1
H1: 36-40px, weight 700, line-height 1.2
H2: 28-32px, weight 600, line-height 1.3
Body: 16-18px, weight 400, line-height 1.6
Small: 14px, weight 400, line-height 1.6
Caption: 12px, weight 400, line-height 1.5
H1: 30-36px, weight 700
H2: 24px, weight 600
H3: 20px, weight 600
H4: 16px, weight 600
Body: 14-16px, weight 400
Small: 12-13px, weight 400
Inverse proportion to size:
em sizing compounds unpredictably in nested elements| Failure | Example | Fix |
|---|---|---|
| Em units | 1.25em parent, 0.875em child = 17.5px | Use px or rem |
| Micro-steps | 16px, 18px, 20px | 16px, 20px, 28px |
| Weight 300 | Light body text | Minimum 400 |
| Long lines | 100+ characters | Constrain to 35em |
| Uniform line-height | 1.5 for all | Vary by size |
See examples/typography-scale/ for scale implementations.
references/hand-crafted-scales.mdreferences/avoid-em-units.mdreferences/line-height-proportion.md还没有评价。欢迎分享你的使用感受。
无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。
还没有评论。来写第一条吧。
Use systematic spacing with 25% minimum jumps, start with excess whitespace
中文简介正在准备中。当前显示原文说明。
Create comprehensive palette with 8-10 greys, 5-10 primary, 5-10 accent shades
中文简介正在准备中。当前显示原文说明。
Create clear primary/secondary/tertiary action distinctions
中文简介正在准备中。当前显示原文说明。
Create helpful, actionable zero-content states
中文简介正在准备中。当前显示原文说明。
Remove unnecessary borders, backgrounds, shadows, decorations
中文简介正在准备中。当前显示原文说明。
Determine what UI element draws attention first, second, third using size, weight, color, and de-emphasis strategies
中文简介正在准备中。当前显示原文说明。