Перейти к основному содержанию
GitHub

GitHub дизайн-система DESIGN.md и гайдлайн

Developer ToolsFreev1.0.0 (Актуальная)
github.com•Привязано 20 нояб. 2026 г., 04:00•Проверено Bestony

Developer platform with a light paper theme, green-tinted gray scale, Mona Sans typography, and playful per-product accent colors.

Показано 12 из 12 цветов
Светлый (51%)
Аа Пример текста#B6BFB8
outline
rgb(182, 191, 184)
Тёмный (18%)
Аа Пример текста#08872B
primary
rgb(8, 135, 43)
Светлый (100%)
Аа Пример текста#FFFFFF
surface
rgb(255, 255, 255)
Тёмный (20%)
Аа Пример текста#0377FF
secondary
rgb(3, 119, 255)
Светлый (100%)
Аа Пример текста#FFFFFF
on-primary
rgb(255, 255, 255)
Тёмный (0%)
Аа Пример текста#000000
on-surface
rgb(0, 0, 0)
Светлый (68%)
Аа Пример текста#D2D9D4
outline-variant
rgb(210, 217, 212)
Тёмный (0%)
Аа Пример текста#000000
surface-inverse
rgb(0, 0, 0)
Светлый (91%)
Аа Пример текста#F2F5F3
surface-container
rgb(242, 245, 243)
Светлый (100%)
Аа Пример текста#FFFFFF
on-surface-inverse
rgb(255, 255, 255)
Тёмный (12%)
Аа Пример текста#58635B
on-surface-variant
rgb(88, 99, 91)
Светлый (82%)
Аа Пример текста#E4EBE6
surface-container-high
rgb(228, 235, 230)

Руководство по дизайну

Overview

GitHub's homepage speaks to working developers with quiet confidence: a paper-white canvas, green-tinted grays, and product UI screenshots doing the persuading. The hero pairs a huge medium-weight headline ("Software still starts with you") with an inline email capture — green button, no ornament. Sections below showcase Copilot and the platform inside framed app mockups on a subtle blue-gray grid, separated by a rainbow-gradient hairline. Mood: precise, modern, human — engineering warmth rather than corporate gloss.

Colors

  • Sign-up Green (#08872B): The primary action color — "Sign up for GitHub" and key CTAs. Deeper than the neon scale greens (#0FBF3E, #23EA57) reserved for decorative accents.
  • Link Blue (#0377FF): Inline links and informational accents.
  • Paper Neutrals (#F2F5F3, #E4EBE6, #D2D9D4, #B6BFB8): A custom gray scale shifted slightly green — fills, borders, and the grid-tinted section backgrounds. Never use pure neutral grays.
  • Ink & Slate (#000000, #58635B): Headline black plus a green-gray secondary for body text, captions, and borders on quiet controls.
  • Product Accents: Playful saturated tones — Copilot purple (#C898FD), pink (#FF80D2), sky (#5FB9FF), mint (#0FBF3E) — used in the rainbow divider, eyebrow banners, and per-product illustration, never for core UI chrome.
  • Black: The "Sign up" nav button and the dark footer band invert to solid black fills with white text.

Typography

Mona Sans everywhere — a variable grotesque run at medium weights, tighter tracking as size grows. Display headlines hit ~80px at weight 500 with -0.03em tracking; section headers 32–48px; body 16–20px; UI labels 14px/500. Code and CLI snippets switch to Mona Sans Mono. Headlines are sentence case, plain-spoken.

Layout

A centered 1280px column; hero is full-width and minimal. Product sections present framed app screenshots on a faint engineering-grid backdrop — the grid signals "built by developers" without a single drop shadow. The footer inverts to near-black with a multi-column link grid. Section rhythm: 40–64px vertical gaps, 24px gutters.

Elevation & Depth

Almost flat: depth comes from the gray-scale steps and 1px #B6BFB8/#D2D9D4 borders. Interactive lift is minimal — buttons keep the same footprint and shift shade on hover. The app mockups sit inside bordered frames on the grid, not on shadows.

Shapes

Controls use GitHub's classic 6px radius; inputs and sign-up controls share it. Marketing pills (filter chips, eyebrow banners) go fully rounded; nav dropdowns and large cards reach 24px. The mix is deliberate: crisp 6px for anything functional, pills for anything decorative/filter-like.

Motion & Micro-interaction

Uniform 200ms transitions — ease for background/border color, and the GitHub signature cubic-bezier(0.16,1,0.3,1) spring-out curve for elements that surface or expand. No looping decoration; the Mascot peeking over the hero fold is the only whimsy.

Voice & Content Strategy

Plain, confident, developer-native. Headlines are short declaratives ("Software still starts with you", "Let Copilot handle the models"). CTAs name the outcome: "Sign up for GitHub", "Download GitHub Copilot app", "Start Enterprise free trial". Stats are numeric and concrete ("800M+", "98%"). Sentence case throughout; no exclamation points.

Components

  • Primary button: Green fill (#08872B), white 14px/500 label, 6px radius, ~43px height — sign-up flows only.
  • Secondary/outline button: White fill with a #D2D9D4 1px border, ink label, same sizing — for download/alternate actions.
  • Dark button: Black fill, white label — nav "Sign up" and footer emphasis.
  • Email input: Green-gray fill (#F2F5F3), no visible border until focus, 43px tall, sits inline with the primary button.
  • Search field: White, #B6BFB8 border, 6px radius, keyboard-hint "/" badge.
  • Pill chips: Fully rounded (#F2F5F3 fill) for tab-like filters such as "Review requests".
  • Product cards: White 8px-radius cards pairing a UI screenshot with a product wordmark row — each tinted by its accent color.
  • Nav links: 14px labels, pill hover fill, dropdown menus with 24px-radius containers.

Do's and Don'ts

  • Do use the green-tinted gray scale — pure grays (#EEE, #999) break the paper feel.
  • Do reserve #08872B for the one primary action per view; decorative greens live in artwork.
  • Do keep functional controls at 6px radius and pills at fully rounded — don't pick values in between.
  • Do pair headlines in Mona Sans at weight 500 — not bold — with tight negative tracking at display sizes.
  • Don't add drop shadows to cards or inputs; use hairline borders on paper surfaces.
  • Don't use accent purples/pinks for links, errors, or button fills.
  • Don't write marketing adjectives — short declaratives and concrete numbers only.
  • Do keep the dark nav/footer bands as solid black — no charcoal gradients.

Как использовать DESIGN.md GitHub с ИИ-агентом

  1. Получите DESIGN.md GitHub

    Скачайте его с этой страницы, загрузите https://www.designmdpro.app/websites/github.md или вызовите инструмент get_design_md со slug «github» на MCP-сервере DesignMD Pro.

  2. Сохраните как DESIGN.md в корне проекта

    Положите файл рядом с AGENTS.md или CLAUDE.md, чтобы Claude Code, Cursor, Codex и другие ИИ-агенты могли его найти.

  3. Попросите агента следовать спецификации

    Например: «Сделай страницу настроек по дизайн-системе GitHub из DESIGN.md — используй её цвета, типографику и токены отступов».

ИИ-промпт в стиле GitHub

Создай адаптивную посадочную страницу в визуальном стиле GitHub (github.com), следуя его дизайн-системе DESIGN.md.

## Цвета
- outline: #B6BFB8
- primary: #08872B
- surface: #FFFFFF
- secondary: #0377FF
- on-primary: #FFFFFF
- on-surface: #000000
- outline-variant: #D2D9D4
- surface-inverse: #000000
- surface-container: #F2F5F3
- on-surface-inverse: #FFFFFF
- on-surface-variant: #58635B
- surface-container-high: #E4EBE6

## Типографика
- body-lg: "Mona Sans", 20px, weight 400, line-height 1.5
- code-md: "Mona Sans Mono", 14px, weight 400, line-height 1.5

## Скругление углов
- lg: 8px
- md: 6px
- sm: 4px
- xl: 24px
- full: 9999px

## Отступы
- lg: 24px
- md: 16px
- sm: 8px
- xl: 40px
- xs: 4px
- xxl: 64px
- base: 8px
- gutter: 24px

## Компоненты
- nav-link: height 28px, padding 8px, rounded 24px, textColor #000000, typography Mona Sans 14px
- chip-pill: height 42px, padding 16px, rounded 9999px, textColor #58635B, typography Mona Sans 14px, backgroundColor #F2F5F3
- badge-info: padding 8px, rounded 9999px, textColor #000000, typography Mona Sans 14px, backgroundColor {colors.tertiary.sky}
- badge-promo: padding 8px, rounded 9999px, textColor #000000, typography Mona Sans 14px, backgroundColor {colors.tertiary.pink}
- button-dark: height 28px, padding 8px, rounded 6px, textColor #FFFFFF, typography Mona Sans 14px, backgroundColor #000000
- input-email: height 43px, padding 24px, rounded 6px, textColor #000000, typography Mona Sans 16px, backgroundColor #F2F5F3

## Правила
- Используй только указанные выше цвета для фонов, текста, границ и акцентов; не придумывай новые цвета.
- Оформляй весь текст стилями типографики выше, сохраняя их иерархию размеров и начертаний.
- Бери радиусы скругления и отступы из шкал выше, чтобы компоненты выглядели согласованно.

Полный DESIGN.md: https://www.designmdpro.app/websites/github.md
Настроить в генераторе промптов v0 →

Часто задаваемые вопросы

Какой основной цвет у GitHub?

Основной брендовый цвет GitHub — Тёмно-зелёный (#08872B). Всего в его DESIGN.md определено 12 цветовых токенов.

Какой шрифт использует GitHub?

Основные шрифты GitHub — Mona Sans и Mona Sans Mono.

Mona Sans — бесплатный шрифт?

Да. Mona Sans — бесплатный шрифт с открытой лицензией, доступный в Google Fonts.

Как использовать дизайн-токены GitHub в Tailwind CSS или shadcn/ui?

Скачайте этот DESIGN.md и вставьте его в генератор темы Tailwind или генератор темы shadcn, чтобы получить готовую тему с основным цветом GitHub (#08872B) и остальными токенами.

Является ли этот DESIGN.md GitHub официальным?

Нет. DesignMD Pro извлёк его с публичного сайта github.com. Проект не связан с GitHub и не одобрен им.

Когда последний раз обновлялся DESIGN.md GitHub?

Версия 1.0.0 была зафиксирована 20 ноября 2026 г..

GitHub и его товарные знаки принадлежат их законным владельцам. DesignMD Pro — независимый проект, не связанный с GitHub и не одобренный им; этот DESIGN.md извлечён с публичного сайта исключительно в справочных целях.