Lewati ke konten utama
GitHub

GitHub sistem desain & panduan gaya DESIGN.md

Developer ToolsGratisv1.0.0 (Terbaru)
github.com•Ditautkan 20 Nov 2026, 04.00•Ditinjau oleh Bestony

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

Menampilkan 12 dari 12 warna
Terang (51%)
Aa Contoh Uji#B6BFB8
outline
rgb(182, 191, 184)
Gelap (18%)
Aa Contoh Uji#08872B
primary
rgb(8, 135, 43)
Terang (100%)
Aa Contoh Uji#FFFFFF
surface
rgb(255, 255, 255)
Gelap (20%)
Aa Contoh Uji#0377FF
secondary
rgb(3, 119, 255)
Terang (100%)
Aa Contoh Uji#FFFFFF
on-primary
rgb(255, 255, 255)
Gelap (0%)
Aa Contoh Uji#000000
on-surface
rgb(0, 0, 0)
Terang (68%)
Aa Contoh Uji#D2D9D4
outline-variant
rgb(210, 217, 212)
Gelap (0%)
Aa Contoh Uji#000000
surface-inverse
rgb(0, 0, 0)
Terang (91%)
Aa Contoh Uji#F2F5F3
surface-container
rgb(242, 245, 243)
Terang (100%)
Aa Contoh Uji#FFFFFF
on-surface-inverse
rgb(255, 255, 255)
Gelap (12%)
Aa Contoh Uji#58635B
on-surface-variant
rgb(88, 99, 91)
Terang (82%)
Aa Contoh Uji#E4EBE6
surface-container-high
rgb(228, 235, 230)

Panduan Desain

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.

Cara menggunakan DESIGN.md GitHub dengan agen AI

  1. Dapatkan DESIGN.md GitHub

    Unduh dari halaman ini, ambil https://www.designmdpro.app/websites/github.md, atau panggil alat get_design_md dengan slug "github" dari server MCP DesignMD Pro.

  2. Simpan sebagai DESIGN.md di root proyek Anda

    Letakkan file ini di sebelah AGENTS.md atau CLAUDE.md agar Claude Code, Cursor, Codex, dan agen coding lain dapat menemukannya.

  3. Minta agen Anda mengikutinya

    Misalnya: "Buat halaman pengaturan mengikuti sistem desain GitHub di DESIGN.md — gunakan token warna, tipografi, dan spasinya."

Prompt AI bergaya GitHub

Buat halaman landing responsif dengan gaya visual GitHub (github.com), mengikuti sistem desain DESIGN.md-nya.

## Warna
- 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

## Tipografi
- body-lg: "Mona Sans", 20px, weight 400, line-height 1.5
- code-md: "Mona Sans Mono", 14px, weight 400, line-height 1.5

## Radius sudut
- lg: 8px
- md: 6px
- sm: 4px
- xl: 24px
- full: 9999px

## Spasi
- lg: 24px
- md: 16px
- sm: 8px
- xl: 40px
- xs: 4px
- xxl: 64px
- base: 8px
- gutter: 24px

## Komponen
- 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

## Aturan
- Gunakan hanya warna di atas untuk latar belakang, teks, garis batas, dan aksen; jangan membuat warna baru.
- Terapkan gaya tipografi di atas untuk seluruh teks serta pertahankan hierarki ukuran dan ketebalannya.
- Ambil radius sudut dan spasi dari skala di atas agar komponen terlihat konsisten.

DESIGN.md lengkap: https://www.designmdpro.app/websites/github.md
Sesuaikan di generator prompt v0 →

Pertanyaan yang sering diajukan

Apa warna utama GitHub?

Warna merek utama GitHub adalah Hijau hutan (#08872B). File DESIGN.md-nya mendefinisikan total 12 token warna.

Font apa yang digunakan GitHub?

Jenis huruf utama GitHub adalah Mona Sans dan Mona Sans Mono.

Apakah Mona Sans merupakan font gratis?

Ya. Mona Sans gratis dan sumber terbuka, serta tersedia di Google Fonts.

Bagaimana cara menggunakan token desain GitHub di Tailwind CSS atau shadcn/ui?

Unduh DESIGN.md ini dan tempel ke generator tema Tailwind atau generator tema shadcn untuk mendapatkan tema siap pakai dengan warna utama GitHub #08872B beserta token lainnya.

Apakah DESIGN.md GitHub ini resmi?

Tidak. DesignMD Pro mengekstraknya dari situs web publik github.com. Proyek ini tidak berafiliasi dengan atau didukung oleh GitHub.

Kapan DESIGN.md GitHub terakhir diperbarui?

Versi 1.0.0 diambil pada 20 November 2026.

GitHub dan merek dagangnya adalah milik masing-masing pemiliknya. DesignMD Pro adalah proyek independen, tidak berafiliasi dengan atau didukung oleh GitHub; DESIGN.md ini diekstrak dari situs web publik hanya sebagai referensi.