Sitepeel
CodeMirror website (codemirror.net) as measured on November 4, 2026

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

CodeMirror design system

CodeMirror’s website (codemirror.net) uses the Merriweather font and #066ADF as its main color on a white background. Measured by Sitepeel on November 4, 2026.

  • #FFFFFF
  • #000000
  • #066ADF
  • #0000FF
Download DESIGN.md

From codemirror.net ↗ · 190 elements at 1440×900 and 390×844 Independent analysis, not affiliated with CodeMirror

CodeMirror color palette

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

Surfaces

White#FFFFFFbackgroundPage background · 1×

Text

Near Black#000000on-surfacePrimary text and headings · 67×
Slate#777777on-surface-variantSecondary text · 3×
White#FFFFFFon-primaryText and icons on primary

Accents

Vivid Blue#066ADFprimaryMost used accent color · 9×
Vivid Indigo#0000FFsecondaryAccent in text, fills and borders · 2×
Vivid Orange#EE4400tertiaryAccent in text, fills and borders · 2×

Borders

Mist#E5E5E5outlineBorders and dividers · 4×

CodeMirror fonts and type scale

3 families.

AaMerriweatherWeights 700Merriweather
AaSource Sans ProWeights 400, 600Source Sans Pro, sans-serif
AaSFMono-RegularMonospace · Weights 400SFMono-Regular, Consolas, Liberation Mono, Menlo
headline-displayPage title (h1)CodeMirror32px · 700 · 1.25
mobile 22px
body-mdBody textThe quick brown fox jumps over the lazy dog16px · 400 · 1.45
label-lgLarge buttons and tabsThe quick brown fox jumps over the lazy dog16px · 700 · 1.63
label-mdButtons, navigation and labelsThe quick brown fox jumps over the lazy dog14px · 600 · 1.45
label-smSmall labels and badgesThe quick brown fox jumps over the lazy dog12px · 700
codeCode and technical valuesconst ready = true;14px · 400 · 1.4

Contrast

Text on #FFFFFF

AaAAA21.0:1
AaLarge only4.4:1

Spacing

No strict grid · 50% are multiples of 4px

xs3px
sm8px
md12px
lg17px
xl50px
gutter17px
section62px
container720px

Breakpoints: 830px 1130px

Shapes

Corner radii, most used first.

none0px

Depth

Flat: no shadows measured.

CodeMirror UI components

Rebuilt from the measured CSS.

Inline link
linkInline link

Motion

No short transitions measured

Do’s and don’ts

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

  • Use #FFFFFF for the page.
  • Keep text in 2 levels: #000000, #777777.
  • Reserve #066ADF for primary actions and key highlights.
  • Reuse the measured spacing steps (8px, 12px, 17px).
  • Use #777777 for body text; it reaches 4.48:1 on #FFFFFF. Keep it for large text or metadata.
  • Add drop shadows for depth; use borders and contrast.
  • Introduce new font families beyond Merriweather, Source Sans Pro and SFMono-Regular.
  • Use #066ADF for large backgrounds or body text.
CodeMirror DESIGN.md139 lines

Fonts

What font does CodeMirror use?

CodeMirror uses Merriweather (weight 700) and Source Sans Pro (weights 400 and 600), with SFMono-Regular for code on codemirror.net. Page titles are 32px at weight 700 (22px on phones) and body text is 16px. Measured on November 4, 2026.

  • AaMerriweather · 700
  • AaSource Sans Pro · 400, 600
  • AaSFMono-Regular · 400
Find every font on codemirror.net with Font finder →

Colors

CodeMirror colors: palette and hex codes

CodeMirror’s main colors are #FFFFFF (white) for the background, #000000 (near black) for text and #066ADF (vivid blue) as the main accent, with #0000FF (vivid indigo) and #EE4400 (vivid orange) as other accents. Measured on November 4, 2026.

  • #FFFFFF · white
  • #000000 · near black
  • #777777 · slate
  • #E5E5E5 · mist
  • #066ADF · vivid blue
  • #0000FF · vivid indigo
  • #EE4400 · vivid orange
Get codemirror.net’s palette as CSS or Tailwind with Colors →

Tech stack

What is CodeMirror built with?

CodeMirror’s website (codemirror.net) is built with Nginx. Measured on November 4, 2026.

Server
Nginx 1.26.3
Check codemirror.net 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

CodeMirror design system questions

What font does CodeMirror use?

CodeMirror’s website uses Merriweather (weight 700) and Source Sans Pro (weights 400 and 600), with SFMono-Regular for code. Page titles are 32px at weight 700 (22px on phones) and body text is 16px. Measured on November 4, 2026.

What are the CodeMirror colors and hex codes?

On codemirror.net: #FFFFFF (white) for the background, #000000 (near black) for text and #066ADF (vivid blue) as the main accent, with #0000FF (vivid indigo) and #EE4400 (vivid orange) as other accents. The color palette above lists all 8 colors with their hex codes and where each one is used.

What is the CodeMirror design system?

The design system on this page is codemirror.net’s, as measured on November 4, 2026: Merriweather type, #066ADF as the main color and square corners, written down as a DESIGN.md. It is not CodeMirror’s own documentation.

What is CodeMirror built with?

CodeMirror’s website (codemirror.net) is built with Nginx. Measured on November 4, 2026.

What is the CodeMirror DESIGN.md?

A plain-text file with CodeMirror’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 CodeMirror’s official design system?

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

Can I use CodeMirror’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 CodeMirror’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.