Sitepeel
Primer website (primer.style) as measured on November 4, 2026

UI and animation libraries · DESIGN.md · measured November 4, 2026

Primer design system

Primer’s website (primer.style) uses the Mona Sans font and #0377FF as its main color on a white background. Measured by Sitepeel on November 4, 2026.

  • #FFFFFF
  • #F6F8FA
  • #000000
  • #0377FF
Download DESIGN.md

From primer.style ↗ · 97 elements at 1440×900 and 390×844 Independent analysis, not affiliated with Primer

Primer color palette

10 colors with hex codes, grouped by where each one is used on the page.

Surfaces

White#FFFFFFbackground · --bgColor-whitePage background · 3×
Snow#F6F8FAsurface-container-lowRaised areas one step from the page · 2×

Text

Near Black#000000on-surface · --brand-Testimonial-quote-color-defaultPrimary text and headings · 9×
Slate#58635Bon-surface-variantSecondary text · 8×
Blue#59636Eon-surface-muted · --progressBar-bgColor-neutralMuted text and metadata · 5×
Near Black#000000on-primaryText and icons on primary

Accents

Vivid Blue#0377FFprimary · --brand-Eyebrowbanner-fgColor-green-blue-endBrand accent (CSS variable) · 1×
Dark Green#08872BsecondaryAccent (CSS variable)
Blue#0055D5tertiaryAccent in text, fills and borders · 19×

Borders

Cool Silver#D1D9E0outline · --button-danger-borderColor-restBorders and dividers · 3×

Primer fonts and type scale

2 families.

AaMona SansWeights 400, 440, 480, 500Mona Sans, MonaSansFallback, -apple-system, BlinkMacSystemFont
AaMona Sans VFWeights 500Mona Sans VF, -apple-system, BlinkMacSystemFont, Segoe UI
headline-displayPage title (h1)Primer56px · 440 · 1.1
mobile 36px
headline-lgSection headings (h2)The quick brown fox jumps over the lazy dog34px · 500 · 1.3
mobile 24px
headline-mdSub-section headingsThe quick brown fox jumps over the lazy dog28px · 480 · 1.35
headline-smCard and feature titlesThe quick brown fox jumps over the lazy dog22px · 480 · 1.4
mobile 20px
body-mdBody textThe quick brown fox jumps over the lazy dog16px · 400 · 1.5
label-mdButtons, navigation and labelsThe quick brown fox jumps over the lazy dog14px · 500

Contrast

Text on #FFFFFF

AaAAA21.0:1
AaAA6.2:1
AaAA6.1:1

Spacing

4px grid · 94% of values fit

xs4px
sm8px
md12px
lg24px
gutter8px
margin24px

Breakpoints: 618px 768px 1012px 1280px 1300px

Shapes

Corner radii, most used first.

md6px · 28×

Depth

Shadow

Primer UI components

Rebuilt from the measured CSS.

Give feedback
button-outlineOutlined button · hover to see the measured hover state
Inline link
linkInline link

Motion

Interface transitions

0.08s0.2s
cubic-bezier(0.65, 0, 0.35, 1)ease

Do’s and don’ts

Rules written from the measurements, so a coding agent stays on style.

  • Use #FFFFFF for the page and lift surfaces in small steps: #F6F8FA.
  • Keep text in 3 levels: #000000, #58635B, #59636E.
  • Use #0377FF as the brand accent: header, logo and key highlights.
  • Keep spacing on the 4px grid.
  • Use 6px corners on most elements.
  • Introduce new font families beyond Mona Sans and Mona Sans VF.
  • Use #0377FF for large backgrounds or body text.
  • Make interface transitions slower than 0.2s.
Primer DESIGN.md171 lines

Fonts

What font does Primer use?

Primer uses Mona Sans (weights 400, 440, 480 and 500) and Mona Sans VF (weight 500) on primer.style. Page titles are 56px at weight 440 (36px on phones) and body text is 16px. Measured on November 4, 2026.

  • AaMona Sans · 400, 440, 480, 500
  • AaMona Sans VF · 500
Find every font on primer.style with Font finder →

Colors

Primer colors: palette and hex codes

Primer’s main colors are #FFFFFF (white) for the background, #000000 (near black) for text and #0377FF (vivid blue) as the main accent, with #08872B (dark green) and #0055D5 (blue) as other accents. Measured on November 4, 2026.

  • #FFFFFF · white
  • #000000 · near black
  • #58635B · slate
  • #59636E · blue
  • #F6F8FA · snow
  • #D1D9E0 · cool silver
  • #0377FF · vivid blue
  • #08872B · dark green
Get primer.style’s palette as CSS or Tailwind with Colors →

Tech stack

What is Primer built with?

Primer’s website (primer.style) is built with Next.js, React, CSS Modules and Primer. Measured on November 4, 2026.

JavaScript framework
Next.js 16.4.3, React 19.3.0-canary-278794d7-2
UI & CSS
CSS Modules, Primer
Check primer.style live with Tech stack →

What you can build with it

Landing pages, pricing tables, dashboards: your AI coding agent builds them in this style, with these colors, fonts, spacing and buttons instead of its defaults.

Download DESIGN.md, put it in your project’s root folder, then ask your agent for a page.

Prompt · DESIGN.md attached

Build a landing page for my product. Follow for every color, font, spacing value, corner and button.

Need a page behind a login?

The DESIGN.md generator Chrome extension makes one from any page you have open, including dashboards and pages behind a login.

See the Chrome extension

FAQ

Primer design system questions

What font does Primer use?

Primer’s website uses Mona Sans (weights 400, 440, 480 and 500) and Mona Sans VF (weight 500). Page titles are 56px at weight 440 (36px on phones) and body text is 16px. Measured on November 4, 2026.

What are the Primer colors and hex codes?

On primer.style: #FFFFFF (white) for the background, #000000 (near black) for text and #0377FF (vivid blue) as the main accent, with #08872B (dark green) and #0055D5 (blue) as other accents. The color palette above lists all 10 colors with their hex codes and where each one is used.

What is the Primer design system?

The design system on this page is primer.style’s, as measured on November 4, 2026: Mona Sans type, #0377FF as the main color, 6px corners and a 4px spacing grid, written down as a DESIGN.md. It is not Primer’s own documentation.

What is Primer built with?

Primer’s website (primer.style) is built with Next.js, React, CSS Modules and Primer. Measured on November 4, 2026.

What is the Primer DESIGN.md?

A plain-text file with Primer’s measured colors, type, spacing, corners and components as tokens, plus short rules, in the DESIGN.md format Google published with Stitch. Your AI coding agent reads it and builds in this style. More about DESIGN.md.

How do I use it with Claude Code or Cursor?

Download the file and put it in your project’s root folder, then ask your agent to follow DESIGN.md. Step-by-step guides: Claude Code, Cursor, Codex, GitHub Copilot.

Is this Primer’s official design system?

No. Sitepeel measured it from primer.style’s public page on November 4, 2026. It is an independent analysis, not made or approved by Primer.

Can I use Primer’s style in my own product?

Use it to learn, prototype and compare. For a real product, make the style your own, and never copy Primer’s logo, name, pictures or text.

How accurate are the values?

Each value was measured on the rendered page after it fully loaded, on desktop and mobile: colors where they appear, type with tracking, spacing, corners, shadows and hover states. Sites change, so check the date at the top.