Sitepeel
Leaflet website (leafletjs.com) as measured on November 29, 2026

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

Leaflet design system

Leaflet’s website (leafletjs.com) uses the Lucida Console font and #178400 as its main color on a white background. Measured by Sitepeel on November 29, 2026.

  • #FFFFFF
  • #000000
  • #178400
  • #0550AE
Download DESIGN.md

From leafletjs.com ↗ · 160 elements at 1440×900 and 390×844 Independent analysis, not affiliated with Leaflet

Leaflet color palette

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

Surfaces

White#FFFFFFbackgroundPage background · 4×

Text

Near Black#000000on-surfacePrimary text and headings · 53×
Slate#757575on-surface-variantSecondary text · 2×
White#FFFFFFon-primaryText and icons on primary

Accents

Dark Green#178400primaryLinks and interactive text · 36×
Dark Blue#0550AEsecondaryAccent in text, fills and borders · 7×
Red#CF222EtertiaryAccent in text, fills and borders · 6×

Borders

Silver#CCCCCCoutlineBorders and dividers · 2×

Leaflet fonts and type scale

3 families.

Aasystem-uiWeights 300, 400, 700system-ui, -apple-system, Segoe UI, Roboto
AaLucida ConsoleWeights 700Lucida Console, Monaco, monospace
AaHelvetica NeueWeights 400Helvetica Neue, Arial, Helvetica, sans-serif
display-heroOversized hero statementsLeaflet34px · 300 · 1.25
headline-displayPage title (h1)Leaflet32px · 700 · 1.5
headline-lgSection headings (h2)The quick brown fox jumps over the lazy dog22px · 700 · 1.36
body-mdBody textThe quick brown fox jumps over the lazy dog17px · 400 · 1.5
body-lgLead paragraphsThe quick brown fox jumps over the lazy dog20px · 400 · 1.5
body-smSecondary and small textThe quick brown fox jumps over the lazy dog16px · 400 · 1.5
captionCaptions and fine printThe quick brown fox jumps over the lazy dog12px · 400 · 1.4

Contrast

Text on #FFFFFF

AaAAA21.0:1
AaAA4.6:1

Spacing

No strict grid · 33% are multiples of 4px

xs3px
sm6.66px
md10px
lg24px
xl42.5px
container864px

Breakpoints: 360px 500px 767px 768px 900px 1350px

Shapes

Corner radii, most used first.

sm2px · 4×
md4px · 4×

Depth

Flat: no shadows measured.

Leaflet UI components

Rebuilt from the measured CSS. Buttons from other sites

Continue
button-outlineOutlined button · hover to see the measured hover state
×
button-ghostText button
Inline link
linkInline link

Motion

No short transitions measured

ease

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, #757575.
  • Use #178400 for links and interactive text.
  • Reuse the measured spacing steps (6.66px, 10px, 24px).
  • Use 2px corners on most elements; larger surfaces also use 4px.
  • Add drop shadows for depth; use borders and contrast.
  • Introduce new font families beyond system-ui, Lucida Console and Helvetica Neue.
  • Use #178400 for large backgrounds or body text.
Leaflet DESIGN.md162 lines

Fonts

What font does Leaflet use?

Leaflet uses Lucida Console (weight 700) and Helvetica Neue (weight 400) on leafletjs.com. Page titles are 32px at weight 700 and body text is 17px. Measured on November 29, 2026.

  • Aasystem-ui · 300, 400, 700
  • AaLucida Console · 700
  • AaHelvetica Neue · 400
Find every font on leafletjs.com with Font finder →

Colors

Leaflet colors: palette and hex codes

Leaflet’s main colors are #FFFFFF (white) for the background, #000000 (near black) for text and #178400 (dark green) as the main accent, with #0550AE (dark blue) and #CF222E (red) as other accents. Measured on November 29, 2026.

  • #FFFFFF whitergb(255, 255, 255) · hsl(0, 0%, 100%)
  • #000000 near blackrgb(0, 0, 0) · hsl(0, 0%, 0%)
  • #757575 slatergb(117, 117, 117) · hsl(0, 0%, 46%)
  • #CCCCCC silverrgb(204, 204, 204) · hsl(0, 0%, 80%)
  • #178400 dark greenrgb(23, 132, 0) · hsl(110, 100%, 26%)
  • #0550AE dark bluergb(5, 80, 174) · hsl(213, 94%, 35%)
  • #CF222E redrgb(207, 34, 46) · hsl(356, 72%, 47%)
Get leafletjs.com’s palette as CSS or Tailwind with Colors →

Tech stack

What is Leaflet built with?

Leaflet’s website (leafletjs.com) is built with Fastly, GitHub Pages and Leaflet. Measured on November 29, 2026.

Hosting & CDN
Fastly, GitHub Pages
Media
Leaflet
Check leafletjs.com 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

Leaflet design system questions

What font does Leaflet use?

Leaflet’s website uses Lucida Console (weight 700) and Helvetica Neue (weight 400). Page titles are 32px at weight 700 and body text is 17px. Measured on November 29, 2026.

What are the Leaflet colors and hex codes?

On leafletjs.com: #FFFFFF (white) for the background, #000000 (near black) for text and #178400 (dark green) as the main accent, with #0550AE (dark blue) and #CF222E (red) as other accents. The color palette above lists all 8 colors with their hex codes and where each one is used.

What is the Leaflet design system?

The design system on this page is leafletjs.com’s, as measured on November 29, 2026: Lucida Console type, #178400 as the main color and 2px corners, written down as a DESIGN.md. It is not Leaflet’s own documentation.

What is Leaflet built with?

Leaflet’s website (leafletjs.com) is built with Fastly, GitHub Pages and Leaflet. Measured on November 29, 2026.

What is the Leaflet DESIGN.md?

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

No. Sitepeel measured it from leafletjs.com’s public page on November 29, 2026. It is an independent analysis, not made or approved by Leaflet.

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