---
version: alpha
name: Svelte
description: Light design system extracted from svelte.dev (DOM-true values, Emblematic extractor 0.2.0, 2026-11-12).
colors:
  background: "#FFFFFF"
  on-surface: "#141414"
  on-surface-variant: "#262626"
  primary: "#D43008"
  sk-fg-3: "#666666"
  background-dark: "#1C1E22"
  on-surface-dark: "#E5E5E6"
  on-surface-variant-dark: "#CACBCE"
  primary-dark: "#B32D00"
typography:
  display-lg:
    fontFamily: DM Serif Display
    fontSize: 54px
    fontWeight: 500
    lineHeight: 1.2
  body-md:
    fontFamily: Georgia
    fontSize: 18px
    fontWeight: 400
    lineHeight: 1.5
  body-sm:
    fontFamily: Fira Sans
    fontSize: 16px
    fontWeight: 400
    lineHeight: 1.5
  label-md:
    fontFamily: Georgia
    fontSize: 10px
    fontWeight: 400
    lineHeight: 1.5
  mono-md:
    fontFamily: Lucida Grande
    fontSize: 12px
    fontWeight: 400
    lineHeight: 1.7
rounded:
  md: 4px
  full: 9999px
spacing:
  xxs: 3.5px
  xs: 5px
  sm: 6.5px
  md: 7px
  lg: 8px
  xl: 10px
  2xl: 13.5px
  3xl: 40px
  4xl: 48px
  5xl: 100px
  6xl: 120px
  container: 1200px
components:
  input:
    backgroundColor: "#F2F2F2"
    rounded: 56px
    padding: 7px
    height: 34px
---

# Svelte

> Extracted from [https://svelte.dev/](https://svelte.dev/) on 2026-11-12 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

Svelte uses a light canvas (#FFFFFF) with a palette led by #D43008. Type is set in **DM Serif Display** (display), **Georgia**, **Lucida Grande** (mono), with 18px body text. Layout: 1200px container, top-fixed navigation, 7 sections. Built with sveltekit, vercel.

## 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` | `#FFFFFF` | 1 0 0 | bg | 88.2% | `--sk-bg-1` |
| `on-surface` | `#141414` | 0.191 0 0 | text | 5.3% | `--sk-fg-1` |
| `on-surface-variant` | `#262626` | 0.269 0 0 | muted | 3.6% | `--sk-fg-2` |
| `primary` | `#D43008` | 0.568 0.204 33.2 | accent | 2.5% | `--sk-bg-accent` |
| `sk-fg-3` | `#666666` | 0.51 0 0 | other | 0.32% | `--sk-fg-3` |

Contrast: text on background 18.42:1, muted text 15.13:1, accent 4.97:1.

The site responds to `prefers-color-scheme: dark`; the `-dark` tokens hold the dark-mode roles.

## Typography

| Family | Role | Weights | Share of text | Source |
|---|---|---|---|---|
| **DM Serif Display** | display | 500 | 53.9% | webfont |
| **Georgia** | body | 400 | 36.1% | system (stack `Georgia, serif`, resolved on macos) |
| **Fira Sans** | other | 400 | 9.9% | webfont |
| **Lucida Grande** (CSS: `Fira Sans`) | mono | 400 | 0.10% | system (stack `"Fira Sans", -apple-system, sans-serif`, resolved on macos) |

Declared in `@font-face` but not used to paint text on this page: EB Garamond, Fira Mono, Atkinson Hyperlegible. Don't treat these as the page's fonts.

Scale (px): 10, 16, 18, 20, 54. Effective ratio ≈ 1.732. Body 18px at line-height 1.5; display 54px with tracking 0em. Headings are lower case. On a 390px viewport the body is 22px and display 36px.

## Layout

Spacing has no reliable single base unit; the most used steps are 3.5, 5, 6.5, 7, 8, 10, 13.5, 40, 48, 100, 120px. Sections open with about 100px of space before their first line of text. Content sits in a 1200px container on a 3-column grid. Text density 0.064 (text area / page area).

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

1. **nav** (60px, bg #FFFFFF)
2. **hero** — “web development for the rest of us” (962px, bg #FFFFFF)
3. **logos** — “used by companies you’ve heard of” (280px, bg #FFFFFF)
4. **section** (763px, bg #FFFFFF)
5. **section** — “join our friendly community” (889px, bg #FFFFFF)
6. **section** (259px, bg #FFFFFF)
7. **section** (227px, bg #FFFFFF)

## Shapes

Dominant corner radius 4px; radii in use: 4px, pill. Borders: regular (2px).

## Components

- **input**: rounded `56px`, height `34px`, padding `7px 7px`, backgroundColor `#F2F2F2`

## Do's and Don'ts

- Do reserve `#D43008` for primary actions and highlights; it covers only 2.5% of the painted page.
- Do set body copy in Georgia at 18px / 1.5.
- Do use DM Serif Display only for display sizes, not for body text.
- Don't introduce font weights beyond 400, 500.
- Don't add drop shadows; depth comes from tone and borders.
- Do keep corners at 4px for most controls.
- 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: `color.accent_strategy`, `components`, `layout.columns`, `layout.hero`, `layout.section_count`, `sections[].kind`, `space.base`, `space.section_padding_px`. Full per-field provenance is in `spec.json`.
