GrammarlyBrand
DESIGN.md · measured October 21, 2026
Svelte design system
Dark interface measured from svelte.dev: DM Serif Display type with Fira Sans, vivid red accents, tonal surfaces and pill-shaped controls.
- Background
- #1C1E22
- Primary
- #F96743
- Type
- DM Serif Display
- Corners
- Pill
From svelte.dev ↗ · 137 elements at 1440×900 and 390×844 · Independent analysis, not affiliated with Svelte
Svelte colors
12 roles measured on the page, grouped by where each color is used.
Surfaces
#1C1E22background · --sk-bg-1Page background · 2×#23272Fsurface-container-low · --sk-bg-3Raised areas one step from the page · 1×#2E333Esurface-container · --sk-bg-4Cards and panels · 1×#A1A4AAinverse-surface · --sk-fg-3High-contrast fills · 5×Text
#CACBCEon-surface · --sk-fg-2Primary text and headings · 12×#FFFFFFon-surface-strongHeadings and emphasis · 5×#E5E5E6on-surface-variant · --sk-fg-1Secondary text · 4×#000000on-primaryText and icons on primaryAccents
#F96743primary · --sk-fg-accentBrand accent (CSS variable) · 85×#B32D00secondaryBrand color on large areas · 32×Borders
#303541outline · --sk-borderBorders and dividers · 2×#23272Foutline-variant · --sk-bg-3Secondary dividers · 2×Svelte fonts
3 families.
mobile 30px
Contrast
Text on #1C1E22
10.3:116.7:113.3:1Spacing
No strict grid · 46% are multiples of 4px
xs3.25pxsm8pxmd10pxlg18pxxl48pxgutter10pxsection100pxShapes
Corner radii, most used first.
Depth
Flat: no shadows measured.
Components
Rebuilt from the measured CSS.
Motion
Interface transitions
0.2sease
Do’s and don’ts
Rules written from the measurements, so a coding agent stays on style.
- Use #1C1E22 for the page and lift surfaces in small steps: #23272F, #2E333E.
- Keep text in 3 levels: #CACBCE, #FFFFFF, #E5E5E6.
- Use #F96743 as the brand accent: header, logo and key highlights.
- Reuse the measured spacing steps (8px, 10px, 18px).
- Make buttons and chips fully rounded (9999px); most other elements use 4px corners.
- Add drop shadows for depth; use tonal surfaces.
- Introduce new font families beyond DM Serif Display, Fira Sans and Georgia.
- Use #F96743 for large backgrounds or body text.
- Make interface transitions slower than 0.2s.
---
version: alpha
name: Svelte
description: "Dark interface measured from svelte.dev: DM Serif Display type with Fira Sans, vivid red accents, tonal surfaces and pill-shaped controls."
colors:
background: "#1C1E22"
surface: "#1C1E22"
on-surface: "#CACBCE"
on-background: "#CACBCE"
on-surface-strong: "#FFFFFF"
on-surface-variant: "#E5E5E6"
surface-container-low: "#23272F"
surface-container: "#2E333E"
outline: "#303541"
outline-variant: "#23272F"
primary: "#F96743"
on-primary: "#000000"
inverse-surface: "#A1A4AA"
secondary: "#B32D00"
typography:
headline-display:
fontFamily: DM Serif Display
fontSize: 54px
fontWeight: 500
lineHeight: 1.2
body-md:
fontFamily: Fira Sans
fontSize: 16px
fontWeight: 400
lineHeight: 1.5
body-lg:
fontFamily: Georgia
fontSize: 18px
fontWeight: 400
lineHeight: 1.5
body-sm:
fontFamily: Georgia
fontSize: 10px
fontWeight: 400
lineHeight: 1.5
label-md:
fontFamily: Fira Sans
fontSize: 10px
fontWeight: 400
headline-display-mobile:
fontFamily: DM Serif Display
fontSize: 30px
fontWeight: 500
lineHeight: 1.2
rounded:
md: 4px
full: 9999px
spacing:
xs: 3.25px
sm: 8px
md: 10px
lg: 18px
xl: 48px
gutter: 10px
section: 100px
components:
input-field:
backgroundColor: "{colors.surface-container}"
textColor: "{colors.on-surface-strong}"
rounded: 56px
padding: 7px 7px 5.6px 28px
link:
textColor: "{colors.primary}"
---
# Svelte Design System
## Overview
Svelte describes itself as: “Web development for the rest of us” The interface is dark, built on **Cool Charcoal (#1C1E22)** with **Silver (#CACBCE)** text, and **Vivid Red (#F96743)** as the main accent.
Type is set in **DM Serif Display** and **Fira Sans**. Headlines run large; body text is 16px. The surface language is flat. Controls are pill-shaped.
Measured from [svelte.dev](https://svelte.dev/) on October 21, 2026 at 1440×900 and 390×844 from 137 rendered elements. Values are computed styles from the live page, not the original source files.
## Colors
The palette has 12 roles.
- **Cool Charcoal (#1C1E22):** Page background, seen 2 times. Token `background`, CSS `--sk-bg-1`.
- **Silver (#CACBCE):** Primary text and headings, seen 12 times. Token `on-surface`, CSS `--sk-fg-2`.
- **White (#FFFFFF):** Headings and emphasis, seen 5 times. Token `on-surface-strong`.
- **Mist (#E5E5E6):** Secondary text, seen 4 times. Token `on-surface-variant`, CSS `--sk-fg-1`.
- **Cool Graphite (#23272F):** Raised areas one step from the page, seen 1 time. Token `surface-container-low`, CSS `--sk-bg-3`.
- **Cool Graphite (#2E333E):** Cards and panels, seen 1 time. Token `surface-container`, CSS `--sk-bg-4`.
- **Cool Graphite (#303541):** Borders and dividers, seen 2 times. Token `outline`, CSS `--sk-border`.
- **Cool Graphite (#23272F):** Secondary dividers, seen 2 times. Token `outline-variant`, CSS `--sk-bg-3`.
- **Vivid Red (#F96743):** Brand accent (CSS variable), seen 85 times. Token `primary`, CSS `--sk-fg-accent`.
- **Near Black (#000000):** Text and icons on primary. Token `on-primary`.
- **Cool Gray (#A1A4AA):** High-contrast fills, seen 5 times. Token `inverse-surface`, CSS `--sk-fg-3`.
- **Dark Orange (#B32D00):** Brand color on large areas, seen 32 times. Token `secondary`.
## Typography
**DM Serif Display**, **Fira Sans** and **Georgia** share the interface. Fallback stack: `DM Serif Display, Georgia, serif`.
- **headline-display:** DM Serif Display 54px at weight 500, line height 1.2 (30px on mobile). Page title (h1).
- **body-md:** Fira Sans 16px at weight 400, line height 1.5. Body text.
- **body-lg:** Georgia 18px at weight 400, line height 1.5. Lead paragraphs.
- **body-sm:** Georgia 10px at weight 400, line height 1.5. Secondary and small text.
- **label-md:** Fira Sans 10px at weight 400. Buttons, navigation and labels.
## Layout
Spacing does not follow a strict grid: 46% of measured values are multiples of 4px, so match the measured steps rather than rounding to a grid.
- **Scale:** xs 3.25px, sm 8px, md 10px, lg 18px, xl 48px.
- **Sections:** 100px vertical padding between major sections.
- **Gaps:** 10px is the most common gap in flex and grid layouts.
## Elevation & Depth
The design is flat: no shadows were measured. Hierarchy comes from tonal surface steps (#23272F → #2E333E) and #303541 borders.
## Shapes
Interactive controls are pill-shaped. Measured radii, most used first:
- **full (9999px):** 320 elements.
- **md (4px):** 24 elements.
## Components
Measured from the rendered page. Token values reference the tokens above.
- **input-field (“Search”):** #2E333E fill, #FFFFFF text, 14px/400, 56px radius, padding 7px 7px 5.6px 28px.
- **link:** transparent fill, #F96743 text, padding 0px.
## Do's and Don'ts
- Do use #1C1E22 for the page and lift surfaces in small steps: #23272F, #2E333E.
- Do keep text in 3 levels: #CACBCE, #FFFFFF, #E5E5E6.
- Do use #F96743 as the brand accent: header, logo and key highlights.
- Do reuse the measured spacing steps (8px, 10px, 18px).
- Do make buttons and chips fully rounded (9999px); most other elements use 4px corners.
- Don't add drop shadows for depth; use tonal surfaces.
- Don't introduce new font families beyond DM Serif Display, Fira Sans and Georgia.
- Don't use #F96743 for large backgrounds or body text.
- Don't make interface transitions slower than 0.2s.
## Motion
Interface transitions are quick: 0.2s.
- **Easing:** `ease`.
Generated by [Sitepeel](https://sitepeel.dev/design-md/svelte.dev/), the free DESIGN.md generator.
What you can build with it
Landing pages, pricing tables, dashboards: your AI coding agent builds them in this style, with these colors, fonts, spacing and buttons instead of its defaults.
Download DESIGN.md, put it in your project’s root folder, then ask your agent for a page.
Build a landing page for my product. Follow for every color, font, spacing value, corner and button.
Need more than one page?
Design MD in the Sitepeel tools for Chrome measures pages behind a login, combines several pages into one file and works on any site you open.
More designs
See all →FAQ
Questions
What can I build with the Svelte DESIGN.md?
Any page or component in this style: a landing page, pricing table, dashboard or sign-up form. Your AI coding agent uses the measured colors, DM Serif Display type, spacing, corners and buttons instead of its own defaults.
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 Svelte’s official design system?
No. Sitepeel measured it from svelte.dev’s public page on October 21, 2026. It is an independent analysis, not made or approved by Svelte.
Can I use Svelte’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 Svelte’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.




