Design System inspired by GitHub
Code hosting. Mona blue accent, dark and light themes, developer-first.
npx getdesign@latest add githubRun this command from your project root, then ask your AI assistant to use DESIGN.md for UI work.
Code hosting. Mona blue accent, dark and light themes, developer-first.
DESIGN SYSTEM INSPIRATION OF GITHUB
Code hosting. Mona blue accent, dark and light themes, developer-first.
Color Palette
Code hosting. Mona blue accent, dark and light themes, developer-first.
Typography
A type system inspired by GitHub.
Cards
Card patterns inspired by GitHub.
Components
Other component primitives mapped from the GitHub spec.
Design System Inspired by GitHub
1. Visual Theme & Atmosphere
Code hosting. Mona blue accent, dark and light themes, developer-first.
Key Characteristics:
- Dual theme support — dark (#0D1117) and light
- Blue (#0969DA) accent for links and actions
- Developer-first content-dense layouts
- Code-centric with syntax highlighting
- Octicon icon system throughout
2. Color Palette & Roles
Primary
- GitHub Blue (
#0969DA): Brand color - Dark BG (
#0D1117): Brand color - Surface (
#161B22): Brand color - Border (
#30363D): Brand color - Text (
#C9D1D9): Brand color - Muted (
#8B949E): Brand color - White (
#F0F6FC): Brand color - Success (
#3FB950): Brand color - Danger (
#F85149): Brand color
3. Typography Rules
Font Family
- Display & UI:
system-ui,-apple-system,Segoe UI
Hierarchy
| Role | Size | Weight | Line Height |
|---|---|---|---|
| Display | 64px | 700 | 1.1 |
| H1 | 48px | 700 | 1.2 |
| H2 | 32px | 600 | 1.3 |
| Body | 16px | 400 | 1.6 |
| Small | 14px | 400 | 1.5 |
| Code | 14px | 400 | 1.6 |
4. Component Stylings
Buttons, cards, and inputs follow the brand's visual language with consistent use of the primary color palette and border-radius conventions.
5. Layout Principles
- Base unit: 4-8px
- Max container: 1100-1200px
- Consistent section spacing: 80-120px vertical
6. Depth & Elevation
Depth communicated through background color shifts, subtle shadows, or border treatments.
7. Do's and Don'ts
Do
- Follow the established color palette strictly
- Maintain typographic hierarchy
- Use brand-consistent border-radius
Don't
- Introduce off-brand colors
- Use inconsistent spacing
- Override the established visual language
8. Responsive Behavior
| Breakpoint | Width |
|---|---|
| Mobile | <640px |
| Tablet | 640-1024px |
| Desktop | >1024px |
9. Agent Prompt Guide
Quick Color Reference
- GitHub Blue:
#0969DA - Dark BG:
#0D1117 - Surface:
#161B22 - Border:
#30363D - Text:
#C9D1D9 - Muted:
#8B949E
Typography
- Font:
system-ui,-apple-system,Segoe UI