---
version: alpha
name: Vite
description: Dark design system extracted from vite.dev (DOM-true values, Emblematic extractor 0.2.0, 2026-11-17).
colors:
  background: "#16171D"
  on-surface: "#FFFFFF"
  on-surface-variant: "#FFFFFFB3"
  outline: "#3B3440"
  primary: "#CCCCCC"
  grey: "#867E8E"
  on-primary: "#FFFFFF"
typography:
  display-lg:
    fontFamily: APK Protocol
    fontSize: 60px
    fontWeight: 500
    lineHeight: 1.12
    letterSpacing: -0.05em
  headline-md:
    fontFamily: APK Protocol
    fontSize: 48px
    fontWeight: 500
    lineHeight: 1
    letterSpacing: -0.025em
  title-md:
    fontFamily: APK Protocol
    fontSize: 40px
    fontWeight: 500
    lineHeight: 1.333
    letterSpacing: -0.025em
  body-md:
    fontFamily: Inter
    fontSize: 18px
    fontWeight: 400
    lineHeight: 1.556
  body-sm:
    fontFamily: Inter
    fontSize: 16px
    fontWeight: 400
    lineHeight: 1.625
  mono-md:
    fontFamily: KH Teka Mono
    fontSize: 14px
    fontWeight: 400
    lineHeight: 1.7
rounded:
  sm: 4px
  md: 8px
spacing:
  xxs: 4px
  xs: 8px
  sm: 12px
  md: 16px
  lg: 20px
  xl: 24px
  2xl: 28px
  3xl: 32px
  4xl: 40px
  5xl: 60px
  6xl: 64px
  7xl: 80px
  base: 4px
  container: 672px
components:
  button-primary:
    backgroundColor: "{colors.primary}"
    textColor: "{colors.on-surface}"
    rounded: "{rounded.md}"
    padding: 8px
    height: 38.4px
---

# Vite

> Extracted from [https://vite.dev/](https://vite.dev/) on 2026-11-17 by Emblematic. Every value below was read from the rendered DOM (computed styles, `document.fonts`, and the fonts Chrome actually used to paint text), not estimated from pixels. When the YAML front matter and this prose disagree, the YAML wins. Copy values from this file exactly; don't transcribe them from memory. Don't copy logos, imagery, illustrations or marketing copy.

## Overview

Vite uses a dark canvas (#16171D) with a monochrome palette led by #CCCCCC. Type is set in **Inter**, **APK Protocol** (display), **KH Teka Mono** (mono), with 18px body text. Layout: 672px container, top-static navigation, 11 sections. Built with vue, tailwind, storyblok, netlify.

## Colors

Area-weighted from painted backgrounds, text and borders on the 1440px light capture. Roles are inferred from usage (largest background, most text, interactive fills). Every hex is an exact computed value; a role marked *unverified* is a best guess that has not passed review, so its canonical token (e.g. `primary`) is left out of the front matter.

| Token | Hex | OKLCH | Role | Share of paint | CSS variable |
|---|---|---|---|---|---|
| `background` | `#16171D` | 0.206 0.012 277.8 | bg | 91.7% | `--vp-c-bg` |
| `on-surface` | `#FFFFFF` | 1 0 0 | text | 3.8% | `--vp-c-text-1` |
| `on-surface-variant` | `#FFFFFFB3` (on bg `#B9B9BB`) | 1 0 39 | muted | 2.1% | — |
| `outline` | `#3B3440` | 0.337 0.023 311.2 | border | 0.77% | `--color-nickel` |
| `primary` | `#CCCCCC` | 0.845 0 0 | accent | 0.02% | — |
| `grey` | `#867E8E` | 0.606 0.026 308 | other | 1.6% | `--color-grey` |

Declared brand/accent tokens: `--docsearch-sidepanel-accent` = `#B39AFF`, `--vp-c-brand` = `#B39AFF`, `--color-brand` = `#B39AFF`, `--vp-button-brand-bg` = `#B39AFF`.

Contrast: text on background 17.88:1, muted text 9.16:1, accent 11.13:1.

The site does not change under `prefers-color-scheme: dark`.

## Typography

| Family | Role | Weights | Share of text | Source |
|---|---|---|---|---|
| **Inter** | body | 400, 500 | 52.4% | webfont |
| **APK Protocol** | display | 400, 500 | 41.4% | webfont |
| **KH Teka Mono** | mono | 400, 500 | 6.1% | webfont |

Scale (px): 12, 14, 16, 18, 20, 24, 40, 48, 60. Effective ratio ≈ 1.272 (close to a major third). Body 18px at line-height 1.556; display 60px with tracking -0.05em. Headings are sentence case. On a 390px viewport the body is 16px and display 36px.

## Layout

Spacing follows a 4px base unit; the most used steps are 4, 8, 12, 16, 20, 24, 28, 32, 40, 60, 64, 80px. Sections open with about 113px of space before their first line of text. Content sits in a 672px container on a 2-column grid. Text density 0.062 (text area / page area).

Section order (desktop). Kinds below the review threshold are shown as *section*:

1. **nav** (81px, bg #16171D)
2. **hero** — “The Build Tool for the Web” (707px, bg #16171D)
3. **logos** (167px, bg #16171D)
4. **section** — “Redefining developer experience” (1471px, bg #16171D)
5. **section** — “A shared foundation to build upon” (1377px, bg #16171D)
6. **section** — “Powering your favorite frameworks and tools” (321px, bg #16171D)
7. **section** (277px, bg #16171D)
8. **logos** — “80m+” (2516px, bg #16171D)
9. **section** (120px, bg #16171D)
10. **section** — “Start building with Vite” (442px, bg #16171D)
11. **footer** (602px, bg #16171D)

## Elevation & Depth

Style: flat. Most used shadows:

- `rgb(0, 0, 0) 0px -1px 0px 0px inset`

## Shapes

Dominant corner radius 0px; radii in use: 4px, 8px. Borders: hairline (1px).

## Components

- **button-primary**: backgroundColor `#CCCCCC`, textColor `#FFFFFF`, rounded `8px`, padding `8px 16px`, height `38.4px`, fontFamily `Inter`, fontSize `16px`, fontWeight `500` (e.g. “Get Started”)

## Do's and Don'ts

- Do reserve `#CCCCCC` for primary actions and highlights; it covers only 0.02% of the painted page.
- Do keep the palette monochrome; there is no chromatic brand accent on the page.
- Do set body copy in Inter at 18px / 1.556.
- Do use APK Protocol only for display sizes, not for body text.
- Do tighten large headlines (-0.05em at 60px).
- Don't introduce font weights beyond 400, 500.
- Don't add drop shadows; depth comes from tone and borders.
- Do keep corners at 0px for most controls.
- Do snap spacing to multiples of 4px.
- Don't copy this site's logos, illustrations, photography or copy; use the system, not the brand assets.

## Provenance

Spec v2, extractor 0.2.0. Render quality: **ok**. Vision pass: not run. Fields below confidence 0.7 are hedged or left out above: `layout.columns`, `layout.hero`, `layout.section_count`, `sections[].kind`, `space.section_padding_px`. Full per-field provenance is in `spec.json`.
