Design System PreviewGitHub Copilot

Pure-white canvas, pure-black inverted CTAs, Mona Sans display — GitHub's editorial confidence applied to AI tooling.

Light Dark
01 · Color Palette

Color Palette

bg
#ffffff
bg-inverse
#0d1117
bg-overlay
#ffffffee
surface
#f6f8fa
surface-strong
#eaeef2
surface-on-dark
#161b22
surface-strong-on-dark
#21262d
text
#1f2328
text-strong
#000000
text-muted
#59636e
text-subtle
#6e7781
text-on-dark
#f0f6fc
text-on-dark-muted
#9198a1
brand
#000000
brand-hover
#1f2328
brand-active
#3d444d
brand-on-dark
#ffffff
brand-on-dark-hover
#f0f6fc
accent
#0969da
accent-hover
#0550ae
accent-soft
#ddf4ff
accent-emphasis
#0969da
accent-on-dark
#4493f8
success
#1a7f37
02 · Typography Scale

Typography Scale

display 56px
Display headline
h1 40px
Large heading 1
h2 28px
Heading 2
h3 22px
Heading 3
body-lg 18px
Body large — primary reading paragraph for marketing surfaces.
body 16px
Body — standard reading paragraph at the system default.
body-sm 14px
Small body — captions and secondary copy.
label 11px
Label / mono uppercase
mono 13px
const greeting = "Hello world";
03 · Button Variants

Button Variants

04 · Card Examples

Card Examples

New

Online Payments

Accept cards, wallets, and bank debits. One integration, every method.

Beta

Revenue Recognition

Automate revenue accrual for subscriptions, usage, and one-time charges.

Pro

Platform Payments

Build marketplaces and platforms with built-in payouts and compliance.

05 · Form Elements

Form Elements

Submit
06 · Spacing Scale

Spacing Scale

xs · 4px
sm · 8px
md · 16px
lg · 24px
xl · 32px
2xl · 48px
3xl · 64px
4xl · 96px
07 · Border Radius

Border Radius

0
2
4
8
12
pill
08 · Elevation

Elevation

level 1
level 2
level 3
level 4