Web Typographyのロゴ

Web Typography

コミュニティ
flitzrrr
web-typography

Webタイポグラフィにおけるフォント選び、フォントの組み合わせ、文字サイズのスケール、行の高さ、行の長さ、CSSでの実装を扱います。読みやすく、高速で、階層が明確なテキストデザインのルールを定めます。

Add to TypingMind

概要

公開者flitzrrr
リポジトリfrontend-design-skills
スキル名web-typography
スター
9
フォーク
2
同梱ファイル
1
ライセンスMIT
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 1個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    flitzrrrがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Web Typography」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/flitzrrr/frontend-design-skills/tree/main/skills-src/web-typography
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/flitzrrr/frontend-design-skills.git /tmp/frontend-design-skills
mkdir -p .claude/skills
cp -r /tmp/frontend-design-skills/skills-src/web-typography .claude/skills/web-typography
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでWeb Typographyを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にWeb Typographyを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Web Typographyは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

Web Typography

Readable, hierarchically structured, and performant text design for the web.

Scope

Use this skill when: You are selecting fonts, defining font pairings, building typographic scales, setting line heights and line lengths, implementing fluid typography, or auditing existing typography for quality.

Principles

1. Typography Is User Interface

Text is the primary information layer. Typographic design determines whether content is read, scanned, or ignored.

2. Readability Before Aesthetics

A font must first be readable. If the user focuses on the formatting instead of the content, the typography has failed.

3. Create Hierarchy Through Typography

Different sizes, weights, and styles form a clear information hierarchy. The reading flow is typographically directed.

4. Fewer Fonts -- Greater Impact

Maximum 2-3 font families per project. Each additional font increases load time and reduces coherence.

5. Use Emotional Impact Intentionally

Sans-serif grotesque = modern/neutral. Serif = classic/trustworthy. Display font = expressive/unique.

Rules

Font Selection

  • DO: Choose fonts matching the brand identity. Corporate: Inter, Geist, DM Sans. Creative: display fonts.
  • DO: Verify character set coverage: umlauts, special characters (mandatory for German-language content).
  • DO: Use variable fonts when available (one file instead of 6+).
  • DO: Prefer self-hosted WOFF2 (GDPR: no Google Fonts CDN).
  • DON'T: Use more than 2 font families for body + headings. A third only for accents.
  • DON'T: Use Comic Sans, Papyrus, or Impact in professional contexts -- never.

Font Pairing

  • DO: Combine with contrast: serif for headlines + sans for body (or vice versa).
  • DO: Match similar x-heights between pairs for optical harmony.
  • DO: Use proven combinations: Playfair Display + Source Sans Pro, Poppins + Inter.
  • DON'T: Combine two similar sans-serifs. Lack of contrast appears indecisive.

Sizes & Scale

  • DO: Use a typographic scale: Major Third (1.250) or Perfect Fourth (1.333).
  • DO: Body at least 16px (preferably 18px).
  • DO: Headlines: mobile min. 24px, desktop min. 32px.
  • DO: Use clamp() for fluid responsive sizes: font-size: clamp(1rem, 2.5vw, 2rem).
  • DON'T: Use font sizes below 14px for readable content. Minimum 12px for footers.

Line Height & Line Length

  • DO: Body line-height: 1.5 to 1.75.
  • DO: Headline line-height: 1.1 to 1.3.
  • DO: Line length 45-75 characters (optimal: 65). CSS: max-width: 65ch.
  • DON'T: Use line-height 1.0 or below for multi-line text.
  • DON'T: Let text lines run at full viewport width (readability drops drastically above 80+ characters).

Text Styling

  • DO: Use justified text only with hyphenation (hyphens: auto).
  • DO: Prefer ragged right (text-align: left) for web content.
  • DO: Use text-wrap: balance for headlines.
  • DO: Use font-weight: 600-700 for emphasis, not underlines or ALL CAPS.
  • DON'T: Use underlines for text emphasis -- on the web, underline always means "link."
  • DON'T: Set longer texts in all caps. Only for short labels/buttons (max. 3-4 words).

Performance

  • DO: Use WOFF2 format (best compression).
  • DO: Use font-display: swap.
  • DO: Preload the primary font: <link rel="preload" href="font.woff2" as="font" type="font/woff2" crossorigin>.
  • DO: Subset fonts when only Latin characters are needed (60-80% savings).
  • DON'T: Load more than 4 font files (including weights).

Patterns

Detailed pattern descriptions: see references/patterns.md

Typographic Hierarchy (Standard Setup)

H1: 40-56px Bold, H2: 32-40px SemiBold, H3: 24-28px SemiBold, Body: 16-18px Regular, Small: 14px, Eyebrow: 12-14px SemiBold Uppercase.

Fluid Typography

clamp() on all text levels. No media query breakpoints needed for font sizes.

Editorial Typography

Serif font for body (18-20px). Narrower line length (max 60ch). Drop caps. Pull quotes with display font.

Anti-Patterns

Wall of Text

Long running text without structure. Solution: Add a subheading every 2-3 paragraphs. Use lists and quotes as rhythm elements.

Font Overload

More than 3 families, inconsistent weights, arbitrary sizes. Solution: 2 families, a defined scale, documented rules.

Too-Small Font

Body below 16px, especially on mobile. Solution: Body min. 16px, on mobile preferably 18px. Test on real devices.

Insufficient Contrast

Light gray text on a white background. Solution: Min. 4.5:1 for body text (WCAG AA). For large headlines (>= 24px): min. 3:1.

Checklist

  • Max. 2-3 font families?
  • Typographic scale defined and consistently applied?
  • Body at least 16px?
  • Line height body 1.5-1.75, headlines 1.1-1.3?
  • Line length 45-75 characters (ideal 65ch)?
  • Fonts as WOFF2 with font-display: swap?
  • Max. 4 font files loaded?
  • Body text contrast at least 4.5:1?
  • No underlines used for text emphasis?
  • No justified text without hyphenation?
  • clamp() for responsive sizes?
  • Space before headlines larger than space after headlines?
  • Umlauts and special characters available in the font?
  • Fonts self-hosted (GDPR)?

Cross-References

  • ui-design -- Typography as a core element of visual hierarchy
  • color-theory -- Text color and contrast ratios
  • accessibility -- WCAG contrast requirements for text
  • responsive-design -- Fluid typography across breakpoints
  • branding-identity -- Font as a brand element
  • visual-direction -- Current typographic trends

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「Web Typography」では何ができますか?

Webタイポグラフィにおけるフォント選び、フォントの組み合わせ、文字サイズのスケール、行の高さ、行の長さ、CSSでの実装を扱います。読みやすく、高速で、階層が明確なテキストデザインのルールを定めます。

TypingMindでWeb Typographyを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Web Typographyはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにWeb Typographyをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/flitzrrr/frontend-design-skills/tree/main/skills-src/web-typographyを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Web Typographyを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Web Typographyで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもWeb Typographyを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Web Typography」は無料ですか?

はい。flitzrrrがMITライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇