Skip to content
Musterlab
LibraryPricingGuideFavourites
Connect your AI
All stylesStyle reference

Svelte

svelte.dev
Website preview
The character

Editorial broadsheet on white marble — serif voice, single ember accent

lightdevtoolsEB Garamond
Colors
8
Typefaces
3
Components
11
Visit website

Copy a design guide, CSS variables or tokens into your next project.

The design language

Svelte's site reads like a literary broadsheet translated into a framework landing page. Serif typography — EB Garamond for running text, DM Serif Display for hero headlines — carries the voice while a tight sans-serif (Fira Sans) handles the chrome: nav, buttons, tags, search. The canvas is pure white, surfaces are rare, and elevation is almost nonexistent; hierarchy comes from type size and weight rather than cards or shadows. A single vivid orange (#d43008) punctuates the monochrome page: it owns the logo, the GET STARTED arrow, the /svelte/ wordmark, and the documentary link. CTAs are arrow-suffixed text links, never boxed buttons. The site breathes — generous vertical rhythm, centered serif headlines, grayscale sponsor logos, and very little ornamentation between sections.

Inside this designColorsTypographySpacing & shapeGuidelinesComponentsSurfacesCompositionNotes

Color palette

brand

Svelte Ember

#d43008

Orange supporting accent for decorative details and low-frequency emphasis. Do not promote it to the primary CTA color

neutral

Ink

#262626

Primary text, nav items, body copy, button labels — soft black that avoids the harshness of #000 while preserving 15:1 contrast on white

Carbon

#141414

Headlines and display copy — slightly heavier than Ink to give the serif wordmarks visual weight against the white canvas

Paper

#ffffff

Page canvas, card surfaces, nav background — the dominant background everywhere

Fog

#f2f2f2

Subtle surface elevation, button hover wash, search/input field background

Slate

#666666

Muted secondary text, helper labels, breadcrumb text

Ash

#808080

Deemphasized text, disabled labels, tertiary metadata

Obsidian

#000000

Input field borders, form focus states, text input text

Typography

Type scale

Major Second (1.125) · 16px base
display54px · 500 · 1.2

The quick brown fox jumps

body22px · 400 · 1.5

The quick brown fox jumps

subheading20px · 400 · 1.2

The quick brown fox jumps

text-1616px · 400 · 1.5

The quick brown fox jumps

text-1414px · 400 · 1.5

The quick brown fox jumps

text-1313px · 400 · 1.5

The quick brown fox jumps

text-1212px · 400 · 1.7

The quick brown fox jumps

caption10px · 400 · 1.5

The quick brown fox jumps

Font samples use locally available fonts and fallbacks.

Aa
Primary typeface

EB Garamond

Weights
400
Sizes
10px, 22px
Line height
1.50
Fallback
Source Serif Pro, Crimson Pro, Lora

Body text and section copy — Garamond gives the framework a literary, editorial voice that no sans-serif system font can replicate; 22px at line-height 1.5 is the site's reading rhythm, uncharacteristically large and serif for a devtool site

Aa
Additional typeface

Fira Sans

Weights
400
Sizes
10px, 12px, 13px, 14px, 16px, 20px
Line height
1.00–1.70
Fallback
Inter, system-ui, -apple-system

All UI chrome — nav links, search input, button labels, the ADJECTIVE tag, section eyebrows. Fira Sans is the workspace font; it keeps interactive elements quiet so the serif voice can lead

Aa
Additional typeface

DM Serif Display

Weights
500
Sizes
54px
Line height
1.20
Fallback
Playfair Display, Cormorant Garamond Bold

Hero and section display headlines — used sparingly (only 4 occurrences on the page) as a typographic exclamation point; the heavy serif slab at 54px contrasts with the lighter Garamond body to create editorial tension

Spacing & shape

Spacing

Density
compact
Max width
1200px
Section gap
40px
Card padding
48px
Element gap
10px

Border radius

nav56px
tags4px
inputs4px
buttons4px

Spacing scale

1px
3px
5px
7px
8px
10px
17px
40px
48px
100px
115px

Guidelines

Do

  • Use EB Garamond 22px / line-height 1.5 for all paragraph copy — the serif body is the site's voice
  • Use Svelte Ember #d43008 exclusively for the brand wordmark, in-text links, and arrow CTAs — never as a fill color for buttons or cards
  • Set hero and section headlines in DM Serif Display weight 500 at 54px, centered, in Carbon #141414
  • Use Fira Sans 14px for all UI chrome: nav, buttons, tags, inputs, helper text
  • Build CTAs as uppercase text links with a trailing arrow, not boxed buttons — 'GET STARTED →' not 'Get Started' on a colored fill
  • Keep the canvas pure white #ffffff and let Fog #f2f2f2 handle the only surface variation (inputs, hover washes)
  • Maintain 40px between sections and 48px horizontal padding inside content columns

Don’t

  • Don't use DM Serif Display for body text — reserve it for display headlines at 54px only
  • Don't add drop shadows, card elevations, or gradient backgrounds — the design is flat and relies on whitespace for separation
  • Don't use boxed primary buttons with fills — actions are text links with arrows
  • Don't introduce additional accent colors — Svelte Ember is the only chromatic token; everything else is grayscale
  • Don't use border-radius above 4px on content elements; 56px is reserved for the search pill only
  • Don't left-align section display headlines like 'used by companies you've heard of' — center them
  • Don't use sans-serif fonts for headlines — the serif/serif contrast between Garamond body and DM Serif Display is signature

Components

01

Text Link CTA

Primary action

UPPERCASE Svelte Ember (#d43008) text, 14px Fira Sans weight 400, letter-spacing slightly wide, followed by a right arrow (→). No background, no border, no padding. The arrow animates on hover by nudging right. Examples: 'GET STARTED', 'Watch the full Svelte Origins documentary'.

02

Ghost Navigation Link

Top nav item

Fira Sans 14px, Ink (#262626) color, no underline by default, underline appears on hover. Items: Docs (with dropdown caret), Tutorial, Packages, Playground, Blog. Right-aligned: search field, Discord, GitHub, Open collective, Apple icon.

03

Search Field

Site search

Pill-shaped (56px radius), Fog (#f2f2f2) background, Ink (#141414) placeholder text reading 'search', 8px horizontal padding, ~32px height. Cmd+K shortcut hint shown inside.

04

Adjective Tag

Highlight label

Small pill adjacent to the /svelte/ wordmark: dark Ink (#262626) background, white text, Fira Sans 10-12px uppercase, 4px radius, 5px vertical / 8px horizontal padding. Reads 'ADJECTIVE' as a templated fill-in.

05

Section Heading

Display headline

DM Serif Display weight 500 at 54px, Carbon (#141414) color, centered alignment. Line-height 1.2. Used for hero ('web development for the rest of us') and sponsor section ('used by companies you've heard of').

06

Body Paragraph

Editorial copy

EB Garamond 22px weight 400, Ink (#262626), line-height 1.5. Justified or left-aligned depending on column. Generous measure (~600-680px wide). The Svelte Ember color highlights inline terms like '/svelte/'.

07

Code Terminal Card

Product screenshot frame

Dark Ink (#262626) or near-black background, monospace syntax highlighting inside, subtle 4px radius, no shadow. Contains REPL or framework comparison output. Sits beside editorial text in a two-column layout.

08

Logo Grid

Social proof

Single horizontal row of grayscale sponsor logos (overflow, yelp, Square, Apple, Spotify, NYT, IKEA) at uniform size, spaced ~115px apart. All logos desaturated to ~50% gray. Centered in section with headline above.

09

Hero Illustration

Brand visual

3D isometric render of a factory production line in Svelte Ember (#d43008) and Ink, with the Svelte 'S' logo as a building. Sits in the right half of the hero on a very light blue-gray gradient canvas. Full-color, dimensional, photoreal rendering style.

10

Two-Column Content Section

Feature explanation

Left column: /svelte/ wordmark (DM Serif Display, Ember orange) + Adjective Tag + 2-3 paragraphs of EB Garamond body. Right column: stacked code terminal cards and chart screenshots. 48px horizontal padding within columns.

11

Footer Link

Secondary navigation

Fira Sans 14px, Ink (#262626), no decoration, hover underline. Left-aligned in footer band.

Surfaces & elevation

Level 1

Paper

#ffffff

Primary page canvas and default surface

Level 2

Fog

#f2f2f2

Input fields, button hover states, subtle dividers

Level 3

Slate

#666666

Inverted surface for dark code blocks or footer panels

Level 4

Ink

#262626

Dark code terminal and product screenshot frames

The site avoids shadows entirely. Visual hierarchy is achieved through typographic weight (Garamond 22px body vs. DM Serif 54px display) and whitespace (40px section gaps), not elevation. The only depth comes from product screenshots and the 3D hero illustration, which are pre-rendered assets — not UI elevation.

Layout & imagery

Layout

Centered single-column with a max-width around 1200px. The hero is a two-column split: left half holds the headline and GET STARTED arrow, right half holds the 3D illustration. Below, sections alternate between centered display-headline + content and two-column text+product-screenshot layouts. The sponsor logos section is a single horizontal row of grayscale marks with the display headline centered above. Navigation is a single fixed-height top bar with logo + 5 nav items left-aligned and search + social icons right-aligned. Vertical rhythm is generous: ~100px top/bottom padding on major sections, 40px between stacked elements. The page reads top-to-bottom in one uninterrupted scroll with no sidebar, no modals visible.

Imagery

Imagery is sparse and deliberate. The hero uses a single large 3D isometric illustration of a production-line factory in Svelte Ember orange and dark gray, filling the right half of the viewport on a near-white blue-gray canvas. Product screenshots (REPL, framework comparison charts) appear as framed code-terminal cards with dark backgrounds. The sponsor section uses desaturated grayscale logos in a single row. No lifestyle photography, no stock imagery — the visual language is illustration + product UI, nothing else. Icon style throughout is minimal: outlined 16-20px line icons in nav (search, Discord, GitHub, etc.), no filled icon variants.

Design notes

Agent Guide

## Quick Color Reference - text: #262626 (Ink) / #141414 (Carbon for headlines) - background: #ffffff (Paper) - border: #000000 (Obsidian, for inputs) - accent / link: #d43008 (Svelte Ember) - muted text: #666666 (Slate) - primary action: no distinct CTA color ## Example Component Prompts 1. **Hero Section**: White (#ffffff) background. Left column: headline 'web development for the rest of us' in DM Serif Display weight 500, 54px, #141414, line-height 1.2. Below it, a text link 'GET STARTED →' in Fira Sans 14px uppercase, #d43008. Right column: 3D isometric Svelte factory illustration filling the column. 48px horizontal padding, 100px vertical padding. 2. **Sponsor Logos Row**: Centered DM Serif Display 54px headline 'used by companies you've heard of' in #141414. Below, a single horizontal row of 7 sponsor logos (overflow, yelp, Square, Apple, Spotify, NYT, IKEA), all desaturated to grayscale, uniformly sized at ~60px height, spaced 115px apart, centered. 3. **Two-Column Feature Section**: Left column (60% width): /svelte/ wordmark in DM Serif Display 54px #d43008, followed by a small dark tag 'ADJECTIVE' (4px radius, #262626 background, white text, Fira Sans 10px), then 2-3 paragraphs of EB Garamond 22px #262626, line-height 1.5. Right column (40% width): a dark code terminal card (#262626 background, 4px radius) containing a screenshot of the Svelte REPL or framework comparison. 4. **Top Navigation**: Single row, white background, 56px height. Left: Svelte Ember logo + 'SVELTE' wordmark, then Fira Sans 14px links (Docs▾, Tutorial, Packages, Playground, Blog) in #262626. Right: pill-shaped search field (56px radius, #f2f2f2 background, 8px padding) followed by icon links (Discord, GitHub, Open collective, Apple). 5. **Footer Link Group**: Fira Sans 14px #262626 links, left-aligned, 10px gap between items, separated from content above by a 1px #f2f2f2 hairline divider. No background fill, no border.

Similar brands

Evan You's personal site / Vite

Same editorial serif-headline + monochrome-canvas approach with a single accent color, very restrained UI

Astro

Both are devtool sites that reject the typical dark dashboard aesthetic, using generous whitespace and serif/sans typographic contrast

Stripe Press

Same literary-broadsheet language — serif display headlines, restrained color, white canvas, type-driven hierarchy

Observable

Both use centered serif display headlines over content, with product screenshots as the primary visual element

Take this style into your next project.

Use the design exports or connect Musterlab to your AI.

Connect your AI

Keep exploring

Browse the library
Vercel

Vercel

Typeset terminal on white paper

lightdevtoolsGeist Sans
Flatfile

Flatfile

Quiet data journal on warm parchment

lightdevtoolsFlatfileDiatypeVariable
Acolorbright

Acolorbright

White gallery walls around black-ink editorial type

lightagencyRiformaLLWeb
Agencja brandingowa
A

Agencja brandingowa

Editorial white gallery with black ink typography

lightagency247 grotesk
Mintlify
M

Mintlify

Cloud garden over a glass desk. A hand-illustrated sky and a documentation product share the same frame — the only place color and concept collide before the page settles into monastic white.

lightdevtoolsInter
PostHog

PostHog

Warm paper desktop pinned to cork — a tactile beige workspace where every interface element is a printed artifact, not a floating panel.

lightdevtoolsOpen Runde
Musterlab. A closer look at good design.About the library