Sitepeel
rust-lang.org homepage as measured on October 21, 2026

DESIGN.md · measured October 21, 2026

Rust design system

Dark interface measured from rust-lang.org: Alfa Slab One type with Fira Sans, dark teal accents, flat surfaces and 4px corners.

Background
#0B7261
Primary
#0B7261
Type
Alfa Slab One
Corners
4px
Download DESIGN.md

From rust-lang.org ↗ · 115 elements at 1440×900 and 390×844 · Independent analysis, not affiliated with Rust

Rust colors

10 roles measured on the page, grouped by where each color is used.

Surfaces

Dark Teal#0B7261backgroundPage background · 1×

Text

Near Black#000000on-surfacePrimary text and headings · 12×
White#FFFFFFon-surface-strongHeadings and emphasis · 37×
Cool Graphite#2A3439on-surface-variantSecondary text · 13×
White#FFFFFFon-primaryText and icons on primary

Accents

Dark Teal#0B7261primaryBrand color on large areas · 1×
Cyan#4299BFsecondaryAccent · 1×

Borders

Pink#A72145outlineBorders and dividers · 4×
Dark Indigo#2E2459outline-variantSecondary dividers · 3×

Status

Vivid Amber#FFC832warningWarnings and highlights · 16×

Rust fonts

2 families.

AaAlfa Slab OneWeights 300Alfa Slab One, serif
AaFira SansWeights 400, 600, 800Fira Sans, Helvetica, Arial, sans-serif
headline-displayPage title (h1)Rust96px · 300 · 1.2 · 0.01em
mobile 40px
headline-lgSection headings (h2)The quick brown fox jumps over the lazy dog36px · 800 · 1.25 · 0.028em
mobile 30px
headline-mdSub-section headingsThe quick brown fox jumps over the lazy dog27px · 600 · 1.3
mobile 22.5px
body-mdBody textThe quick brown fox jumps over the lazy dog18px · 400 · 1.6
body-lgLead paragraphsThe quick brown fox jumps over the lazy dog21.5px · 600 · 1.6
body-smSecondary and small textThe quick brown fox jumps over the lazy dog15px · 400 · 1.15
label-mdButtons, navigation and labelsThe quick brown fox jumps over the lazy dog14.5px · 600 · 1.6 · 0.083em

Contrast

Text on #0B7261

AaLarge only3.6:1
AaAA5.8:1
AaLarge only2.2:1

Spacing

No strict grid · 47% are multiples of 4px

xs2px
sm6px
md12px
lg30px
xl60px
section60px
container1152px

Breakpoints: 545px 550px 769px

Shapes

Corner radii, most used first.

md4px · 40×

Depth

Flat: no shadows measured.

Components

Rebuilt from the measured CSS.

BUILDING TOOLS
button-outlineOutlined button
GET STARTED
button-secondaryFilled button
Input text
input-fieldInput field
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 #0B7261 for the page.
  • Keep text in 3 levels: #000000, #FFFFFF, #2A3439.
  • Use #0B7261 as the brand accent: header, logo and key highlights.
  • Reuse the measured spacing steps (6px, 12px, 30px).
  • Use 4px corners on most elements.
  • Use #000000 for body text; it reaches 3.6:1 on #0B7261. Keep it for large text or metadata.
  • Use #2A3439 for body text; it reaches 2.2:1 on #0B7261. Keep it for large text or metadata.
  • Add drop shadows for depth; use borders and contrast.
  • Introduce new font families beyond Alfa Slab One and Fira Sans.
  • Use #0B7261 for large backgrounds or body text.
DESIGN.md188 lines

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 more than one page?

Design MD in the Sitepeel tools for Chrome measures pages behind a login, combines several pages into one file and works on any site you open.

Explore the tool

FAQ

Questions

What can I build with the Rust DESIGN.md?

Any page or component in this style: a landing page, pricing table, dashboard or sign-up form. Your AI coding agent uses the measured colors, Alfa Slab One type, spacing, corners and buttons instead of its own defaults.

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 Rust’s official design system?

No. Sitepeel measured it from rust-lang.org’s public page on October 21, 2026. It is an independent analysis, not made or approved by Rust.

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