본문으로 건너뛰기
Skillpedia
인터페이스 (UI/UX)10k · #11888

better-typography

하는 일

이 스킬은 인터페이스의 글자가 어떻게 보이고 읽히는지 확인합니다. 읽기 쉽고 일관된 서체를 원하는 디자이너와 개발자를 위한 것입니다.

사용하는 경우

  • ✓텍스트가 빽빽하거나 너무 넓어서 읽기 어려울 때.
  • ✓제품 전체에서 글꼴 크기나 굵기가 일관되지 않아 보일 때.
  • ✓모바일에서 텍스트가 예상치 않게 확대되거나 잘리는 경우.

스킬 링크

https://github.com/jakubkrehel/skills/blob/main/skills/better-typography/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/jakubkrehel/skills/blob/main/skills/better-typography/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“제품 페이지의 글자가 일관되지 않고 휴대폰에서 읽기 어렵습니다. 타이포그래피를 검토해 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

AI는 텍스트 크기 체계, 줄 높이, 줄 길이, 굵기, 줄바꿈을 검토하고, 최소 크기나 iOS 입력 확대 같은 규칙을 확인합니다. 수정은 스타일링 시스템에 쓰며, 먼저 프로젝트의 값을 사용합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Typography

This skill sets and reviews how text renders, from the type scale and spacing to font loading, wrapping and punctuation. It writes every fix in the project's styling system, and the cheat sheet maps each declaration to its Tailwind utility.

The words belong to better-writing, semantic heading structure to better-accessibility and spatial RTL layout to better-layout. Measure contrast with better-colors; whether it passes is better-accessibility's.

Measured, not preferred

Some values here are exact. Unitless line-height, weight 400 or heavier below 18px, a 60–75 character measure, 16px inputs on iOS and tabular-nums on changing values are findings when missed.

Letter-spacing, pairing and scale ratios are heuristics. Report them only where they break the project's own scale. Never propose a new typeface, paid or free, unless the task asks for a type change.

Fewer fonts, sizes and weights

Rarely use more than three fonts; marketing pages can carry more than apps. Weight and size carry hierarchy, so each extra one dilutes it. Pair for contrast. A serif headline over a sans body reads as deliberate, two near-identical sans-serifs read as a mistake.

Below 18px, use weight 400 or heavier. Weights 100–300 belong at 28px and up, checked against the background even there. Categories, Display and Text cuts, formats and fallback stacks are in choosing-fonts.md.

Load the faces the design uses

Browsers synthesize a weight or style the family doesn't ship, distorting the face. Load every face the design uses. Disable synthesis only after verifying the fallback stack, and only the unwanted mode. The synthesis longhands show how.

Properties over raw tags

When a CSS property exists, use it. font-weight: 650, not font-variation-settings: "wght" 650. font-variant-numeric: tabular-nums, not font-feature-settings: "tnum" 1. Properties keep working when a non-variable fallback renders.

Leave font-optical-sizing at its default auto. Hard-code "opsz" only when the design deliberately decouples optical size from font size. Reserve raw tags for custom axes like "GRAD" 80 and features with no property, like "ss01" 1. Axes, features and variable versus static files are in variable-fonts-and-opentype.md.

Use a type scale with semantic names

Define a small set of sizes and deviate from it as little as possible. Pair each size with its line-height and weight, so a role is one decision instead of three.

Solo, default names like text-sm are fine when the usage rules are clear. On a team, name sizes by use (text-body-sm) so the rules survive other people. A role-based starting scale is in the reference.

Heading sizes descend with level

Map heading levels to descending steps of the scale, so a subordinate heading never overpowers its parent. Deep levels may share a size where the scale runs out of steps, as long as weight or letter-spacing keeps them distinct. A heading is never smaller than body text unless it is a deliberate overline. See the level mapping.

Line-height by role

Display text 1.1, headings 1.2–1.3, body copy 1.5–1.6. Use unitless values so line-height scales with the font size; a fixed 24px does not.

Tight line-height is for short text. Anything that wraps to three or more lines needs at least 1.4, even in a height-constrained row. See the card description example.

Letter-spacing by size

Headings at 24px and up take -0.01em to -0.02em. Uppercase labels at 14px or smaller take 0.05em. Body copy stays at 0. Use em so tracking scales with the size.

Kerning is built into the font and on by default. font-kerning: none is never a fix.

Cap the measure

Cap long-form text at 60–75 characters per line. Any unit works, as long as a cap exists and the line length lands in range. See unit choices and the pixel equivalents.

Wrap deliberately

  • text-wrap: balance evens out headings and short descriptions. Never on paragraphs, and Chromium ignores it past six lines.
  • text-wrap: pretty keeps a lone word off the last line. Safe on any paragraph, long-form included.
  • `overflow-wrap
자주 묻는 질문

새 글꼴을 추천하나요?

아닙니다. 글꼴 변경을 요청하지 않는 한 추천하지 않습니다.

좋은 줄 길이는 얼마인가요?

스킬은 약 60에서 75자를 기준점으로 삼습니다.

텍스트 대비도 다루나요?

아닙니다. 대비는 색상 및 접근성 스킬의 담당입니다.

상세 정보

작성자의 원본 설명

Sets and reviews how text renders, from the type scale and spacing to font features, wrapping, truncation and punctuation.

repo: jakubkrehel/skills

인기도

GitHub 스타
10k
순위
#11888
라이선스
MIT
업데이트
2026. 11. 1.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬