---
version: "DESIGN.md Pro"
name: Svelte Analysis
analyzedBy: getdesign.md
license: "getdesign.md License — https://getdesign.md/license"
# Third-party analysis, not affiliated with Svelte. Keep the analyzedBy and license lines when copying or sharing this file.
description: "An analysis of Svelte's design language — a quiet, editorial framework site on near-white paper, where DM Serif Display headlines and Georgia prose read like a printed manual, Fira Sans runs the interface, a single burnt-orange red marks every link and active state, and controls are flat chips with a thicker bottom-right edge instead of filled buttons."
colors:
primary: "#d43008"
on-primary: "#ffffff"
logo-orange: "#ff3e00"
canvas: "#ffffff"
surface-raised: "#fdfdfd"
surface-bar: "#fafafa"
fill-sunken: "#f2f2f2"
hairline: "#ebebeb"
hero-mist-light: "#ebf3f9"
hero-mist-deep: "#d6dee4"
ink: "#262626"
ink-display: "#141414"
ink-black: "#000000"
ink-muted: "#666666"
ink-gutter: "#6c6c6c"
ink-subtle: "#808080"
typography:
display:
fontFamily: DM Serif Display
fontSize: 54px
fontWeight: 500
lineHeight: 64.8px
letterSpacing: 0
heading-md:
fontFamily: DM Serif Display
fontSize: 30px
fontWeight: 500
lineHeight: 36px
letterSpacing: 0
heading-sm:
fontFamily: DM Serif Display
fontSize: 24px
fontWeight: 500
lineHeight: 28.8px
letterSpacing: 0
body-lg:
fontFamily: Georgia
fontSize: 18px
fontWeight: 400
lineHeight: 27px
letterSpacing: 0
body:
fontFamily: Georgia
fontSize: 16px
fontWeight: 400
lineHeight: 24px
letterSpacing: 0
cta:
fontFamily: Fira Sans
fontSize: 20px
fontWeight: 400
lineHeight: 30px
letterSpacing: 0
ui:
fontFamily: Fira Sans
fontSize: 16px
fontWeight: 400
lineHeight: 24px
letterSpacing: 0
input:
fontFamily: Fira Sans
fontSize: 14px
fontWeight: 400
lineHeight: 21px
letterSpacing: 0
ui-sm:
fontFamily: Fira Sans
fontSize: 13px
fontWeight: 400
lineHeight: 19.5px
letterSpacing: 0
kbd:
fontFamily: Fira Sans
fontSize: 12px
fontWeight: 400
lineHeight: 20.4px
letterSpacing: 0
code:
fontFamily: Fira Mono
fontSize: 14px
fontWeight: 400
lineHeight: 23.8px
letterSpacing: 0
rounded:
none: 0px
xs: 2px
sm: 4px
pill: 56px
full: 9999px
spacing:
xxs: 4px
xs: 8px
sm: 10px
md: 20px
lg: 32px
xl: 48px
xxl: 80px
section: 100px
components:
top-nav:
backgroundColor: "{colors.canvas}"
textColor: "{colors.ink}"
typography: "{typography.ui}"
padding: 0px 48px
height: 60px
nav-link:
textColor: "{colors.ink}"
typography: "{typography.ui}"
padding: 1px 8px 0px
height: 60px
nav-link-active:
textColor: "{colors.primary}"
typography: "{typography.ui}"
padding: 1px 8px 0px
height: 60px
button-cta-text:
textColor: "{colors.primary}"
typography: "{typography.cta}"
rounded: "{rounded.none}"
padding: 0px
height: 30px
button-raised:
backgroundColor: "{colors.canvas}"
textColor: "{colors.ink}"
typography: "{typography.ui-sm}"
rounded: "{rounded.sm}"
padding: 0px 8px
height: 32px
button-raised-quiet:
backgroundColor: "{colors.canvas}"
textColor: "{colors.ink-subtle}"
typography: "{typography.ui-sm}"
rounded: "{rounded.sm}"
padding: 3px 8px
height: 28px
button-icon:
backgroundColor: "{colors.canvas}"
textColor: "{colors.ink}"
rounded: "{rounded.sm}"
padding: 0px
size: 32px
button-icon-sm:
backgroundColor: "{colors.surface-bar}"
textColor: "{colors.ink}"
rounded: "{rounded.sm}"
padding: 0px
size: 26px
button-menu-text:
textColor: "{colors.ink}"
typography: "{typography.ui}"
padding: 0px 0px 0px 4px
search-input:
backgroundColor: "{colors.fill-sunken}"
textColor: "{colors.ink-black}"
typography: "{typography.input}"
rounded: "{rounded.pill}"
padding: 7px 7px 5.6px 28px
height: 34px
kbd-hint:
backgroundColor: "{colors.fill-sunken}"
textColor: "{colors.ink-subtle}"
typography: "{typography.kbd}"
rounded: "{rounded.sm}"
title-input:
backgroundColor: "{colors.canvas}"
textColor: "{colors.ink}"
typography: "{typography.ui}"
rounded: "{rounded.sm}"
padding: 2px 6px
height: 32px
ts-toggle:
backgroundColor: "{colors.surface-bar}"
textColor: "{colors.ink}"
typography: "{typography.ui-sm}"
rounded: "{rounded.sm}"
padding: 0px 6px
height: 26px
hero-band:
backgroundColor: "{colors.hero-mist-light}"
textColor: "{colors.ink-display}"
typography: "{typography.display}"
padding: 100px 0px 0px
definition-badge:
backgroundColor: "{colors.ink}"
textColor: "{colors.surface-raised}"
typography: "{typography.ui-sm}"
rounded: "{rounded.sm}"
padding: 3.25px 6.5px
height: 22px
logo-strip:
backgroundColor: "{colors.canvas}"
textColor: "{colors.ink-display}"
typography: "{typography.display}"
video-frame:
rounded: "{rounded.sm}"
width: 1104px
community-collage:
backgroundColor: "{colors.canvas}"
textColor: "{colors.ink-muted}"
typography: "{typography.ui}"
padding: 0px 48px
supporter-grid:
backgroundColor: "{colors.canvas}"
textColor: "{colors.ink}"
typography: "{typography.body-lg}"
rounded: "{rounded.full}"
footer-note:
backgroundColor: "{colors.canvas}"
textColor: "{colors.ink}"
typography: "{typography.body-lg}"
padding: 100px 0px
text-link:
textColor: "{colors.primary}"
typography: "{typography.body-lg}"
text-link-ink:
textColor: "{colors.ink}"
typography: "{typography.body-lg}"
docs-sidebar:
backgroundColor: "{colors.surface-raised}"
textColor: "{colors.ink}"
typography: "{typography.heading-sm}"
padding: 80px 0px 32px 32px
width: 280px
sidebar-link:
textColor: "{colors.ink}"
typography: "{typography.body}"
padding: 0px 5px 0px 0px
height: 24px
sidebar-link-active:
textColor: "{colors.primary}"
typography: "{typography.body}"
padding: 0px 5px 0px 0px
height: 24px
breadcrumb:
textColor: "{colors.ink-subtle}"
typography: "{typography.ui-sm}"
toc-panel:
textColor: "{colors.ink}"
typography: "{typography.heading-sm}"
width: 292px
code-block:
backgroundColor: "{colors.surface-raised}"
textColor: "{colors.ink}"
typography: "{typography.code}"
rounded: "{rounded.sm}"
padding: 7px 10px
code-block-bar:
backgroundColor: "{colors.surface-bar}"
textColor: "{colors.ink-muted}"
typography: "{typography.ui-sm}"
padding: 0px 5px 0px 10px
height: 36px
docs-meta-link:
textColor: "{colors.primary}"
typography: "{typography.ui-sm}"
height: 20px
docs-pager:
textColor: "{colors.ink-muted}"
typography: "{typography.ui}"
padding: 10px 0px 0px
editor-tab:
textColor: "{colors.ink}"
typography: "{typography.ui-sm}"
rounded: "{rounded.none}"
padding: 0px 10px
height: 42px
editor-tab-active:
textColor: "{colors.ink}"
typography: "{typography.ui-sm}"
rounded: "{rounded.none}"
padding: 0px 10px
height: 42px
file-tab-active:
textColor: "{colors.ink}"
typography: "{typography.ui-sm}"
padding: 0px 14px 0px 26px
height: 42px
editor-gutter:
backgroundColor: "{colors.surface-bar}"
textColor: "{colors.ink-gutter}"
typography: "{typography.code}"
width: 50px
runes-badge:
backgroundColor: "{colors.primary}"
textColor: "{colors.on-primary}"
typography: "{typography.ui-sm}"
size: 18px
blog-lead-post:
textColor: "{colors.ink-display}"
typography: "{typography.display}"
padding: 0px 0px 40px
blog-post-entry:
textColor: "{colors.ink-display}"
typography: "{typography.heading-md}"
blog-dek:
textColor: "{colors.ink-muted}"
typography: "{typography.body}"
byline:
textColor: "{colors.ink}"
typography: "{typography.ui-sm}"
padding: 10px 0px 0px
month-list:
textColor: "{colors.ink}"
typography: "{typography.body-lg}"
---
## Overview
Svelte's site reads like a well-set technical book rather than a product launch. Headlines are a high-contrast didone serif (DM Serif Display) in sentence case ("web development for the rest of us"), running text is Georgia at 18px, interface chrome switches to Fira Sans and code to Fira Mono, so headline, prose and interface are always distinguishable.
Color is almost absent. A grey ramp from `{colors.ink-display}` to `{colors.surface-raised}` carries the layout, and one burnt-orange red, `{colors.primary}`, is spent only on links, "GET STARTED", author names and active underlines; `{colors.logo-orange}` lives in the logo alone. There are no filled brand buttons: actions are coloured text, and tool controls are white chips with a heavier bottom-right edge.
Density varies by page type: a generous home page with 100px bands, a three-column docs reader, a full-bleed split playground editor, and a two-column blog index. The rhythm is white band after white band; the only tonal change is the misty blue-grey wash behind the home hero.
**Key Characteristics:**
- DM Serif Display headlines at 54px in sentence case, never uppercase or bold-weighted sans.
- Georgia body copy at 18px/27px for prose, sidebar lists and month archives.
- Fira Sans for every interface label, often uppercase at 13px.
- One accent, `{colors.primary}`, used as text and 2px underline bars, never as a large fill.
- Raised chip controls with 1px top-left and 2px bottom-right borders.
- A single atmospheric gradient: the radial blue-grey mist behind the home hero.
- Square-ish geometry: 4px radius for chips and code, 56px only for the search field.
## Colors
### Brand & Accent
- **Svelte Red** (`{colors.primary}` — #d43008): links, "GET STARTED", active nav and tab underlines, author bylines, sidebar current page, "Edit this page on GitHub".
- **On Primary** (`{colors.on-primary}` — #ffffff): the lightning glyph inside the playground runes badge.
- **Logo Orange** (`{colors.logo-orange}` — #ff3e00): the S logo mark in the top bar, never used for text or controls.
### Surface
- **Canvas** (`{colors.canvas}` — #ffffff): page background, top bar, playground panes.
- **Surface Raised** (`{colors.surface-raised}` — #fdfdfd): docs sidebar and code-block body.
- **Surface Bar** (`{colors.surface-bar}` — #fafafa): code-block header bar and editor line-number gutter.
- **Fill Sunken** (`{colors.fill-sunken}` — #f2f2f2): search field, keyboard hint, and the light top-left edge of raised chips.
- **Hairline** (`{colors.hairline}` — #ebebeb): code-block border, playground title input border, bottom-right edge of raised chips.
### Text
- **Ink Display** (`{colors.ink-display}` — #141414): every serif headline.
- **Ink** (`{colors.ink}` — #262626): body prose, nav links, tab labels, definition badge fill.
- **Ink Black** (`{colors.ink-black}` — #000000): typed text in the search field.
- **Ink Muted** (`{colors.ink-muted}` — #666666): blog deks, code filenames, "PREVIOUS / NEXT" labels, photo captions.
- **Ink Gutter** (`{colors.ink-gutter}` — #6c6c6c): playground line numbers.
- **Ink Subtle** (`{colors.ink-subtle}` — #808080): docs breadcrumbs, "CLEAR" button, keyboard hint.
### Brand Gradient
- **Hero Mist Light** (`{colors.hero-mist-light}` — #ebf3f9): the bright centre of the radial wash behind the home hero, placed at 40% / 30%.
- **Hero Mist Deep** (`{colors.hero-mist-deep}` — #d6dee4): the outer ring of that wash; a linear fade to `{colors.canvas}` dissolves it before the definition section.
## Typography
### Font Family
DM Serif Display (weight 500) sets headlines; Georgia sets prose; Fira Sans sets the interface; Fira Mono sets code. All four are open or system fonts, so no substitutes are needed.
### Hierarchy
| Token | Size | Weight | Line height | Letter spacing | Use |
|---|---|---|---|---|---|
| `display` | 54px | 500 | 64.8px | 0 | Home section titles, docs H1, blog lead post |
| `heading-md` | 30px | 500 | 36px | 0 | Blog post titles |
| `heading-sm` | 24px | 500 | 28.8px | 0 | Docs sidebar groups, "On this page" |
| `body-lg` | 18px | 400 | 27px | 0 | Prose, month archive, footer note |
| `body` | 16px | 400 | 24px | 0 | Sidebar links, blog deks, pager link |
| `cta` | 20px | 400 | 30px | 0 | "GET STARTED" (uppercase) |
| `ui` | 16px | 400 | 24px | 0 | Nav links, captions, title input |
| `input` | 14px | 400 | 21px | 0 | Search field |
| `ui-sm` | 13px | 400 | 19.5px | 0 | Breadcrumbs, bylines, tabs, chips |
| `kbd` | 12px | 400 | 20.4px | 0 | "⌘K" hint |
| `code` | 14px | 400 | 23.8px | 0 | Code blocks, editor, gutter |
### Principles
Serif carries meaning, sans carries mechanics. Anything a reader reads — a headline, an explanation, a list of docs pages, the month archive — is serif; anything a reader operates — a tab, a toggle, a byline, a breadcrumb — is Fira Sans, usually uppercase at 13px. Weight never changes: every style is 400 or 500, so hierarchy comes only from size and family. Headlines stay in sentence case and sit tight at 1.2 line height.
## Layout
### Spacing System
The scale runs `{spacing.xxs}` 4px, `{spacing.xs}` 8px, `{spacing.sm}` 10px, `{spacing.md}` 20px, `{spacing.lg}` 32px, `{spacing.xl}` 48px, `{spacing.xxl}` 80px and `{spacing.section}` 100px. Home bands use 100px vertical padding; the top bar and page gutters use 48px.
### Grid & Container
The home page centres a 1104px column inside 48px gutters, with the hero split text-left, illustration-right. Docs use a 280px sidebar, a 624px text column and a 292px table-of-contents rail. The playground is two equal panes under a 42px tab row. The blog index is a 760px column with a narrow month rail to its right.
### Whitespace Philosophy
Sections are separated by empty height, not rules or tinted bands.
### Responsive Strategy
#### Breakpoints
| Name | Width | Behaviour |
|---|---|---|
| sm | 480px | Wider type and spacing begin |
| md | 768px | Top bar switches from mobile to desktop layout |
| lg | 832px | Docs sidebar and playground split become visible |
| xl | 1200px | "On this page" rail appears beside docs |
| xxl | 1400px | Wide home layout |
#### Touch Targets
Top-bar links are 60px tall; icon chips are 32px; the search field is 34px.
#### Collapsing Strategy
Below 832px the docs sidebar and playground panes stack, and the "On this page" rail is hidden below 1200px.
#### Image Behavior
The hero illustration and community photos scale with the column; the supporter avatars sit in a fixed-size scrolling grid.
## Elevation & Depth
| Level | Treatment | Use |
|---|---|---|
| 0 | Flat, no border | Bands, sidebar, blog list |
| 1 | 1px `{colors.hairline}` border | Code block, title input, "CLEAR" chip |
| 2 | 1px `{colors.fill-sunken}` top-left, 2px `{colors.hairline}` bottom-right | Raised chips and icon buttons |
| 3 | 5% black linear fade under the top bar | Top bar |
### Decorative Depth
The only decorative depth is the hero mist, a radial `{colors.hero-mist-light}` to `{colors.hero-mist-deep}` wash with a linear fade to white.
## Shapes
### Border Radius Scale
| Token | Value | Use |
|---|---|---|
| `none` | 0px | Tabs, CTA text, bands |
| `xs` | 2px | Text links in the playground |
| `sm` | 4px | Chips, code blocks, video frame, badges |
| `pill` | 56px | Search field |
| `full` | 9999px | Supporter avatars |
### Photography Geometry
Photos and the documentary video sit at `{rounded.sm}`; the community collage tilts overlapping rectangular photos around one wide group shot.
## Components
### Buttons
**`button-cta-text`** — "GET STARTED →" under the home headline, the only call to action on the page.
- No fill, `{colors.primary}` label in `{typography.cta}` uppercase with a trailing arrow, square corners `{rounded.none}`, padding 0, 30px tall. It is a text link styled as a button.
**`button-raised`** — "CONSOLE" at the bottom of the playground result pane.
- `{colors.canvas}` fill, `{colors.ink}` label in `{typography.ui-sm}` uppercase, `{rounded.sm}`, padding 0 8px, 32px tall, with the level 2 border: 1px `{colors.fill-sunken}` top-left, 2px `{colors.hairline}` bottom-right. A chevron icon leads.
**`button-raised-quiet`** — "CLEAR" at the bottom-right of the playground result pane.
- `{colors.canvas}` fill, `{colors.ink-subtle}` label in `{typography.ui-sm}` uppercase, `{rounded.sm}`, padding 3px 8px, 28px tall, with an even 1px `{colors.hairline}` border instead of the raised edge.
**`button-icon`** — the "A" font toggle and moon theme toggle at the right of the top bar.
- `{colors.canvas}` fill, `{colors.ink}` glyph, `{rounded.sm}`, padding 0, 32px square, with the level 2 raised border. Two sit side by side after the Discord, Bluesky and GitHub icons.
**`button-icon-sm`** — the copy button at the right of each docs code-block bar.
- `{colors.surface-bar}` fill matching the bar, `{colors.ink}` clipboard glyph, `{rounded.sm}`, padding 0, 26px square, with the same raised border as `button-icon`.
**`button-menu-text`** — "log in ⌄" at the right of the playground toolbar.
- No fill, `{colors.ink}` label in `{typography.ui}`, padding 0 0 0 4px, with a chevron after the label. It sits after two raised icon chips for fork and save.
### Cards & Containers
**`hero-band`** — the home hero: "web development for the rest of us" over a conveyor-belt illustration.
- `{colors.hero-mist-light}` radial wash fading to white, `{colors.ink-display}` headline in `{typography.display}`, padding 100px 0 0. Text left, illustration bleeding right.
**`definition-badge`** — "ADJECTIVE" in the definition line under the hero.
- `{colors.ink}` fill, `{colors.surface-raised}` text in `{typography.ui-sm}` uppercase, `{rounded.sm}`, padding 3.25px 6.5px, 22px tall. A red pronunciation glyph precedes it; "attractively thin, graceful and stylish" follows.
**`logo-strip`** — "used by companies you've heard of".
- `{colors.canvas}` band with the `{typography.display}` headline in `{colors.ink-display}` centred, flanked by grey wordmarks (Yelp, Square, Apple, Spotify, The New York Times) fading toward the edges.
**`video-frame`** — the Svelte Origins documentary player.
- Full-bleed footage clipped to `{rounded.sm}`, 1104px wide, with caption and mute controls top-right and a thin `{colors.primary}` progress bar at the bottom. "Watch the full Svelte Origins documentary" follows as a `{colors.primary}` underlined link.
**`community-collage`** — "join our friendly community".
- `{colors.canvas}` band, padding 0 48px, overlapping event photos around a wide group shot, with "Photos by Marcel Cutts" below in `{typography.ui}` `{colors.ink-muted}`.
**`supporter-grid`** — "Backed by Vercel and countless donors".
- `{colors.canvas}` band; a `{typography.body-lg}` `{colors.ink}` paragraph above three rows of greyscale avatars at `{rounded.full}`, fading out at both ends.
**`footer-note`** — the closing line "© 2026 Svelte contributors".
- `{colors.canvas}` band, padding 100px 0, centred `{typography.body-lg}` in `{colors.ink}` with "free and open source software" as a `text-link`.
**`code-block`** — every docs example, such as App.svelte on Overview.
- `{colors.surface-raised}` fill, `{colors.ink}` code in `{typography.code}`, `{rounded.sm}`, padding 7px 10px, a 1px `{colors.hairline}` border, and a `code-block-bar` on top.
**`code-block-bar`** — the header strip of each code block.
- `{colors.surface-bar}` fill, `{colors.ink-muted}` filename in `{typography.ui-sm}`, padding 0 5px 0 10px, 36px tall; a `ts-toggle` and `button-icon-sm` at its right end.
**`runes-badge`** — the lightning square before "RUNES" in the playground toolbar.
- `{colors.primary}` fill, `{colors.on-primary}` glyph, 18px square, labelled in `{typography.ui-sm}` uppercase; a wrench menu follows.
**`editor-gutter`** — the line-number column of the playground editor.
- `{colors.surface-bar}` fill, `{colors.ink-gutter}` numbers in `{typography.code}`, 50px wide, with fold arrows on lines that open blocks.
**`blog-lead-post`** — "What's new in Svelte" at the top of the blog index.
- No fill, `{colors.ink-display}` title in `{typography.display}`, a `blog-dek` and `byline` below, padding 0 0 40px before "FEATURED POSTS".
**`blog-post-entry`** — each featured post ("Celebrating ten years of Svelte").
- No fill, `{colors.ink-display}` title in `{typography.heading-md}`, then a `blog-dek` and a `byline`, stacked as a single column beside the month archive.
**`blog-dek`** — the one-line summary under each post title ("We gathered in Ljubljana").
- `{colors.ink-muted}` in `{typography.body}`, no fill, directly under the title with no gap.
**`byline`** — "DANI SANDOVAL DEC 1 2026" under posts.
- `{colors.ink}` date in `{typography.ui-sm}` uppercase, padding 10px 0 0; the author name before it is `{colors.primary}` and underlined.
### Inputs & Forms
**`search-input`** — "search" in the top bar.
- `{colors.fill-sunken}` fill, `{colors.ink-black}` text in `{typography.input}`, `{rounded.pill}`, padding 7px 7px 5.6px 28px, 34px tall, 190px wide, no border, a magnifier icon at left and a `kbd-hint` at right.
**`kbd-hint`** — "⌘K" inside the search field.
- `{colors.fill-sunken}` fill, `{colors.ink-subtle}` text in `{typography.kbd}` uppercase, `{rounded.sm}`, no padding, sitting at the right edge of `search-input`.
**`title-input`** — "Hello world", the playground project name.
- `{colors.canvas}` fill, `{colors.ink}` text in `{typography.ui}`, `{rounded.sm}`, padding 2px 6px, 32px tall, 1px `{colors.hairline}` border, spanning the toolbar after a hamburger chip.
**`ts-toggle`** — "JS TS" switch in docs code-block bars.
- `{colors.surface-bar}` fill, `{colors.ink}` labels in `{typography.ui-sm}` with the active one underlined, `{rounded.sm}`, padding 0 6px, 26px tall, raised border.
### Navigation
**`top-nav`** — the 60px bar on every page: logo, "Docs", "Playground", "Tutorial", "Packages", "Blog".
- `{colors.canvas}` fill, `{colors.ink}` links in `{typography.ui}`, padding 0 48px, 60px tall, with a 5% black fade below. Search, social icons and two `button-icon` chips sit right.
**`nav-link`** — each top-bar label; "Docs" and "Playground" carry a chevron.
- No fill, `{colors.ink}` text in `{typography.ui}`, padding 1px 8px 0, 60px tall, so the hit area spans the full bar height.
**`nav-link-active`** — the current section, such as "Blog" on the blog.
- `{colors.primary}` text in `{typography.ui}`, padding 1px 8px 0, 60px tall, with a 2px inset `{colors.primary}` bar along the bottom edge.
**`docs-sidebar`** — the left column on docs pages ("Introduction", "Runes", "Template syntax").
- `{colors.surface-raised}` fill, group titles in `{typography.heading-sm}` `{colors.ink}`, padding 80px 0 32px 32px, 280px wide, a soft shade on its right edge.
**`sidebar-link`** — "Getting started", "$state", "{#if ...}".
- `{colors.ink}` in `{typography.body}`, padding 0 5px 0 0, 24px tall, no underline, stacked tight under each group title.
**`sidebar-link-active`** — the current page, "Overview".
- `{colors.primary}` in `{typography.body}` with an underline, padding 0 5px 0 0, 24px tall, and a small notch pointing into the text column.
**`breadcrumb`** — "SVELTE • INTRODUCTION" above the docs H1.
- `{colors.ink-subtle}` in `{typography.ui-sm}` uppercase, separated by bullets, with no fill or border.
**`toc-panel`** — "On this page" on the right of docs.
- `{colors.ink}` heading in `{typography.heading-sm}`, 292px wide, then section links in Georgia, underlined `{colors.ink}`.
**`docs-meta-link`** — "Edit this page on GitHub" and "llms.txt" under docs content.
- `{colors.primary}` in `{typography.ui-sm}`, 20px tall, each with a small leading icon, no underline.
**`docs-pager`** — "PREVIOUS" / "NEXT Getting started" at the foot of docs.
- `{colors.ink-muted}` labels in `{typography.ui}` uppercase, padding 10px 0 0 under a 1px `{colors.hairline}` rule; the target title is `{colors.primary}` Georgia.
**`editor-tab`** — "JS output", "CSS output", "AST output" over the playground result.
- No fill, `{colors.ink}` in `{typography.ui-sm}`, square corners `{rounded.none}`, padding 0 10px, 42px tall, with a transparent 2px bottom border.
**`editor-tab-active`** — "Result" when selected.
- `{colors.ink}` in `{typography.ui-sm}`, `{rounded.none}`, padding 0 10px, 42px tall, with a 2px `{colors.primary}` bottom border.
**`file-tab-active`** — "App.svelte" above the playground editor.
- `{colors.ink}` filename in `{typography.ui-sm}`, padding 0 14px 0 26px, 42px tall, a file icon and drag handle at left and a 2px `{colors.primary}` bottom border.
**`text-link`** — inline links like "Svelte Society" and "our Discord server".
- `{colors.primary}` in `{typography.body-lg}`, underlined 1px, inheriting the surrounding prose size.
**`text-link-ink`** — inline docs links like "interactive tutorial" and "playground".
- `{colors.ink}` in `{typography.body-lg}`, underlined; inside docs prose the links stay ink, not red.
**`month-list`** — "MONTHLY UPDATES" on the blog index.
- `{colors.ink}` month names in `{typography.body-lg}`, one per line, no bullets, under a `{typography.ui-sm}` uppercase `{colors.ink-muted}` label.
## Do's and Don'ts
### Do
- Set headlines in `{typography.display}` DM Serif Display, sentence case, in `{colors.ink-display}`.
- Keep prose in Georgia `{typography.body-lg}` and interface labels in Fira Sans `{typography.ui-sm}`.
- Spend `{colors.primary}` only on text, underlines and 2px active bars, as in `nav-link-active` and `editor-tab-active`.
- Build tool controls as `button-raised` chips with the 1px/2px edge.
- Put code in a `code-block` with a `code-block-bar` filename strip.
- Separate home bands with `{spacing.section}` of empty space instead of rules or tints.
- Reserve `{colors.logo-orange}` for the logo mark.
### Don't
- Don't fill a large button with `{colors.primary}`; the brand has no filled CTA.
- Don't set body copy in Fira Sans or headlines in Georgia.
- Don't add a second accent colour; syntax colours in code stay inside the code.
- Don't round chips beyond `{rounded.sm}`; only `search-input` uses `{rounded.pill}`.
- Don't add drop shadows to cards; depth comes from borders and the top-bar fade.
- Don't tint sections; the `hero-band` mist is the only coloured background.
- Don't uppercase headlines; uppercase is for `byline`, `breadcrumb` and chip labels.
Usage
1. Connect getdesign.md to your AI tool (once)
claude mcp add --scope user --transport http getdesign https://getdesign.md/api/mcpRun it in your terminal, then start a new session. In the Claude app, add a custom connector with this address:
https://getdesign.md/api/mcpThe first time you ask, your AI opens getdesign.md in your browser to sign in. All tools and help
2. Then ask it
Apply the Svelte design from getdesign.md to this project.Run this command from your project root, then ask your AI assistant to use DESIGN.md for UI work.
The Svelte design reference uses editorial near-white paper, DM Serif Display headlines, manual-like reading pages. It works best for framework documentation, code playgrounds, and technical blog indexes.
Installs
—
Bookmarked
—
Independent analysis of publicly observable patterns, curated as a starting point for inspiration. Not affiliated with or endorsed by Svelte; Svelte and its logo are trademarks of their respective owner.
Preview
Svelte DESIGN.md FAQ
How do I use the Svelte DESIGN.md with Claude Code, Cursor, or Codex?
Run npx getdesign@latest add svelte from your project root, then ask your AI assistant to use DESIGN.md for UI work.
What does the Svelte DESIGN.md cover?
It covers overview, colors, typography, layout, elevation & depth, shapes, components, and do's and don'ts.
Is this an official Svelte file?
No. It is an independent analysis of publicly observable patterns, curated as a starting point for inspiration. It is not affiliated with or endorsed by Svelte.
Similar DESIGN.md files
Tailwind CSS
Utility-first CSS framework. White drafting sheet with faint rules, huge tight Inter headlines.
Vite
Frontend build tool. Dark hairline-ruled cells, grainy electric-violet texture.
Netlify
Web deployment platform. Large rounded white stages, tight Systemia headlines, electric-cyan pill.
Cursor
AI-first code editor. Warm cream editorial canvas, single orange accent.