Sitepeel
Modal website (modal.com) as measured on November 4, 2026

AI · DESIGN.md · measured November 4, 2026

Modal design system

Modal’s website (modal.com) uses the ABC Diatype font and #7FEE64 as its main color on a #040804 background. Measured by Sitepeel on November 4, 2026.

  • #040804
  • #10120F
  • #A8ABA6
  • #7FEE64
Download DESIGN.md

From modal.com ↗ · 416 elements at 1440×900 and 390×844 Independent analysis, not affiliated with Modal

Modal color palette

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

Surfaces

Near Black#040804background · --color-v2-primary-blackPage background · 4×
Charcoal#10120Fsurface-container-lowRaised areas one step from the page · 2×
Charcoal#181818surface-container · --color-deprecated-groundCards and panels · 7×
White 5%#FFFFFF0DoverlayTranslucent fill for cards and controls · 9×
Light Green 10%#9EFB871Aoverlay-strongStronger translucent fill · 1×

Text

Gray#A8ABA6on-surfacePrimary text and headings · 48×
Mist#EEF2EBon-surface-strongHeadings and emphasis · 34×
Mist#E3E5E1on-surface-variantSecondary text · 37×
Near Black#000000on-primaryText and icons on primary

Accents

Green#7FEE64primary · --semantic-icon-primary-selectedBrand accent (CSS variable) · 11×
Green#62DE61secondaryAccent in the logo · 1×
Dark Green#09AF58tertiaryAccent in the logo · 2×

Borders

White 5%#FFFFFF0DoutlineBorders and dividers · 14×
White 10%#FFFFFF1Aoutline-variant · --color-raw-gray-alpha-100-opacity-10Secondary dividers · 5×

Modal fonts and type scale

2 families.

AaABC DiatypeWeights 400, 500ABC Diatype, ABC Diatype Fallback, Arial, ui-sans-serif
AaDM MonoMonospace · Weights 400DM Mono, ui-monospace, monospace
headline-displayPage title (h1)Modal45px · 500 · 1.07 · -0.01em
mobile 37px
headline-lgSection headings (h2)The quick brown fox jumps over the lazy dog38px · 500 · 1.16 · -0.01em
mobile 31px
body-mdBody textThe quick brown fox jumps over the lazy dog16px · 400 · 1.5
body-lgLead paragraphsThe quick brown fox jumps over the lazy dog18px · 400 · 1.33
body-smSecondary and small textThe quick brown fox jumps over the lazy dog15px · 400 · 1.47 · 0.01em
label-mdButtons, navigation and labelsThe quick brown fox jumps over the lazy dog16px · 500 · 1.5
label-smSmall labels and badgesThe quick brown fox jumps over the lazy dog13px · 500 · 1.54 · 0.03em
codeCode and technical valuesconst ready = true;12px · 400 · 1.67 · 0.03em

Contrast

Text on #040804

AaAAA8.6:1
AaAAA17.7:1
AaAAA15.9:1

Spacing

No strict grid · 64% are multiples of 4px

xs4px
sm6px
md12px
lg20px
xl48px
gutter20px
section144px
margin64px
container1546px

Shapes

Corner radii, most used first.

lg48px · 204×
md10px · 20×
sm7px · 16×

Depth

Inset
Shadow
Shadow
Inset

Modal UI components

Rebuilt from the measured CSS.

Sign up
button-primaryFilled button
modal endpo |
button-outlineOutlined button
Product
button-ghostText button
Card
cardCard
Inline link
linkInline link

Motion

Interface transitions

0.15s0.2s0.16s0.25s
cubic-bezier(0.4, 0, 0.2, 1)ease

Do’s and don’ts

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

  • Use #040804 for the page and lift surfaces in small steps: #10120F, #181818.
  • Keep text in 3 levels: #A8ABA6, #EEF2EB, #E3E5E1.
  • Use #7FEE64 as the brand accent: header, logo and key highlights.
  • Set headlines in ABC Diatype with tight tracking (-0.01em).
  • Reuse the measured spacing steps (6px, 12px, 20px).
  • Use 48px corners on most elements; larger surfaces also use 10px and 7px.
  • Use heavy drop shadows; keep depth to hairline rings and tonal surfaces.
  • Introduce new font families beyond ABC Diatype and DM Mono.
  • Use #7FEE64 for large backgrounds or body text.
  • Make interface transitions slower than 0.25s.
Modal DESIGN.md222 lines

Fonts

What font does Modal use?

Modal uses ABC Diatype (weights 400 and 500), with DM Mono for code on modal.com. Page titles are 45px at weight 500 (37px on phones) and body text is 16px. Measured on November 4, 2026.

  • AaABC Diatype · 400, 500
  • AaDM Mono · 400
Find every font on modal.com with Font finder →

Colors

Modal colors: palette and hex codes

Modal’s main colors are #040804 (near black) for the background, #A8ABA6 (gray) for text and #7FEE64 (green) as the main accent, with #62DE61 (green) and #09AF58 (dark green) as other accents. Measured on November 4, 2026.

  • #040804 · near black
  • #A8ABA6 · gray
  • #EEF2EB · mist
  • #E3E5E1 · mist
  • #10120F · charcoal
  • #181818 · charcoal
  • #7FEE64 · green
  • #000000 · near black
Get modal.com’s palette as CSS or Tailwind with Colors →

Tech stack

What is Modal built with?

Modal’s website (modal.com) is built with Svelte, SvelteKit, Tailwind CSS, Amazon CloudFront and Three.js. Measured on November 4, 2026.

JavaScript framework
Svelte 5, SvelteKit
Animation & 3D
Three.js r180
Analytics
PostHog, Datadog RUM
Hosting & CDN
Amazon CloudFront
Server
Envoy, Express
UI & CSS
Tailwind CSS 4.x
Check modal.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

Modal design system questions

What font does Modal use?

Modal’s website uses ABC Diatype (weights 400 and 500), with DM Mono for code. Page titles are 45px at weight 500 (37px on phones) and body text is 16px. Measured on November 4, 2026.

What are the Modal colors and hex codes?

On modal.com: #040804 (near black) for the background, #A8ABA6 (gray) for text and #7FEE64 (green) as the main accent, with #62DE61 (green) and #09AF58 (dark green) as other accents. The color palette above lists all 14 colors with their hex codes and where each one is used.

What is the Modal design system?

The design system on this page is modal.com’s, as measured on November 4, 2026: ABC Diatype type, #7FEE64 as the main color and 48px corners, written down as a DESIGN.md. It is not Modal’s own documentation.

What is Modal built with?

Modal’s website (modal.com) is built with Svelte, SvelteKit, Tailwind CSS, Amazon CloudFront and Three.js. The full tech stack Sitepeel found: Svelte, SvelteKit, Three.js, PostHog, Amazon CloudFront, Envoy, Express, Tailwind CSS, Lucide and Datadog RUM. Measured on November 4, 2026.

What is the Modal DESIGN.md?

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

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

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