Skip to content
Agentmart
Submit a tool

designing-ui-typography

Use when designing typography for web/app interfaces, selecting fonts, setting up type scales, addressing performance/accessibility concerns, or handling…

Skill by mthalman

IndexedMIT★ 1
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/mthalman-designing-ui-typography

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Use when designing typography for web/app interfaces, selecting fonts, setting up type scales, addressing performance/accessibility concerns, or handling stakeholder conflicts over typography - provides expert-level guidance on font rendering, OpenType features, and performance trade-offs

Use cases: design

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/designing-ui-typography

What's inside

Skill name
designing-ui-typography
Description
Use when designing typography for web/app interfaces, selecting fonts, setting up type scales, addressing performance/accessibility concerns, or handling stakeholder conflicts over typography - provides expert-level guidance on font rendering, OpenType features, and performance trade-offs
License
MIT
Instructions
56 lines in SKILL.md · view on GitHub

Files (7)

  • SKILL.md
  • font-performance.md · references/
  • font-selection.md · references/
  • opentype-and-mistakes.md · references/
  • type-scale-and-spacing.md · references/
  • typography-accessibility.md · references/
  • typography-checklists.md · references/

SKILL.md (first lines)

# Designing UI Typography

## Overview

Expert UI typography balances aesthetics, readability, performance, accessibility, rendering quality, language support, and organizational constraints. Treat typography as a functional interface system, not decoration.

## When to Use

Use when selecting fonts for web or app interfaces, setting up type scales and design systems, debugging readability or rendering issues, optimizing font loading, meeting accessibility requirements, or supporting multilingual interfaces.

Do not use for print typography, minimal-text marketing sites, or editorial/blog typography where the constraints differ.

## Core Workflow

1. **Identify the context and constraints.** Determine product domain, text density, devices, languages, accessibility obligations, brand constraints, stakeholder pressure, and performance budget. Open `references/font-selection.md` when choosing or defending a font based on rendering quality, OpenType support, language coverage, domain semiotics, or stakeholder framing.
2. **Set readable defaults first.** Use `rem` font sizes, keep body text at **16px minimum on mobile**, avoid body weights below 400, and use at least 1.5 line-height for body copy.
3. **Design hierarchy with a small scale.** Use 6-8 sizes maximum. Prefer a 1.25 or 1.333 ratio for most UIs; avoid 1.2 when hierarchy must be obvious. Open `references/type-scale-and-spacing.md` when calculating scale ratios, line-height by characters per line, or vertical rhythm.
4. **Validate accessibility.** Confirm text scales to 200%, normal text reaches 4.5:1 contrast, line length stays around 45-75 characters, and characters such as `I/l/1`, `0/O`, `5/S`, and `rn/m` remain distinguishable. Open `references/typography-accessibility.md` when you need detailed WCAG, contrast-by-weight, character differentiation, or mobile guidance.
5. **Apply OpenType features intentionally.** Enable `font-variant-numeric: tabular-nums` or `'tnum'` for tables, dashboards, prices, IDs, and data-heavy UI. Use ligatures, case-sensitive forms, fractions, and optical sizing only when they improve the interface. Open `references/opentype-and-mistakes.md` when implementing OpenType features or checking common mistakes.
6. **Plan font loading.** Use `font-display: swap` by default, preload only critical fonts, load only weights actually used, and consider subsetting or variable fonts when the trade-off is favorable. Open `references/font-performance.md` when optimizing loading, choosing variable fonts, or evaluating subsetting.
7. **Test in context.** Check real content on target devices, including non-Retina Windows rendering, mobile inputs, dense tables, multilingual strings, and user-generated names.
8. **Summarize trade-offs and checks.** Open `references/typography-checklists.md` when you need quick checklists or impact language for performance, accessibility, and user-experience trade-offs.

## Actionable Defaults

- Use `rem` for font sizes so user preferences and zoom work.
- Keep mobile body text and inputs at **16px minimum** to avoid iOS auto-zoom and preserve readability.
- Use body line-height of **1.5 minimum**; increase it as line length grows.
- Keep line length around **45-75 characters**, with 80 as a practical maximum for long-form UI text.
- Test contrast for each font weight; light weights need more contrast than regular text.
- Prefer clear character differentiation for financial, technical, healthcare, and identity flows.
- Enable `tnum` for data-heavy UI so numbers align and scanning errors drop.
- Include language-specific fallback fonts and check diacritics, CJK, RTL, and clipping where relevant.
- Avoid thin body text; weights below 400 often fail on lower-quality displays.

## Output Contract

When making recommendations, include:

- the recommended typeface or stack;
- size scale and line-height defaults;
- accessibility checks and any risks;
- performance/loading guidance;
- language or rendering constraints;
- trade-offs and stakeholder-friendly rationale when there is brand or client pressure.

## Non-Negotiables

- Do not recommend `px` font-size systems for UI text; use scalable units.
- Do not reduce mobile body/input text below 16px.
- Do not treat contrast as font-independent; weight and rendering affect legibility.
- Do not use color, weight, or typography alone to carry critical state if semantics or labels are needed.
- Do not choose fonts only by visual preference; check rendering, language support, accessibility, performance, and domain fit.
- Do not load unused weights or block body text with `font-display: block`.

From mthalman/agents, MIT.

More from mthalman/agents

Signals

Stars
1
Forks
0
Open issues
26
Last commit (this folder)
Oct 6, 2026 (22 days ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from mthalman

Cite this page

designing-ui-typography skill. Agent Mart. https://agentmart.dev/skills/mthalman-designing-ui-typography (last updated 2026-10-24)