MozaikaDesign system

GitHub Mobile — Design System

light · consumer · high · confidence 85% · deep decode

GitHub Mobile — palette measured from official store listing screenshots (colors only; no font claims). Type scale shown is the platform HIG default.

Open in Mozaika →

This is a static, crawlable rendering for search & AI engines. The interactive version — filters, live decode console, copy & export — is at https://mozaika.design/ds/github-mobile.

Tokens

GitHub Mobile's decoded design system: background #FFFFFF, text #000000, accent #6839BE, link #6839BE, primary #6839BE; type scale h1 34px / h2 22px / body 17px; 4px spacing base; 12px base radius. The single interactive/action color is #6839BE — used only on interactive or must-notice elements (buttons, links, key highlights), never on large fills.

Color roles

RoleValue
bg#FFFFFF
surface#EFEFEF
border#D8D8D8
text#000000
text_muted#606060
primary#6839BE
accent#6839BE
link#6839BE
button_bg#6839BE
button_text#FFFFFF

Using these colors

Typography

Spacing

Radii

Motion

Micro-interactions run at 200ms (dominant) with cubic-bezier(0.165, 0.84, 0.44, 1).

Native design tokens

TokenValue
--color-workflow-card-bg#151b23
--color-workflow-card-header-shadow#1b1f230a
--color-bg-discussions-row-emoji-box#57606a
--color-notifications-row-read-bg#0d1117
--color-notifications-row-bg#151b23
--color-user-mention-fg#d29922
--color-mktg-btn-shadow-outline#ffffff40 0 0 0 1px inset
--color-marketing-icon-primary#79c0ff
--color-marketing-icon-secondary#1f6feb
--color-project-header-bg#0d1117

…and 110 more measured on the page.

Button states (measured)

Layout (measured)

Motion choreography (measured)

Load order: div.lp-Introdiv.Primer_Brand__LogoSuite-×2 → p.Primer_Brand__Text-modul×2 → p.Primer_Brand__Text-modul×2 → div.BackToTop×2

Scroll reveal: 15 elements rest at opacity 0, translateY(24px), animate in over 0.8s cubic-bezier(0.2, 0.4, 0.2, 1).

Stagger: div ×3 — 100ms apart.

Input (measured)

height 41px · radius 8px

Responsive (measured)

Export: DESIGN.md

# GitHub Mobile — Design System

> light, consumer, high — deep decode (measured live)

GitHub Mobile — palette measured from official store listing screenshots (colors only; no font claims). Type scale shown is the platform HIG default.

## Colors

| Role | Value |
|------|-------|
| bg | `#FFFFFF` |
| surface | `#EFEFEF` |
| border | `#D8D8D8` |
| text | `#000000` |
| text_muted | `#606060` |
| primary | `#6839BE` |
| accent | `#6839BE` |
| link | `#6839BE` |
| button_bg | `#6839BE` |
| button_text | `#FFFFFF` |

**Using these colors**

- **Action color** `#6839BE` — the single interactive color; it appears only on things you click or must notice (buttons, key highlights), never on large fills or backgrounds.
- `primary`, `accent`, `link`, `button_bg` are all `#6839BE` — one role, not several (your action color).
- **accent** `#6839BE` — THE accent / action color — interactive & must-notice only (buttons, links, focus, one key highlight); never large fills or backgrounds. Scarcity is what makes it read as designed.
- **Page coverage** (full-page screenshot pixels): `#0F103B` 65% · `#332E7A` 13.7% · `#191851` 11.3% · `#918DC8` 10%

## Typography


| Role | Size / weight · line-height · tracking |
|------|------------------------------------------|
| hero | 64px / 425 · lh 69px · tracking -2.24px |
| h2 | 40px / 460 · lh 48px |
| h3 | 22px / 480 · lh 31px |
| body | 18px / 400 · lh 27px · tracking 0.18px |
| small | 16px / 400 · lh 24px · tracking 0.24px |

- Weight ladder: 400 · 460 · 480 · 500 · 600 — use these exact measured weights, not the 400/600 defaults.

## Spacing
- base unit: 4px (inferred from the measured scale)
- measured scale: 2px, 3px, 4px, 8px, 12px, 16px, 20px, 24px, 32px, 48px — snap all gaps/padding to these
- section rhythm: 64px top/bottom padding per section (measured)

## Radius
- base: 12px
- button: 12px
- card: 6px
- pill: 9999px
- sharp: 3px

## Buttons

| Button | Fill / text | Border | Radius | Padding | Font | Shadow |
|--------|-------------|--------|--------|---------|------|--------|
| primary | `#08872B` / `#FFFFFF` | 1px solid rgba(0, 0, 0, 0) | 6px | 6px 20px 6px 20px | 400 16px | none |
| secondary | `rgba(0, 0, 0, 0)` / `#FFFFFF` | 1px solid rgb(209, 217, 224) | 6px | 4px 12px 4px 12px | 400 14px | none |

**States (measured, not guessed)**

- primary hover: background `color(srgb 0.0263529 0.444706 0.141647)`
- primary focus: outline `4px solid rgb(3, 119, 255)`
- transition: `background-color 0.48s cubic-bezier(0.165, 0.84, 0.44, 1)`

## Motion
- durations: 200ms (dominant) · 300ms · 800ms
- easings: `cubic-bezier(0.165, 0.84, 0.44, 1)` (dominant) · `ease-out`
- animated properties: transform, opacity, color, background-color

Micro-interactions use the dominant duration + easing; nothing on the page animates slower than the longest duration above — don't invent springier motion.

## Their own tokens (verbatim from :root)

| Token | Value |
|-------|-------|
| `--color-workflow-card-bg` | `#151b23` |
| `--color-workflow-card-header-shadow` | `#1b1f230a` |
| `--color-bg-discussions-row-emoji-box` | `#57606a` |
| `--color-notifications-row-read-bg` | `#0d1117` |
| `--color-notifications-row-bg` | `#151b23` |
| `--color-user-mention-fg` | `#d29922` |
| `--color-mktg-btn-shadow-outline` | `#ffffff40 0 0 0 1px inset` |
| `--color-marketing-icon-primary` | `#79c0ff` |
| `--color-marketing-icon-secondary` | `#1f6feb` |
| `--color-project-header-bg` | `#0d1117` |
| `--color-project-sidebar-bg` | `#161b22` |
| `--color-project-gradient-in` | `#161b22` |

_…and 108 more measured on the page._

Prefer these names when extending their system — it's the brand's actual vocabulary.

## Layout (measured)
- container max 1280px · common grid: 12-col
- nav: 72px absolute

| Section (y) | Height | Cols | Gap | Pad y | Split |
|---|---|---|---|---|---|
| 0 | 1907 | — | — | 0/0 | — |
| 166 | 209 | 12 | 48 | 0/0 | — |
| 1907 | 2276 | — | — | 0/0 | — |
| 2388 | 658 | — | — | 0/0 | — |
| 3047 | 577 | 12 | — | 0/0 | — |
| 3624 | 559 | 12 | — | 0/0 | — |
| 4183 | 1888 | — | — | 0/0 | — |
| 4430 | 172 | — | — | 0/0 | — |

## Motion choreography (measured)
Load order: `div.lp-Intro` @0ms → `div.Primer_Brand__LogoSuite-`×2 @1ms → `p.Primer_Brand__Text-modul`×2 @382ms → `p.Primer_Brand__Text-modul`×2 @382ms → `div.BackToTop`×2 @382ms
- stagger: `div` ×3 — 100ms apart
- scroll reveal: 15 elements rest at opacity 0, translateY(24px), animate in over 0.8s cubic-bezier(0.2, 0.4, 0.2, 1) (12 revealed during the drive).

Rebuild the timeline, not just the durations — order, delays and staggers above are the choreography.

## Components (measured)
- input: h 41px · r 8px · bg rgba(0, 0, 0, 0) · placeholder #58635B
- link: #8DD6FF · no underline

## Responsive (measured)
- breakpoints: 544px · 750px · 768px · 804px · 1011px · 1280px
- mobile (390px): hero 32px · body 14px · nav: inline

## How to apply
Paste the Tailwind `@theme` (or CSS variables) as your base, then build each
section to its spec — verify every color, radius, and font against these tokens.
Hover/focus states, shadows and motion timings above are measured from the live page — match them exactly, don't re-guess them.

---

> **Decoded with Mozaika** — measured live, not guessed. Full decoded design system + one-command install: mozaika.design/ds/github-mobile

Export: Tailwind v4 (@theme)

@theme {
  /* action color #6839BE — the one interactive color; buttons/links/emphasis only, never large fills. */
  --color-bg: #FFFFFF;
  --color-surface: #EFEFEF;
  --color-border: #D8D8D8;
  --color-text: #000000;
  --color-text-muted: #606060;
  --color-primary: #6839BE;  /* primary brand / action color. */
  --color-accent: #6839BE;  /* THE accent / action color — interactive & must-notice only (buttons, links, focus, one key highlight); never large fills or backgrounds. Scarcity is what makes it read as designed. */
  --color-link: #6839BE;  /* inline text links — shares the action color. */
  --color-button-bg: #6839BE;  /* primary-button fill — the main call-to-action color. */
  --color-button-text: #FFFFFF;
  /* measured weights: 400, 460, 480, 500, 600 — use these, not 400/600 */
  --text-hero: 64px; --font-weight-hero: 425; --leading-hero: 69px; --tracking-hero: -2.24px;
  --text-h2: 40px; --font-weight-h2: 460; --leading-h2: 48px;
  --text-h3: 22px; --font-weight-h3: 480; --leading-h3: 31px;
  --text-body: 18px; --font-weight-body: 400; --leading-body: 27px; --tracking-body: 0.18px;
  --text-small: 16px; --font-weight-small: 400; --leading-small: 24px; --tracking-small: 0.24px;
  --radius-base: 12px;
  --radius-button: 12px;
  --radius-card: 6px;
  --radius-pill: 9999px;
  --radius-sharp: 3px;
  --color-btn-hover: color(srgb 0.0263529 0.444706 0.141647);  /* measured primary hover fill */
  --outline-focus: 4px solid rgb(3, 119, 255);  /* measured focus ring */
  --ease-brand: cubic-bezier(0.165, 0.84, 0.44, 1);
  --duration-fast: 200ms;  /* use: duration-[var(--duration-fast)] */
  --duration-base: 300ms;
  --duration-slow: 800ms;
  --section-y: 64px;  /* per-section vertical padding (measured) */
  --spacing: 4px;  /* measured base — drives the p-*/gap-* scale. steps seen on the page: 2, 3, 4, 8, 12, 16, 20, 24, 32, 48px */
}

Export: CSS variables

:root {
  /* action color #6839BE — the one interactive color; buttons/links/emphasis only, never large fills. */
  --bg: #FFFFFF;
  --surface: #EFEFEF;
  --border: #D8D8D8;
  --text: #000000;
  --text-muted: #606060;
  --primary: #6839BE;  /* primary brand / action color. */
  --accent: #6839BE;  /* THE accent / action color — interactive & must-notice only (buttons, links, focus, one key highlight); never large fills or backgrounds. Scarcity is what makes it read as designed. */
  --link: #6839BE;  /* inline text links — shares the action color. */
  --button-bg: #6839BE;  /* primary-button fill — the main call-to-action color. */
  --button-text: #FFFFFF;
  --text-hero: 64px; --weight-hero: 425; --leading-hero: 69px; --tracking-hero: -2.24px;
  --text-h2: 40px; --weight-h2: 460; --leading-h2: 48px;
  --text-h3: 22px; --weight-h3: 480; --leading-h3: 31px;
  --text-body: 18px; --weight-body: 400; --leading-body: 27px; --tracking-body: 0.18px;
  --text-small: 16px; --weight-small: 400; --leading-small: 24px; --tracking-small: 0.24px;
  --radius: 12px;
  --radius-button: 12px;
  --radius-card: 6px;
  --radius-pill: 9999px;
  --radius-sharp: 3px;
  --btn-bg-hover: color(srgb 0.0263529 0.444706 0.141647);
  --focus-ring: 4px solid rgb(3, 119, 255);
  --ease: cubic-bezier(0.165, 0.84, 0.44, 1);
  --duration-fast: 200ms;
  --duration-base: 300ms;
  --duration-slow: 800ms;
  --section-y: 64px;
}

/* their own tokens, verbatim from the site's :root */
:root {
  --color-workflow-card-bg: #151b23;
  --color-workflow-card-header-shadow: #1b1f230a;
  --color-bg-discussions-row-emoji-box: #57606a;
  --color-notifications-row-read-bg: #0d1117;
  --color-notifications-row-bg: #151b23;
  --color-user-mention-fg: #d29922;
  --color-mktg-btn-shadow-outline: #ffffff40 0 0 0 1px inset;
  --color-marketing-icon-primary: #79c0ff;
  --color-marketing-icon-secondary: #1f6feb;
  --color-project-header-bg: #0d1117;
  --color-project-sidebar-bg: #161b22;
  --color-project-gradient-in: #161b22;
}