GitHub Classroom DESIGN.md design system & style guide
EducationProv1.0.0 (Latest)GitHub Classroom retirement notice in GitHub Primer design with Mona Sans type and blue accents.
You can read GitHub Classroom's full design narrative and up to 8 primary colors free. Upgrade to Pro for all 71 design tokens, full DESIGN.md downloads, and 1 revisions.
Upgrade to DesignMD Pro to copy all colors as :root CSS variables, inspect component token references, and download the full source file.
Design Guidelines
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.
How to use GitHub Classroom's DESIGN.md with an AI agent
Get GitHub Classroom's DESIGN.md
Fetch https://www.designmdpro.app/websites/github-classroom.md or call the get_design_md tool with slug "github-classroom" from the DesignMD Pro MCP server to get the public version. The full token set requires Pro.
Save it as DESIGN.md in your project root
Put the file next to AGENTS.md or CLAUDE.md so Claude Code, Cursor, Codex and other coding agents can find it.
Ask your agent to follow it
For example: "Build the settings page following the GitHub Classroom design system in DESIGN.md — use its colors, typography and spacing tokens."
GitHub Classroom style AI prompt
Build a responsive landing page in the visual style of GitHub Classroom (classroom.github.com), following its DESIGN.md design system.
## Colors
- ink: #1F2328
- primary: #0969DA
- surface: #FFFFFF
- ink-body: #1F2328
- ink-muted: #59636E
- on-primary: #FFFFFF
- surface-alt: #F6F8FA
- surface-dark: #0D1117
## Typography
- body: "Mona Sans VF", 14px, weight 400, line-height 21px
- code: "Mona Sans Mono", 12px, weight 400, line-height 18px
## Corner radius
- lg: 24px
- md: 12px
- sm: 6px
## Rules
- Use only the colors above for backgrounds, text, borders and accents; do not invent new colors.
- Set all text with the typography styles above and keep their size and weight hierarchy.
- Take corner radius and spacing from the scales above so components look consistent.
Full DESIGN.md: https://www.designmdpro.app/websites/github-classroom.mdCustomize in the V0 prompt generator →Frequently asked questions
What is GitHub Classroom's primary color?
GitHub Classroom's primary brand color is Blue (#0969DA). Its DESIGN.md defines 8 color tokens in total.
What font does GitHub Classroom use?
GitHub Classroom's primary typefaces are Mona Sans VF and Mona Sans Mono.
How do I use GitHub Classroom's design tokens in Tailwind CSS or shadcn/ui?
GitHub Classroom's primary color (#0969DA) is public on this page. Generating a complete Tailwind or shadcn theme needs the full DESIGN.md, which is available with DesignMD Pro.
Is this GitHub Classroom DESIGN.md official?
No. DesignMD Pro extracted it from the public classroom.github.com website. It is not affiliated with or endorsed by GitHub Classroom.
When was GitHub Classroom's DESIGN.md last updated?
Version 1.0.0 was captured on November 30, 2026.
GitHub Classroom and its trademarks belong to their respective owners. DesignMD Pro is an independent project, not affiliated with or endorsed by GitHub Classroom; this DESIGN.md is extracted from the public website for reference only.