Skip to main content

choose-a-type-scale

Choose a practical type scale for readable hierarchy across content, controls, breakpoints, zoom, and languages. Use when a product or publication needs consistent text sizes instead of one-off styling.

来源信息

仓库
protosphinx/sphinxstack
最近来源活动
2026年7月29日 13:55
检测到的 SKILL.md 语言
英语
星标
3
Forks
0

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

文件资源管理器
2 个文件

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
choose-a-type-scale
category
design
description
Choose a practical type scale for readable hierarchy across content, controls, breakpoints, zoom, and languages. Use when a product or publication needs consistent text sizes instead of one-off styling.
# choose-a-type-scale Start from reading needs, then reduce the number of roles. ## When to use - Use for a new interface, editorial system, or typography cleanup. - Do not encode hierarchy through size alone; preserve semantic structure and weight, spacing, or position. ## Procedure 1. Inventory body, label, caption, heading, display, data, code, and utility text with actual content. 2. Define body size, line height, line length, font availability, and supported zoom and viewport range. 3. Choose a modest ratio or optically tuned steps that create distinct roles without fragile extremes. 4. Map each semantic role to size, line height, weight, and spacing tokens. 5. Test long headings, numerals, dense tables, controls, errors, translations, and fallback fonts. 6. Review at narrow and wide screens, 200 percent zoom, and representative assistive settings. 7. Remove redundant steps and document permitted exceptions. ## Done - A type-scale document lists semantic roles, tokens, values, content examples, and exception rules - Verified screens remain readable and hierarchical across breakpoints, zoom, long text, and fallback fonts
在 GitHub 查看