# webpack design system

> webpack design system measured from webpack.js.org: Source Sans Pro font, #666666 primary, 11 color hex codes, type scale, spacing and a free DESIGN.md.

Canonical page: https://sitepeel.dev/design-md/webpack.js.org/

webpack’s website (webpack.js.org) uses the Source Sans Pro font and #666666 as its main color on a #2B3A42 background. Measured by Sitepeel on November 29, 2026.

## What font does webpack use?

webpack uses Source Sans Pro (weights 200, 300 and 400) and Source Serif Pro (weight 600) on webpack.js.org. Page titles are 40px at weight 200 (33px on phones) and body text is 15px. Measured on November 29, 2026.

- Source Sans Pro (weights 200, 300, 400)
- Source Serif Pro (weights 600)

## webpack colors: palette and hex codes

webpack’s main colors are #2B3A42 (deep blue) for the background, #E1E6E9 (cool mist) for text and #666666 (slate) as the main accent, with #1D78C1 (blue) and #53B7E6 (cyan) as other accents. Measured on November 29, 2026.

- #2B3A42: deep blue (rgb(43, 58, 66), hsl(201, 21%, 21%))
- #E1E6E9: cool mist (rgb(225, 230, 233), hsl(203, 15%, 90%))
- #FFFFFF: white (rgb(255, 255, 255), hsl(0, 0%, 100%))
- #F2F2F2: mist (rgb(242, 242, 242), hsl(0, 0%, 95%))
- #93A4AD: blue (rgb(147, 164, 173), hsl(201, 14%, 63%))
- #175D96: dark blue (rgb(23, 93, 150), hsl(207, 73%, 34%))
- #666666: slate (rgb(102, 102, 102), hsl(0, 0%, 40%))
- #DEDEDE: silver (rgb(222, 222, 222), hsl(0, 0%, 87%))

## What is webpack built with?

webpack’s website (webpack.js.org) is built with React, React Router, Tailwind CSS, Vercel and Google Fonts. Measured on November 29, 2026.

- JavaScript framework: React 19.3.1, React Router 8.x
- Hosting & CDN: Vercel
- UI & CSS: Tailwind CSS 4.x
- Fonts & icons: Google Fonts
- Analytics: Google Analytics

## Questions and answers

### What font does webpack use?

webpack’s website uses Source Sans Pro (weights 200, 300 and 400) and Source Serif Pro (weight 600). Page titles are 40px at weight 200 (33px on phones) and body text is 15px. Measured on November 29, 2026.

### What are the webpack colors and hex codes?

On webpack.js.org: #2B3A42 (deep blue) for the background, #E1E6E9 (cool mist) for text and #666666 (slate) as the main accent, with #1D78C1 (blue) and #53B7E6 (cyan) as other accents. The color palette above lists all 11 colors with their hex codes and where each one is used.

### What is the webpack design system?

The design system on this page is webpack.js.org’s, as measured on November 29, 2026: Source Sans Pro type, #666666 as the main color and 8px corners, written down as a DESIGN.md. It is not webpack’s own documentation.

### What is webpack built with?

webpack’s website (webpack.js.org) is built with React, React Router, Tailwind CSS, Vercel and Google Fonts. The full tech stack Sitepeel found: React, React Router, Vercel, Tailwind CSS, Google Fonts and Google Analytics. Measured on November 29, 2026.

### What is the webpack DESIGN.md?

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

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

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

## Files

- [DESIGN.md](https://sitepeel.dev/design-md/webpack.js.org/DESIGN.md): the plain file to put in your project.
- [All brand DESIGN.md files](https://sitepeel.dev/design-md/examples/index.md)

Independent analysis by Sitepeel (sitepeel.dev), not affiliated with webpack.

## The DESIGN.md file

```markdown
---
version: alpha
name: webpack
description: "Dark monochrome interface measured from webpack.js.org: Source Sans Pro type with Source Serif Pro, flat surfaces and 8px corners."
colors:
  background: "#2B3A42"
  surface: "#2B3A42"
  on-surface: "#E1E6E9"
  on-background: "#E1E6E9"
  on-surface-strong: "#FFFFFF"
  on-surface-variant: "#F2F2F2"
  on-surface-muted: "#93A4AD"
  overlay: "#8DD6F980"
  outline: "#175D96"
  primary: "#666666"
  on-primary: "#DEDEDE"
  secondary: "#1D78C1"
  tertiary: "#53B7E6"
typography:
  headline-display:
    fontFamily: Source Sans Pro
    fontSize: 40px
    fontWeight: 200
  headline-lg:
    fontFamily: Source Serif Pro
    fontSize: 30px
    fontWeight: 600
    lineHeight: 1.4
  body-md:
    fontFamily: Source Sans Pro
    fontSize: 15px
    fontWeight: 400
    lineHeight: 1.6
  body-sm:
    fontFamily: Source Sans Pro
    fontSize: 14px
    fontWeight: 300
    lineHeight: 1.43
  label-md:
    fontFamily: Source Sans Pro
    fontSize: 16px
    fontWeight: 400
    lineHeight: 1.5
  headline-display-mobile:
    fontFamily: Source Sans Pro
    fontSize: 33px
    fontWeight: 200
rounded:
  sm: 8px
  md: 32px
spacing:
  sm: 7.5px
  md: 16px
  lg: 24px
  xl: 60px
  gutter: 18px
  margin: 16px
components:
  button-primary:
    backgroundColor: "{colors.primary}"
    textColor: "{colors.on-primary}"
    typography: "{typography.label-md}"
    padding: 0px 8px
    height: 38px
  button-primary-hover:
    textColor: "{colors.on-surface-variant}"
  link:
    textColor: "#333333"
---

# webpack Design System

## Overview

webpack describes itself as: “webpack bundles JavaScript, CSS, HTML, WebAssembly and assets into optimized output for browsers, Node.js, Deno, Bun and other environments.” The interface is dark, built on **Deep Blue (#2B3A42)** with **Cool Mist (#E1E6E9)** text and almost no color: actions are carried by contrast, not hue.

Type is set in **Source Sans Pro** and **Source Serif Pro**. Headlines run large; body text is 15px. The surface language is flat. Corners are mostly 8px.

Measured from [webpack.js.org](https://webpack.js.org/) on November 29, 2026 at 1440×900 and 390×844 from 320 rendered elements. Values are computed styles from the live page, not the original source files.

## Colors

The palette has 11 roles.

- **Deep Blue (#2B3A42):** Page background, seen 2 times. Token `background`.
- **Cool Mist (#E1E6E9):** Primary text and headings, seen 44 times. Token `on-surface`.
- **White (#FFFFFF):** Headings and emphasis, seen 3 times. Token `on-surface-strong`, CSS `--tw-ring-offset-color`.
- **Mist (#F2F2F2):** Secondary text, seen 7 times. Token `on-surface-variant`, CSS `--color-gray-100`.
- **Blue (#93A4AD):** Muted text and metadata, seen 2 times. Token `on-surface-muted`.
- **Light Cyan 50% (#8DD6F980):** Translucent fill for cards and controls, seen 6 times. Token `overlay`.
- **Dark Blue (#175D96):** Borders and dividers, seen 4 times. Token `outline`.
- **Slate (#666666):** Primary buttons and calls to action, seen 1 time. Token `primary`, CSS `--color-gray-500`.
- **Silver (#DEDEDE):** Text and icons on primary. Token `on-primary`.
- **Blue (#1D78C1):** Accent in text, fills and borders, seen 15 times. Token `secondary`, CSS `--color-blue-400`.
- **Cyan (#53B7E6):** Accent in text, fills and borders, seen 12 times. Token `tertiary`.

## Typography

**Source Sans Pro** and **Source Serif Pro** share the interface. Fallback stack: `Source Sans Pro, -apple-system, BlinkMacSystemFont, Segoe UI`. Other loaded fonts: Source Code Pro.

- **headline-display:** Source Sans Pro 40px at weight 200 (33px on mobile). Page title (h1).
- **headline-lg:** Source Serif Pro 30px at weight 600, line height 1.4. Section headings (h2).
- **body-md:** Source Sans Pro 15px at weight 400, line height 1.6. Body text.
- **body-sm:** Source Sans Pro 14px at weight 300, line height 1.43. Secondary and small text.
- **label-md:** Source Sans Pro 16px at weight 400, line height 1.5. Buttons, navigation and labels.

## Layout

Spacing does not follow a strict grid: 59% of measured values are multiples of 4px, so match the measured steps rather than rounding to a grid.

- **Scale:** sm 7.5px, md 16px, lg 24px, xl 60px.
- **Gaps:** 18px is the most common gap in flex and grid layouts.
- **Page margin:** 16px on each side of full-width sections.
- **Breakpoints:** 425px, 767px, 768px, 1024px.

## Elevation & Depth

The design is flat: no shadows were measured. Hierarchy comes from color contrast and #175D96 borders.

## Shapes

Most elements use 8px corners. Measured radii, most used first:

- **sm (8px):** 312 elements.
- **md (32px):** 16 elements.

## Components

Measured from the rendered page. Token values reference the tokens above.

- **button-primary (“Search Ctrl K”):** #666666 fill, #DEDEDE text, 16px/400, 3.35544e+07px radius, padding 0px 8px, border 1px solid #D6D6E7.
- **button-primary-hover:** background #666666, text #F2F2F2 on hover.
- **link:** transparent fill, #333333 text, padding 0px.

## Do's and Don'ts

- Do use #2B3A42 for the page.
- Do keep text in 4 levels: #E1E6E9, #FFFFFF, #F2F2F2, #93A4AD.
- Do let contrast carry emphasis; primary actions use #666666 on #2B3A42.
- Do reuse the measured spacing steps (7.5px, 16px, 24px).
- Do use 8px corners on most elements; larger surfaces also use 32px.
- Don't add drop shadows for depth; use borders and contrast.
- Don't introduce new font families beyond Source Sans Pro and Source Serif Pro.
- Don't add saturated accent colors; the measured palette is almost entirely neutral.
- Don't make interface transitions slower than 0.25s.

## Motion

Interface transitions are quick: 0.2s, 0.25s.

- **Easing:** `cubic-bezier(0.4, 0, 0.2, 1)`.
- **Reduced motion:** the page responds to `prefers-reduced-motion`.

Generated by [Sitepeel](https://sitepeel.dev/design-md/webpack.js.org/), the free DESIGN.md generator (engine 2026.10.29+f0c146f7cdfd).

```
