Primer design system


Use Primer's design
Use Primer's design system for this UI. Read https://emblematic.dev/sites/primer.style/design.md (or, with the Emblematic MCP, get_design_md "primer.style") and copy its exact values: don't invent colors, sizes or radii, and keep its typefaces with the listed fallbacks.
Similar to Primer
In short
What font does Primer use?
Primer uses Mona Sans for headings and body text.
What are Primer's brand colors?
Primer's accent color is #0055D5. Primer's website uses a light scheme: background #F6F8FA, surface #FFFFFF, text #000000 and muted text #58635B.
What are Primer's body text size, corner radius and container width?
Body text is 16px with a line height of 1.5, the most common corner radius is 8px and the page container is 1184px wide.
The Design System for GitHub
Typography
scale ratio 1.368- Mona Sansdisplay + body400 440 480 500
Text styles
| Style | Family | Size | Weight | Line | Tracking |
|---|---|---|---|---|---|
| display | Mona Sans | 56px | 440 | 1.1 | 0em |
| body-sm | system-ui | 14px | 500 | 1.5 | 0em |
Type scale
- Body
- 16px / 1.5
- Display
- 56px
- Display tracking
- 0em
- Case
- sentence
Color
light schemePalette by painted area
Contrast
- Text on background
- 19.73:1
- Muted on background
- 5.89:1
- Accent on background
- 6.05:1
- Dark mode
- None
Space, shape and depth
base 4pxSpacing
- 2
- 4
- 8
- 12
- 16
- 24
- 28
- 32
- 48
- 56
- 96
Corner radii
Shadows
- Borders
- hairline, 1px
- Section padding
- –
Components
computed values- textColor
- #25292E
- rounded
- 6px
- padding
- 0px 12px
- height
- 32px
- fontFamily
- Mona Sans VF
- fontSize
- 14px
- fontWeight
- 500
- border
- 1px solid #D1D9E0
- shadow
- rgba(31, 35, 40, 0.04) 0px 1px 0px 0px
- rounded
- 8px
- padding
- 32px
- backgroundColor
- #FFFFFF
Layout and motion
- Container
- 1184px
- Grid columns
- 2
- Hero
- split
- Navigation
- top-sticky
- Page height
- 2,367px
- Easing
- ease
- Durations
- 80ms 200ms 400ms
- Transitions
- 13
- Keyframes
- 0
- Stack
- next.js, github-pages
Page sections
3

03Feature gridDesign digital marketing experiences with Primer Brand UI
How Primer compares
against the whole index- Body text
- 16px, the same as 41% of indexed sites (median 16px).
- Largest heading
- 56px: smaller than 57% of indexed sites (median 60px).
- Type scale
- 1.37×: steeper than 75% of indexed sites (median 1.28×).
- Container
- 1184px: narrower than 63% of indexed sites (median 1240px).
- Text contrast
- 19.7:1: higher than 71% of indexed sites (median 17.7:1).
- Page length
- 2,367px: shorter than 89% of indexed sites (median 8,196px).
- Corner radius
- Mostly 8px, shared by 37 of 392 indexed sites (9%).
- Mona Sans
- One of 3 indexed sites that load Mona Sans (1%).
- Color scheme
- Light by default, like 76% of indexed sites. Like 84% of sites, it doesn't switch with the system dark mode setting.
Read from the rendered page on Nov 17, 2026 (extractor 0.2.0). Fonts are matched to the site's own @font-face rules and colors come from computed styles. Values marked with a question mark are heuristics that have not been reviewed yet.




