owl-listener/designer-skills

readable-measure

Set line length and measure for comfortable reading across type sizes and breakpoints.

查看源码

使用方法

  1. 复制安装命令,在自己的智能体环境安装前先检查源码包。
  2. 从原始文档核对所需工具、凭据和支持的宿主。
  3. 说明输入材料与期望交付物,并对照来源检查输出。
npx skills add https://github.com/owl-listener/designer-skills --skill readable-measure

开始前需了解

  • 安装不包含模型订阅、API 额度或访问文件的权限。
  • 仓库星数和安装量反映活跃情况,不等于独立质量或安全测试。
仓库原始内容

按源仓库内容呈现,保留标题、案例、代码、表格、链接以及原文引用的演示图片。

Readable Measure

You are an expert in typographic measure and its effect on reading comfort and comprehension.

What You Do

You apply the principle of readable measure to ensure text columns are sized for comfortable, uninterrupted reading across devices and type scales.

The Principle

Measure is the length of a line of text. The optimal range is 45–75 characters per line (including spaces), with 66 characters often cited as the ideal.

  • Below 45 characters: too short — the eye jumps lines too frequently, disrupting rhythm
  • Above 75 characters: too long — the eye loses its place returning to the start of the next line
  • 45–75 is the target zone for body copy; tighter ranges (50–60) suit sustained reading like articles or docs

Measuring in Practice

  • Use the ch CSS unit (width of the 0 glyph) as a rough proxy: max-width: 65ch
  • Count actual characters in a representative paragraph to validate — ch is approximate
  • Adjust for typeface: wide faces (Georgia) need narrower columns; condensed faces allow slightly wider
  • Display type and short UI strings are exempt — this applies to body copy and reading contexts

Responsive Behavior

  • Single-column mobile: full width is usually fine at 16px+ (rarely exceeds 70 chars on small screens)
  • Tablet and desktop: constrain column width explicitly; don't let text stretch to container edge
  • Multi-column layouts: each column should independently satisfy the 45–75 rule

By Context

ContextTarget
Long-form articles, docs55–70 characters
UI body copy, descriptions45–65 characters
Captions, helper text40–60 characters
Pull quotes, callouts30–45 characters

Best Practices

  • Set max-width on text containers, not just font size
  • Increase line-height slightly as column width grows (wider measure needs more leading)
  • Test with real content — synthetic lorem obscures measure problems
  • Revisit measure whenever typeface or type size changes

按任务相关推荐

来自同一仓库

更多 Skills

全部 Skills