メインコンテンツへスキップ
Telegram

Telegram DESIGN.md デザインシステム & スタイルガイド

Developer ToolsProv1.0.0 (最新)
core.telegram.org•紐付け日: 2026年12月1日 04:00•レビュー Bestony

Sparse developer documentation for the Telegram APIs, set in the native system font with brand-blue links and hairline dividers.

Pro サイト

Telegram の完全なデザイン解説と最大 8 色のプライマリカラーは無料で閲覧できます。Pro にアップグレードすると全 39 件のデザイントークン、完全な DESIGN.md ダウンロード、1 件の改訂履歴を利用できます。

全 9 色中 8 色を表示
ダーク (13%)
Aa テストサンプル#C61717
error
rgb(198, 23, 23)
ダーク (22%)
Aa テストサンプル#0088CC
primary
rgb(0, 136, 204)
ライト (100%)
Aa テストサンプル#FFFFFF
surface
rgb(255, 255, 255)
ライト (86%)
Aa テストサンプル#EEEEEE
hairline
rgb(238, 238, 238)
ダーク (29%)
Aa テストサンプル#8A939D
secondary
rgb(138, 147, 157)
ライト (100%)
Aa テストサンプル#FFFFFF
on-primary
rgb(255, 255, 255)
ダーク (3%)
Aa テストサンプル#333333
on-surface
rgb(51, 51, 51)
ライト (100%)
Aa テストサンプル#FFFFFF
on-secondary
rgb(255, 255, 255)
完全なパレット、CSS variables、DESIGN.md ソースを取得

DesignMD Pro にアップグレードすると、すべてのカラーを :root CSS variables としてコピーし、コンポーネントのトークン参照を確認して完全なソースファイルをダウンロードできます。

デザインガイドライン

Overview

Telegram's developer documentation is deliberately plain: it is a reference manual, not a landing page. The page opens with a slim top nav, a single centered text column, and generous whitespace, so the API descriptions are the only thing competing for attention. The mood is utilitarian and trustworthy — closer to a printed manual than a marketing site — with the Telegram brand blue used sparingly as the sole accent. Density is low, imagery is rare (an occasional mascot illustration), and the layout never breaks the one-column reading flow.

Colors

The palette is intentionally tiny — two grays, white, and one blue.

  • Primary (#0088cc): Telegram brand blue. Every inline link, the active nav item, and the API heading anchors use it. It is the only saturated color on the page.
  • On-surface (#333333): Soft near-black for headings and body copy; pure black is avoided to keep long-form reading comfortable.
  • Secondary (#8a939d): Muted blue-gray for nav labels, the "Follow on X" link, and other de-emphasized chrome.
  • Surface (#ffffff): The page canvas, with an 84%-opacity variant used for the translucent sticky header over scrolled content.
  • Hairline (#eeeeee): 1px section dividers and the sticky header's bottom border — the primary structural device on the page.
  • Info container (#1c93e314): An 8% blue wash behind callout boxes such as "Learn more about the Bot API here »".
  • Error (#c61717): Reserved for deprecation and warning notes inside API docs.

Typography

The system relies entirely on the platform's native UI font — no webfonts are loaded, so pages render instantly and feel native on each OS. A monospace stack carries all inline code.

  • Headings: The native system stack at 20px/600 for h1–h3 (API names, section titles) and 16px/600 for h4 sub-headings. Headings stay close to body text in size; weight, not scale, creates hierarchy.
  • Body: 15px/400 with a 1.6 line height for paragraphs; list items sit at 14px.
  • Code: ui-monospace at 13.5px for inline code, method names, and type signatures.
  • Labels: 12px/400 for nav items and footer meta.

Layout

A single fixed-width column of 800px (inside a 925px shell) carries all content, centered with 32px side margins. Section rhythm comes from a strict 8px-based spacing scale — 4px for micro gaps, 8px between related lines, 16px between blocks, and 32px between major sections. The sticky header spans the full width with a hairline bottom border and a translucent white background.

Elevation & Depth

There are no shadows anywhere. Hierarchy is built from three flat devices: 1px hairline borders (#eeeeee), the 8% blue callout wash, and font weight. The sticky header is the only floating element and signals itself with a blurred 84%-white background plus its hairline edge rather than a drop shadow.

Shapes

Corner radii are minimal and near-square: buttons and callouts use a 5px leading / 8px trailing asymmetric radius, while tables, code blocks, and dividers stay sharp. Pills appear only in small utility chips. The overall impression is engineered, not playful.

Motion & Micro-interaction

Motion is nearly absent and purely functional: inline links and nav items fade over 150ms with an ease curve, and the callout background tint cross-fades over 200ms ease-in-out. Nothing loops, nothing slides in, and nothing animates on scroll — the documentation stays still so reading is never interrupted.

Voice & Content Strategy

  • Tone of voice: Plain, direct, and technical. The docs describe what an API does without marketing language or exclamation marks.
  • Capitalization: Sentence case for headings and body; API and method names keep their canonical casing (Bot API, TDLib, Gateway API).
  • Terminology: "API" for interfaces, "method" for endpoints, "bot" for automated accounts. Product names are never abbreviated.
  • Button and action labels: Verb phrases naming the destination, e.g. "Learn more about the Bot API here »" — the arrow signals forward movement.
  • Empty, loading, and error states: Deprecations and breaking changes are called out inline in red text with the replacement named directly.

Components

  • Inline links: Blue, underlined on hover, sharing the body type style. They are the page's primary interactive element and never carry a background.
  • Nav links: 12px muted labels in a slim full-width header; the active section is blue with a 2px underline. Items sit 16px apart.
  • Callout box: 8% blue background, 8px radius, 16px padding, containing a single forward-link sentence used to route readers to deeper docs.
  • Inline code: Monospace 13.5px on the body background, no border or background chip — code is distinguished purely by the typeface change.
  • Section divider: A 1px #eeeeee rule that separates each API family; spacing around it is 32px above and below.

Do's and Don'ts

  • Do use primary blue only for links, the active nav state, and inline anchors.
  • Don't add shadows, gradients, or large imagery — depth is hairline borders only.
  • Don't load webfonts; stay on the native system stack.
  • Do keep every page to one 800px text column.
  • Don't scale headings above 20px — weight, not size, carries hierarchy.
  • Do keep body copy at 15px with a 1.6 line height for long-form readability.
  • Don't use the blue callout wash for anything but "read more" routing boxes.
  • Do mark deprecations in error red with the replacement API named in the same sentence.
  • Don't animate more than a 150–200ms fade on interactive elements.

Telegram の DESIGN.md を AI エージェントで使う方法

  1. Telegram の DESIGN.md を取得する

    https://www.designmdpro.app/websites/telegram-1.md を取得するか、DesignMD Pro MCP サーバーから slug "telegram-1" で get_design_md ツールを呼び出すと公開版を取得できます。完全なトークンセットには Pro が必要です。

  2. プロジェクトルートに DESIGN.md として保存する

    Claude Code、Cursor、Codex などのコーディングエージェントが参照できるよう、AGENTS.md や CLAUDE.md と同じ階層に配置してください。

  3. エージェントに仕様へ従うよう指示する

    例:「DESIGN.md にある Telegram のデザインシステム(カラー、タイポグラフィ、スペーシングトークン)に従って設定ページを構築してください。」

Telegram スタイル AI プロンプト

Telegram(core.telegram.org) のビジュアルスタイルに基づき、その DESIGN.md デザインシステムに従ってレスポンシブなランディングページを構築してください。

## カラー
- error: #C61717
- primary: #0088CC
- surface: #FFFFFF
- hairline: #EEEEEE
- secondary: #8A939D
- on-primary: #FFFFFF
- on-surface: #333333
- on-secondary: #FFFFFF

## タイポグラフィ
- body-md: "-apple-system, system-ui, Segoe UI, Roboto, Helvetica Neue, Arial, sans-serif", 15px, weight 400, line-height 1.6
- code-md: "ui-monospace, SFMono-Regular, SF Mono, Consolas, Liberation Mono, Menlo, monospace", 13.5px, weight 400, line-height 1.6

## 角丸
- md: 8px
- sm: 5px
- full: 9999px

## ルール
- 背景、テキスト、ボーダー、アクセントには上記のカラーのみを使用し、新しい色を勝手に作らないでください。
- すべてのテキストに上記のタイポグラフィスタイルを適用し、サイズとウェイトの階層を維持してください。
- コンポーネントの一貫性を保つため、角丸とスペーシングは上記のスケールから選択してください。

完全な DESIGN.md: https://www.designmdpro.app/websites/telegram-1.md
v0 プロンプトジェネレーターでカスタマイズ →

よくある質問

Telegram のプライマリカラーは何ですか?

Telegram のプライマリブランドカラーは ブルー(#0088CC)です。DESIGN.md には合計 9 個のカラートークンが定義されています。

Telegram の design tokens を Tailwind CSS や shadcn/ui で使うにはどうすればよいですか?

Telegram のプライマリカラー(#0088CC)はこのページで公開されています。完全な Tailwind または shadcn テーマを生成するには、DesignMD Pro で提供される完全な DESIGN.md が必要です。

この Telegram の DESIGN.md は公式のものですか?

いいえ。DesignMD Pro が公開ウェブサイト core.telegram.org から抽出したものであり、Telegram との提携や承認関係はありません。

Telegram の DESIGN.md はいつ最終更新されましたか?

バージョン 1.0.0 は 2026年12月1日 に取得されました。

Telegram およびその商標は各権利者に帰属します。DesignMD Pro は独立したプロジェクトであり、Telegram との提携や承認関係はありません。この DESIGN.md は公開ウェブサイトから参考目的で抽出されたものです。