# GitHub Classroom DESIGN.md

> Public preview. The complete DESIGN.md source (all 71 design tokens, spacing, components and frontmatter) requires DesignMD Pro: https://www.designmdpro.app/pricing

GitHub Community discussion (Classroom retired notice). Mona Sans type, GitHub Primer palette — #1f2328 ink, #59636e muted, #0969da blue, #f6f8fa surfaces, 6px controls.

- Website: https://classroom.github.com
- Primary color: Blue `#0969DA`
- Fonts: Mona Sans VF, Mona Sans Mono
- Version: 1.0.0
- Details: https://www.designmdpro.app/websites/github-classroom

## Palette preview

- `ink`: `#1f2328`
- `primary`: `#0969da`
- `surface`: `#ffffff`
- `ink-body`: `#1f2328`
- `ink-muted`: `#59636e`
- `on-primary`: `#ffffff`
- `surface-alt`: `#f6f8fa`
- `surface-dark`: `#0d1117`

## Typography preview

- `body`: Mona Sans VF
- `code`: Mona Sans Mono

---

## Overview

classroom.github.com now redirects to a GitHub Community discussion announcing Classroom's retirement — rendered in the GitHub Primer design system: **Mona Sans VF** type, `#1f2328` ink, `#59636e` muted, `#0969da` blue, `#f6f8fa` surfaces, 6px controls, hairline borders (`rgb(89,99,110) inset`), minimal shadows.

## Colors

- `#0969da` / `#0747bc` / `#0c0896` — Primer blue ramp.
- `#1f883d` / `#0cedc4` / `#5319e7` — green/teal/violet accents.
- `#1f2328` / `#59636e` / `#a4aea6` — ink ramp.
- `#ffffff` / `#f6f8fa` / `#0d1117` — surfaces.

## Typography

- **Mona Sans VF** — 32px display, 21–24px headings, 14px body.
- **Mona Sans Mono** — code.

## Layout

GitHub top nav, community sidebar (Overview, Repositories, Discussions, Packages, People), discussion thread with pinned notice, footer. GitHub community UI.

## Elevation & Depth

Hairline borders + subtle `rgba(31,35,40,0.15)` rings — flat GitHub style.

## Shapes

6px buttons, 24px avatars, pill labels.

## Motion & Micro-interaction

`0.08s cubic-bezier(0.65,0,0.35,1)` fast color transitions — snappy Primer feel.

## Voice & Content Strategy

Announcement copy: "GitHub Classroom is now retired as we complete the transition to partner solutions", stats (3.73M students, 305K classrooms).

## Components

- **`button-primary` / `button-outline` / `button-dark`** — Primer buttons.
- **`card-white` / `card-alt` / `discussion-panel`** — content panels.
- **`banner-dark`** — dark announcement bar.
- **`label-badge`** — grey pill tag.
- **`nav-item`** — plain nav.

## Do's and Don'ts

- Do keep the GitHub Primer look: small radius, hairline borders, blue accents.
- Don't add rounded cards or heavy shadows — GitHub UI stays flat and functional.
