# Design Extractor > Design Extractor turns a public website URL into a DESIGN.md: a Markdown design system with the site's colors, typography, spacing and components that AI coding agents such as Claude Code, Cursor and Codex read as a style reference. This file holds the full text of the public docs, the use-case guides and the free tool pages, the pricing facts and the gallery list, generated from the live pages. The short index is https://www.design-extractor.com/llms.txt. Agents can connect to the remote MCP server at https://www.design-extractor.com/api/mcp (Server Card at https://www.design-extractor.com/api/mcp/server-card). --- # Docs Source: https://www.design-extractor.com/docs/how-it-works Docs ## How Design Extractor works Paste a URL, get a structured design spec. Colors, typography, spacing, and components in a DESIGN.md you can drop into a repo. ### What is a DESIGN.md? A `DESIGN.md` is a plain-text design system document that both humans and AI agents can read. Think of it as the design counterpart to `AGENTS.md`. Where `AGENTS.md` tells agents how to build the project, `DESIGN.md` tells them how it should look and feel. Under the hood, every `DESIGN.md` has two layers: YAML front matter with machine-readable design tokens, and a markdown body that explains the design rationale. Tokens give agents precise values. Prose tells them why those values exist. [Read the full DESIGN.md specification ->](https://www.design-extractor.com/docs/design-md) ### Canonical sections - Overview - Colors - Typography - Layout - Elevation & Depth - Shapes - Components - Do's and Don'ts ### How it works 1. Input Paste a public URL (e.g., `design-extractor.com`). 2. Extraction The system crawls the page, analyzes its visual properties: colors, typography, spacing, component patterns, and overall design language. 3. Output One DESIGN.md containing: - Overview and brand style guidance - Color palettes with named tokens - Typography levels and font properties - Layout, spacing, and shape tokens - Component guidance and token references - Do's and don'ts that act as design guardrails ### Output Each extraction produces one DESIGN.md. #### Markdown - DESIGN.md. The canonical DESIGN.md format was introduced by Google Stitch. Drop it into any repo for AI agents to consume. ### Chrome extension Extract the page in your current tab without coming back here. The extension reuses your site session and spends the same credits. [Read how the extension works ->](https://www.design-extractor.com/docs/extension) ### The key insight AI agents produce better design output when given both precise tokens and human-readable rationale. The YAML front matter gives exact values. The markdown body explains how those values should be used in practice. Ready to try it? Get a DESIGN.md from any public URL. An extraction takes at least a minute. [Extract a site](https://www.design-extractor.com/#extract) --- Source: https://www.design-extractor.com/docs/design-md Docs ## What is DESIGN.md? DESIGN.md is a plain-text file that describes a design system for AI agents. YAML front matter at the top holds the exact design tokens: colors, typography, spacing, rounded corners and components. The markdown body below explains how and why to apply them. Humans and agents can both read it, edit it and enforce it. `README.md` explains what a project is. `AGENTS.md` tells coding agents how to build it. `DESIGN.md` tells them how it should look and feel, so the screens an agent generates share one palette, type scale and component language instead of drifting apart. ### Where DESIGN.md comes from Google introduced DESIGN.md with [Google Stitch](https://stitch.withgoogle.com/docs/design-md/overview), its AI design tool, as the design counterpart to AGENTS.md. Google Labs publishes the format as an open specification in the [google-labs-code/design.md](https://github.com/google-labs-code/design.md) repository under the Apache 2.0 license. The [DESIGN.md specification](https://github.com/google-labs-code/design.md/blob/main/docs/spec.md) is labeled alpha, so expect the format to change as it matures. The same repository ships an npm package, `@google/design.md`, with a `lint` command that checks structure, broken token references and WCAG contrast, and a `diff` command that compares two versions of a file token by token. ### Anatomy of a DESIGN.md file Every DESIGN.md file has two layers. The YAML front matter contains machine-readable design tokens such as exact color values, font properties, spacing scales and component token references. The markdown body provides the human-readable design rationale. The spec treats the tokens as the normative values and the prose as context for applying them. Tokens give agents precise values. Prose tells them why those values exist and how to use them consistently across screens. ``` --- name: DevFocus Dark colors: primary: "#2665fd" secondary: "#475569" surface: "#0b1326" on-surface: "#dae2fd" error: "#ffb4ab" typography: body-md: fontFamily: Inter fontSize: 16px fontWeight: 400 rounded: md: 8px --- # Design System ## Overview A focused, minimal dark interface for a developer productivity tool. Clean lines, low visual noise, high information density. ## Colors - **Primary** (#2665fd): CTAs, active states, key interactive elements - **Secondary** (#475569): Supporting UI, chips, secondary actions - **Surface** (#0b1326): Page backgrounds - **On-surface** (#dae2fd): Primary text on dark backgrounds - **Error** (#ffb4ab): Validation errors, destructive actions ## Typography - **Headlines**: Inter, semi-bold - **Body**: Inter, regular, 14-16px - **Labels**: Inter, medium, 12px, uppercase for section headers ## Components - **Buttons**: Rounded (8px), primary uses brand blue fill - **Inputs**: 1px border, subtle surface-variant background - **Cards**: No elevation, relies on border and background contrast ## Do's and Don'ts - Do use the primary color sparingly, only for the most important action - Don't mix rounded and sharp corners in the same view - Do maintain 4:1 contrast ratio for all text ``` ### The eight canonical sections The markdown body uses `##` headings. Sections can be omitted when they are not relevant, but when present they should follow this order. A heading that appears twice makes the file invalid; unknown sections are kept. 1. Overview (also Brand & Style). The look and feel in a few sentences: mood, density, personality. 2. Colors. Each color token and the role it plays, such as primary actions or page surfaces. 3. Typography. Font families and the type scale, from display headlines to small labels. 4. Layout (also Layout & Spacing). The spacing scale, grid, content widths and gutters. 5. Elevation & Depth (also Elevation). How surfaces separate: shadows, borders, tints. 6. Shapes. Corner radii and other shape rules. 7. Components. Buttons, inputs, cards and other atoms, with their tokens and states. 8. Do's and Don'ts. The rules an agent should not break. A compact markdown body with each canonical section in order. Adjust the content to your product, keep the headings and sequence. ``` ## Overview A minimal dark interface for a developer productivity tool. Clean lines, low visual noise, high information density. ## Colors - Primary (#2665fd): CTAs and active states - Surface (#0b1326): Page backgrounds - On-surface (#dae2fd): Text on dark backgrounds ## Typography - Headlines: Inter, semibold - Body: Inter, regular, 14-16px - Labels: Inter, medium, 12px, uppercase ## Layout - 8px base spacing unit, scale: 4 / 8 / 16 / 24 / 32 / 48 - Max content width 720px with 24px gutters on mobile ## Elevation & Depth - Surfaces rely on background contrast instead of shadow - Overlays use an 8 percent white tint on dark surfaces ## Shapes - Rounded 8px for controls, 16px for cards - Avoid mixing sharp and rounded corners in one view ## Components - Buttons: 8px rounded, primary filled with brand blue - Inputs: 1px border, subtle surface-variant background - Cards: no elevation, rely on border and background contrast ## Do's and Don'ts - Do use the primary color sparingly, for the most important action - Don't mix rounded and sharp corners in one view - Do maintain at least a 4:1 contrast ratio for all text ``` ### Design tokens and schema DESIGN.md embeds design tokens as YAML front matter at the beginning of the file. The front matter block begins with a line containing exactly `---` and ends with the same delimiter. ``` version: name: description: colors: : typography: : rounded: : spacing: : components: : : ``` Common scale names include xs, sm, md, lg, xl and full, but any descriptive key is valid. Spacing tokens live in the YAML under `spacing:` and are described in the markdown body's Layout section. #### Token types - **Color**: Any valid CSS color string. Hex in `#RRGGBB` form is the recommended default, for example `"#1A1C1E"`. - **Dimension**: Number plus a px, em or rem unit. Examples:`48px`,`-0.02em`. - **Token Reference**: Wrapped in curly braces and pointing to a value in the YAML tree. Example:`{colors.primary}`. - **Typography**: A composite object containing font properties such as family, size, weight, line height and letter spacing. See Typography properties. #### Typography properties - **fontFamily**: The font family name. - **fontSize**: The font size as a dimension. - **fontWeight**: Numeric weight such as 400 or 700. - **lineHeight**: A dimension or a unitless multiplier. Unitless values are recommended. - **letterSpacing**: Letter spacing adjustment as a dimension. - **fontFeature**: Configures font-feature-settings. - **fontVariation**: Configures font-variation-settings. #### Token references A token reference is wrapped in curly braces and contains an object path to another value in the YAML tree. For most token groups, the reference should point to a primitive value instead of a group. Within the components section, references to composite values such as typography levels are allowed. ``` components: button-primary: backgroundColor: "{colors.primary-60}" textColor: "{colors.primary-20}" rounded: "{rounded.md}" button-primary-hover: backgroundColor: "{colors.primary-70}" ``` #### Components The components section captures style guidance for component atoms such as buttons, chips, lists, inputs, checkboxes, radio buttons and tooltips. Design systems can define additional components that matter to their product domain. Variants for hover, active or pressed states are defined as separate component entries with related key names, such as `button-primary-hover`. - **backgroundColor**: Color - **textColor**: Color - **typography**: Typography - **rounded**: Dimension - **padding**: Dimension - **size**: Dimension - **height**: Dimension - **width**: Dimension #### Recommended token names These names are guidance, not requirements. They provide useful defaults for consistency across systems. Colors: primary, secondary, tertiary, neutral, surface, on-surface, error Typography: headline-display, headline-lg, headline-md, body-lg, body-md, body-sm, label-lg, label-md, label-sm Rounded: none, sm, md, lg, xl, full ### How AI agents use DESIGN.md Put DESIGN.md in the root of your repository, next to README.md and AGENTS.md. Any agent with file access can read it, but most do not load it on their own. Point to it from the instructions your agent already reads, or name it in the prompt when you ask for UI work. A short pointer is enough: ``` ## Design Follow DESIGN.md for every UI change: use its color, typography, spacing and component tokens instead of inventing new values. ``` - **Claude Code**: Reads files in your repo and loads CLAUDE.md on start. Add a line there that points to DESIGN.md, or mention the file in your prompt. - **Cursor**: Add DESIGN.md to the chat context, or reference it from a project rule so it applies to every UI request. - **GitHub Copilot**: Point to DESIGN.md from your repository's Copilot instructions file, or attach it in chat when you ask for UI work. - **Google Stitch**: Where the format started. Stitch uses a DESIGN.md so that generated screens share one palette, type scale and component language. The agent then takes exact values from the tokens (the hex for a primary button, the size of a body-md label) and uses the prose to decide where they belong. ### DESIGN.md vs AGENTS.md vs README.md The three files sit side by side and answer different questions. DESIGN.md does not replace AGENTS.md; the two work together. | File | Written for | Answers | | --- | --- | --- | | `README.md` | People who use or contribute to the project | What is this, and how do I run it? | | `AGENTS.md` | Coding agents | How do I build, test and change this code? | | `DESIGN.md` | Coding and design agents | How should the interface look and feel? | ### Real DESIGN.md examples The fastest way to understand the format is to read a few real files. Each of these gallery pages shows a DESIGN.md extracted from the brand's public website, with its palette and type specimen. They are not official brand guidelines. - [Stripe DESIGN.md](https://www.design-extractor.com/gallery/stripe) - [Anthropic DESIGN.md](https://www.design-extractor.com/gallery/anthropic) - [Airbnb DESIGN.md](https://www.design-extractor.com/gallery/airbnb) - [Linear DESIGN.md](https://www.design-extractor.com/gallery/linear) - [Notion DESIGN.md](https://www.design-extractor.com/gallery/notion) - [Supabase DESIGN.md](https://www.design-extractor.com/gallery/supabase) [Browse all DESIGN.md examples](https://www.design-extractor.com/gallery) ### How to get a DESIGN.md 1. Write it by hand. Start from the spec and the examples above, then check the file with the free [DESIGN.md Validator](https://www.design-extractor.com/tools/design-md-validator) or Google's `lint` command. 2. Start from an example. Copy a file from the [gallery](https://www.design-extractor.com/gallery) and edit the tokens and prose to match your product. 3. Generate it from a live website. Paste a public URL into [Design Extractor](https://www.design-extractor.com/). It renders the site in a browser and returns a DESIGN.md with its colors, typography, spacing and components that follows the spec above. The [DESIGN.md generator](https://www.design-extractor.com/design-md-generator) page explains what you get. The same extraction runs from the [Chrome extension](https://www.design-extractor.com/chrome-extension) and from your agent through the [MCP server](https://www.design-extractor.com/docs/mcp). FAQ ### DESIGN.md questions Short answers about the DESIGN.md format, where it comes from, and how to use it with AI agents. #### What is a DESIGN.md file? A DESIGN.md is a plain-text file that describes a design system for AI agents. YAML front matter at the top holds the exact tokens (colors, typography, spacing, rounded corners and components), and the markdown body below explains how and why to apply them. Agents read the tokens for values and the prose for intent. #### Who created the DESIGN.md format? Google introduced DESIGN.md with Stitch, its AI design tool. Google Labs publishes the specification on GitHub (google-labs-code/design.md) under the Apache 2.0 license. The format is labeled alpha, so expect changes as it matures. #### What is the difference between DESIGN.md and AGENTS.md? AGENTS.md tells coding agents how to build and work on a project: commands, conventions, tests. DESIGN.md tells them how the product should look and feel: colors, type, spacing, shapes and components. README.md is for the humans who use or contribute to the project. Many repos keep all three side by side. #### Where do I put DESIGN.md in my project? Put it in the repository root, next to README.md and AGENTS.md, so agents with file access can find it. Then point to it from the instructions your agent already loads, such as AGENTS.md, CLAUDE.md, a Cursor rule or your Copilot instructions, or mention it in the prompt when you ask for UI work. #### Do I need all eight sections? No. The spec lets you leave out sections that do not apply, but the ones you keep should follow the canonical order: Overview, Colors, Typography, Layout, Elevation & Depth, Shapes, Components, Do's and Don'ts. A section heading must not appear twice, and unknown sections are kept rather than rejected. #### How do I check that a DESIGN.md is valid? Google's npm package @google/design.md has a lint command that checks structure, broken token references and WCAG contrast. Design Extractor also has a free DESIGN.md Validator that checks the structure and tokens in your browser and previews the file, without uploading it. #### How do I get a DESIGN.md for an existing website? Write it by hand from the spec, copy one from a gallery of real examples as a starting point, or generate one from the live site. Design Extractor takes a public URL, renders the site in a browser, and returns a DESIGN.md with its colors, typography, spacing and components, ready to drop into your repo. Want one for a site you like? Paste a public URL and get its DESIGN.md. [Extract a site](https://www.design-extractor.com/#extract) --- Source: https://www.design-extractor.com/docs/extension Docs ## Chrome extension setup guide Extract the page you are looking at without coming back to the site. The extension lives in the Chrome toolbar, reuses the account you signed in with here, and sends the current tab through the same extraction as the form on the home page. This guide covers setup and limits; for what it produces and how it compares, see the [Design Extractor Chrome extension](https://www.design-extractor.com/chrome-extension) page. [Add to Chrome](https://chromewebstore.google.com/detail/design-extractor-designmd/nabnjgklaghlhdidncoeajhapndacick) Free to install. Extractions cost the usual credits. ### Install 1. Add it from the Chrome Web Store Open the listing and click Add to Chrome. The extension asks for access to design-extractor.com and the active tab, nothing else. [Add to Chrome](https://chromewebstore.google.com/detail/design-extractor-designmd/nabnjgklaghlhdidncoeajhapndacick) 2. Pin it Click the puzzle icon in the toolbar and pin Design Extractor so the popup is one click away on every page. 3. Open any public page and extract Open the popup, pick Lite or Pro, and click Extract this page. Progress shows in the popup while the extraction runs. ### Sign in once The extension has no login form of its own. It uses the session you already have on the site, so if you are signed in here you are signed in there. If you are not, the popup offers a Sign in button that opens the site in a new tab. Sign in, come back, reopen the popup. Signing out in the popup signs you out of the site as well: it is one session, not two. ### Credits and tiers The popup shows your credit balance at the top. An extraction from the popup costs exactly what it costs on the site: the Lite and Pro tiers are the same, the price is the same, and the result is the same. When the balance is empty the popup says so and links to [Pricing](https://www.design-extractor.com/pricing). ### Where results appear When the extraction finishes, the popup shows Open result: the DESIGN.md opens on the site on its result page, the same page you get from the home form. It is listed in [My extractions](https://www.design-extractor.com/extractions) like every other extraction, and you copy, edit, re-extract or delete it there. ### Limits This is the first version of the extension. It is deliberately small. - Public pages only. The server captures the page from the URL, not from your browser, so pages behind a login, on `localhost` or on a private network are not supported yet. - Chrome only. The extension is built for Chrome. Other browsers are not supported. - No editing or download in the popup. The popup starts the extraction and shows progress. Reading, editing, copying and downloading the DESIGN.md happen on the site. Ready to extract from a tab? Install the extension and open any public page. [Add to Chrome](https://chromewebstore.google.com/detail/design-extractor-designmd/nabnjgklaghlhdidncoeajhapndacick) --- Source: https://www.design-extractor.com/docs/mcp Docs ## MCP server Design Extractor is an MCP server. Any client that speaks the Model Context Protocol, from claude.ai to n8n or a script built on the Agent SDK, can extract a DESIGN.md from a public site and read it back, with the same account and the same credits as here. Add the server URL and sign in from the client, or create a key and paste the block for your client. Done. ### What the server gives an agent The server lives at `https://www.design-extractor.com/api/mcp`, speaks streamable HTTP, and accepts two credentials: a sign-in with your account through the standard MCP authorization flow (OAuth 2.1), or a personal API key sent as `Authorization: Bearer dx_...`. Through it an agent can start an extraction of a public site, wait for it, read the finished [DESIGN.md](https://www.design-extractor.com/docs/design-md), check the price and your balance, and list what you extracted before. The result also appears in [My extractions](https://www.design-extractor.com/extractions) like every other extraction. For Claude Code and Codex there is also a plugin that bundles the server with an `apply-designmd` skill: it walks the agent through extracting a reference site and mapping the tokens onto Tailwind, CSS variables or a tokens file. Source and install notes at [Magentix-Studio/design-extractor-plugin](https://github.com/Magentix-Studio/design-extractor-plugin). ### Sign in with your account claude.ai, Claude Desktop, ChatGPT, Claude Code and Codex connect without a key: the client discovers the sign-in from the server URL, you approve once in the browser, and the client holds a token it refreshes on its own. Nothing to paste, nothing to rotate. 1. Add the server URL in the connector settings claude.ai and Claude Desktop: Settings, Connectors, Add custom connector, then paste `https://www.design-extractor.com/api/mcp`. ChatGPT: Settings, Connectors, Create, same URL. 2. Approve on the consent page The client opens Design Extractor in the browser. Sign in if you are not already, check what the agent asks for, and approve. Extractions it starts spend your credits like any other. 3. Ask for a site “Extract the design of stripe.com” is enough. The agent shows up under Connected agents on your [account page](https://www.design-extractor.com/account), where one click disconnects it. A connector added in claude.ai also appears in Claude Code on its own, so one approval covers both. Claude Code and Codex sign in the same way from the terminal: add the server without a key and authenticate when the client asks. The exact commands are under Claude Code and Codex. ### Create an API key 1. Open your account Sign in and go to [Account](https://www.design-extractor.com/account). The API keys section sits below your linked sign-in methods. 2. Create a key and copy it Name it after the client (Claude Code, Cursor) so you know what to revoke later. The key starts with `dx_` and is shown once. 3. Paste it into your client Use one of the blocks below. Up to five active keys, each valid for one year, and any of them can be revoked from the same section at any time. Keys suit n8n, scripts, CI and other clients that cannot open a browser. ### Claude Code One command registers the server for the current project, no key needed. Add `--scope user` to have it in every project. ``` claude mcp add --transport http design-extractor https://www.design-extractor.com/api/mcp ``` Then run `/mcp`, pick `design-extractor` and choose Authenticate. Sign in and approve on the page that opens; Claude Code keeps the token and renews it on its own. Or install the plugin, which adds the server and the `apply-designmd` skill. Its server signs in the same way: after the install, run `/mcp`, pick the plugin's server and authenticate. ``` /plugin marketplace add Magentix-Studio/design-extractor-plugin /plugin install design-extractor@design-extractor ``` To use an API key instead, for a machine that cannot open a browser, pass it as a header and skip the authenticate step. ``` claude mcp add --transport http design-extractor https://www.design-extractor.com/api/mcp \ --header "Authorization: Bearer dx_..." ``` Check `/mcp` shows `design-extractor` as connected. Tools are named `mcp__design-extractor__extract_design` and so on after `claude mcp add`, and `mcp__plugin_design-extractor_design-extractor__extract_design` when the server comes from the plugin. ### Codex Add the server without a key and Codex opens the sign-in straight away. Sign in and approve on the page that opens; `codex mcp login design-extractor` repeats it later if needed. ``` codex mcp add design-extractor --url https://www.design-extractor.com/api/mcp ``` Or install the same plugin from its marketplace. In the Codex CLI, `/plugins` opens the browser where marketplace entries are installed and toggled; if its server asks for authentication, `codex mcp login design-extractor` opens the sign-in. ``` codex plugin marketplace add Magentix-Studio/design-extractor-plugin codex plugin add design-extractor@design-extractor ``` To use an API key instead, name the environment variable that holds it and export it in the shell you start Codex from; otherwise the server shows as failed with zero tools. ``` export DESIGN_EXTRACTOR_API_KEY=dx_... codex mcp add design-extractor --url https://www.design-extractor.com/api/mcp \ --bearer-token-env-var DESIGN_EXTRACTOR_API_KEY ``` The same declaration by hand in `~/.codex/config.toml`; to inline the key instead use `http_headers = { "Authorization" = "Bearer dx_..." }`. ``` [mcp_servers.design-extractor] url = "https://www.design-extractor.com/api/mcp" bearer_token_env_var = "DESIGN_EXTRACTOR_API_KEY" ``` ### Cursor Add the server to `.cursor/mcp.json` in the project, or to `~/.cursor/mcp.json` for every project. Cursor also accepts `${env:DESIGN_EXTRACTOR_API_KEY}` in the header value if you prefer to keep the key out of the file. ``` { "mcpServers": { "design-extractor": { "url": "https://www.design-extractor.com/api/mcp", "headers": { "Authorization": "Bearer dx_..." } } } } ``` ### Claude Agent SDK Pass the server in `options.mcpServers` with `type: "http"` and the header, and allow its tools with a wildcard so the agent can call them without a permission prompt. ``` import { query } from "@anthropic-ai/claude-agent-sdk"; for await (const message of query({ prompt: "Extract the design system of https://example.com and summarize its colors", options: { mcpServers: { "design-extractor": { type: "http", url: "https://www.design-extractor.com/api/mcp", headers: { Authorization: `Bearer ${process.env.DESIGN_EXTRACTOR_API_KEY}`, }, }, }, allowedTools: ["mcp__design-extractor__*"], }, })) { if (message.type === "result" && message.subtype === "success") { console.log(message.result); } } ``` ### Tools | Tool | Input | Returns | | --- | --- | --- | | `get_pricing` | none | The credit cost of the Lite and Pro tiers, and the surcharge and countries when extraction from another country is offered. | | `get_credits` | none | Your remaining credit balance. | | `extract_design` | url, tier (LITE or PRO, default LITE), country (optional two-letter code) | Starts an extraction and spends the credits. Returns the publicId, the status and the result page on the site (/extract/). A URL you extracted recently is reused instead, and the reply says no credits were charged; a URL only other users extracted still costs its tier price. Pass country only after a run failed with a regional restriction: the page then loads through a browser in that country, at the tier price plus a surcharge. | | `get_extraction` | site (a name or URL, resolved to your newest extraction of it) or publicId | The DESIGN.md text once the extraction is complete. Until then the status and a hint to poll again in 25 seconds. A failed run says why; after a regional block it lists suggestedCountries and what a retry from one of them costs. | | `list_my_extractions` | limit (1 to 50, default 20), cursor (optional) | Your extractions, newest first, with their status and publicId. | ### Credits An extraction through the server costs exactly what it costs on the site. Lite extracts one page, Pro samples the site's key pages. The current prices come from `get_pricing` (6 credits for Lite and 10 for Pro at the time of writing) and your balance from `get_credits`. When the balance does not cover the tier, `extract_design` refuses and says so; top up on [Pricing](https://www.design-extractor.com/pricing). Asking for a site you extracted recently reuses your extraction rather than starting a new one, and the reply says no credits were charged; a site only other people extracted still costs its tier price. Run `list_my_extractions` first to see what is already there. Some sites only answer visitors from certain countries. When a run fails that way, `get_extraction` lists the countries that load the page and the agent can retry with `extract_design` and `country`. A country run costs the tier price plus a surcharge, both listed by `get_pricing`. ### Limits - Public pages only. The server captures the page from the URL, so pages behind a login, on `localhost` or on a private network are not supported. - Start, then poll. `extract_design` returns as soon as the extraction is queued. An extraction takes at least a minute, so the agent waits about a minute and then calls `get_extraction` with the site every 25 seconds until it is complete. You never handle ids: naming the site is enough. - One credential per client. A signed-in agent holds a token that expires after 15 minutes and renews itself; disconnecting it on the account page stops the renewal. Keys expire after one year and can be revoked on the same page. If a key leaks, revoke it there and create a new one. Ready to connect an agent? Sign in from your client, or create a key and paste one block. [Open account](https://www.design-extractor.com/account) --- # Guides Source: https://www.design-extractor.com/guides/make-ai-ui-match-a-website Guide ## Make Claude Code and Cursor build UI that matches a website Ask a coding agent for “a clean settings page” and you get a generic one. Give it a DESIGN.md taken from a site you like, and it builds with that site's real colors, type scale, radii and component rules instead of guessing. This guide shows the whole loop in Claude Code and Cursor, using Linear's file from the gallery as the example. Written for developers building with an AI coding agent. Updated 2026-10-19. ### What you'll get - A DESIGN.md for a site you like, saved in your repo where your agent can read it. - A short pointer in CLAUDE.md for Claude Code and a project rule for Cursor, so every UI task starts from the file. - Prompts that name the tokens, so the agent uses exact values instead of close guesses. - A quick review routine to catch the places where the agent drifted. ### Why a DESIGN.md beats a screenshot A screenshot gives your agent pixels to guess from. It will get the mood roughly right and the values wrong: a blue that is close, a radius that is off by a few pixels, a font it picked because it looked similar. Every new screen guesses again, so the app slowly drifts. A DESIGN.md gives it the exact values. The file follows [Google's DESIGN.md specification](https://github.com/google-labs-code/design.md/blob/main/docs/spec.md): YAML front matter at the top holds the tokens (hex colors, font families and sizes, radii, components), and the markdown below explains where each one belongs. New to the format? Read [what a DESIGN.md is](https://www.design-extractor.com/docs/design-md). ### Steps 1. Pick a site whose interface feels like what you are building Product screens with a similar density work better than a landing page with a big hero. If you are building a dashboard, pick a product that has one. Check the [DESIGN.md gallery](https://www.design-extractor.com/gallery) first: the file may already be there. 2. Get its DESIGN.md Copy it from the gallery page, or paste the URL on the [Design Extractor home page](https://www.design-extractor.com/) and run a Pro extraction. Pro samples the site's key pages, and a run takes at least a minute. 3. Save it as DESIGN.md in your repository root Put it next to README.md and AGENTS.md and commit it, so every branch and every teammate's agent reads the same file. 4. Point your agent to it Add a short pointer to CLAUDE.md for Claude Code, or a project rule for Cursor. The blocks are below. 5. Ask for UI in the file's terms Name tokens and components in your prompt (`primary`, `body-md`, a button recipe) and ask the agent to list any value it could not find instead of inventing one. 6. Review the result against the file Check colors, fonts, radii and states against DESIGN.md before you accept the change. ### Worked example: Linear The [Linear DESIGN.md](https://www.design-extractor.com/gallery/linear) in the gallery was extracted from linear.app with a Pro run that captured 5 pages. It holds 17 color tokens, 16 type styles and 12 radii. This is what your agent works from. #### Colors #### Typography hero-displayDesign is intelligence made visibleInter Variable72px / 510 / 1 display-lgDesign is intelligence made visibleInter Variable64px / 510 / 1 display-mdDesign is intelligence made visibleInter Variable48px / 510 / 1 heading-lgDesign is intelligence made visibleInter Variable32px / 590 / 1.15 title-mdDesign is intelligence made visibleInter Variable20px / 590 / 1.35 body-lgDesign is intelligence made visibleInter Variable17px / 400 / 1.6 #### Shapes xs · 2px sm · 4px sm-2 · 4.4625px md · 5px md-2 · 6px lg · 8px lg-2 · 9px xl · 12px Linear's first 12 colors, 6 type styles and 8 radii, rendered from its DESIGN.md. Click a swatch to copy the hex value. The top of the file, abridged: 8 of 17 colors, 2 of 16 type styles and 4 of 12 radii. These are the exact values the agent copies. ``` --- name: Linear colors: primary: "#5E6AD2" canvas: "#08090A" surface: "#121414" surface-raised: "#1C1C1F" ink: "#F7F8F8" ink-secondary: "#D0D6E0" muted: "#8A8F98" subtle: "#62666D" typography: hero-display: fontFamily: Inter Variable fontSize: 72px fontWeight: 510 lineHeight: 1 letterSpacing: -1.584px body-lg: fontFamily: Inter Variable fontSize: 17px fontWeight: 400 lineHeight: 1.6 letterSpacing: normal rounded: xs: 2px sm: 4px sm-2: 4.4625px md: 5px --- ``` Extracted from Linear's public website, not official brand guidelines. [Read the full Linear DESIGN.md](https://www.design-extractor.com/gallery/linear) #### How the file describes the look The prose under the tokens tells the agent where each value belongs. It opens like this: Linear's marketing surface reads like the product itself: a near-black Void canvas (canvas, #08090A) with charcoal panels stacked a half-step lighter, fenced by 1px hairlines rather than shadows. The mood is engineering-grade and restrained. Realistic product UI mockups, a customer logo strip and Berkeley Mono micro-labels ("FIG 0.1") stand in for illustration. Nothing shouts; the page earns attention through precision. #### Rules the file gives your agent The Do's and Don'ts section turns the look into rules. The first few: Do - Reserve Linear Indigo (primary, #5E6AD2) for focus and interactive accents. Every measured focus state is a 1px solid #5E69D1 outline with a 2px offset. - Shape every button as a pill with rounded.full. button-ghost, button-ghost-2 and button-ghost-3 all measure 9999px. - Keep control heights on the observed ladder: button-ghost and button-ghost-2 at 32px, button-ghost-4 at 29px, button-ghost-3 at 24px, and sidebar-nav-item and the icon buttons at 28px. Don't - Don't use weights other than 400, 510 and 590, and never substitute a static 600 or 700 for heading-lg or title-md. - Don't add a third typeface. Inter Variable carries everything, and Berkeley Mono is limited to micro figure labels. - Don't use accent-blue, danger or success for marketing chrome; they belong inside product mockups. #### Components The file has 30 component recipes in HTML and CSS. 13 of them passed the check against the live page; for the others the file says why they did not pass or could not be checked. The whole file is about 276,000 characters, most of it recipes. That is why you point your agent to it instead of pasting it into prompts. ### Point your agent to the file Most agents do not open DESIGN.md on their own. A few lines in the instructions they already load fix that. In Claude Code, add this to CLAUDE.md in your repository root: ``` ## Design Follow DESIGN.md in the repository root for every UI change. Use its color, typography, rounded and component tokens instead of inventing values. Before you build a button, card or input, read its recipe in the Components section. ``` In Cursor, add a project rule. Save this as `.cursor/rules/design.mdc`; `alwaysApply` loads it for every request in the project: ``` --- description: Follow DESIGN.md for every UI change alwaysApply: true --- Follow DESIGN.md in the repository root for every UI change. Use its color, typography, rounded and component tokens instead of inventing values. Before you build a button, card or input, read its recipe in the Components section. ``` Use a pointer rather than pasting the file into the instructions. A Pro DESIGN.md carries a recipe for every component it picked from the site, so it is long, and your agent only needs it for UI work. ### Prompts that use the tokens Name the file and its tokens, and give the agent a way out instead of a reason to guess. These prompts were written for this guide with Linear's real token names; swap in your own task. Claude Code ``` Build a pricing page with three plan cards. Follow DESIGN.md: - use primary (#5E6AD2) only where the file says it belongs - set headings in hero-display and body copy in body-lg - reuse the button-ghost recipe for the plan buttons, with its hover and focus states - start the plan cards from the card recipe List any value you could not find in DESIGN.md instead of inventing one. ``` Cursor ``` @DESIGN.md Restyle the settings form in src/app/settings to match this file. Take colors, type and radii from the tokens and inputs and buttons from the component recipes. Keep the existing layout and logic, and list any value you could not find in the file. ``` In Cursor, `@DESIGN.md` attaches the file to the chat, which helps on top of the rule when the task is mostly about looks. What should the result look like? Roughly like this card, which this page draws straight from the tokens. It shows what the values do, not what an agent produced. Plan the next release Every task, date and decision in one place, so the team ships on time. Start buildingTalk to sales Illustration drawn by this page from Linear's tokens: canvas #08090A, ink #F7F8F8, primary #5E6AD2 and button-ghost.rounded 9999px. It is not output from a coding agent, and the font only shows if your device has it. ### Review what the agent built - Colors. Search the diff for hex values. Each one should be in DESIGN.md. A new one usually means the agent guessed. - Fonts. Many brands use commercial fonts you cannot ship. The file's Typography section usually names an open-source stand-in; make sure the agent loaded that one, not a random fallback. - Radii and spacing. Buttons and cards should use the file's rounded tokens, not a default like 8px everywhere. - States. Hover and focus styles are part of each component recipe. Tab through the page and check the focus ring. - Flagged recipes. If the file marks a recipe as flagged, its geometry is an approximation. Compare that component with the real site. If you edit DESIGN.md by hand, check it with the free [DESIGN.md Validator](https://www.design-extractor.com/tools/design-md-validator) before your agent reads it again. ### Files used in this guide Each of these gallery pages has the full DESIGN.md to copy into your repo, with its palette and type specimen. - [ Software & SaaS · Productivity & Notes **Linear** Linear's design system is a dark-first, high-density product UI built for engineering teams. The surface palette anchors on near-black (#08090a, #0f1011) with layered dark grays for sidebar, card, and panel differentiation. Typography is exclusively Inter Variable with precise negative letter-spacing at display sizes and Berkeley Mono for inline code. The radius language is deliberately small (2–6px dominant) with pill shapes reserved for badges and status chips. Elevation is expressed through subtle 1px inset borders and low-opacity drop shadows rather than dramatic layering. The primary CTA color is Linear's signature indigo (#5e6ad2), used on the Sign Up button and key links.](https://www.design-extractor.com/gallery/linear) - [ Finance & Fintech **Stripe** Stripe's marketing homepage uses a tightly controlled design system (HDS — Stripe Design System) built around the variable font "sohne-var" at light weights (300–400), a deep navy-to-indigo brand palette anchored by #533afd (Stripe Indigo), and a signature full-bleed spectral gradient hero. Components are low-radius (4–6px), flat-to-minimal-shadow, and structured around an 8px base spacing grid. The overall tone is authoritative yet approachable — financial infrastructure communicated through confident typography and restrained color use.](https://www.design-extractor.com/gallery/stripe) - [ Developer & Infrastructure · Developer Tools & IDEs **Supabase** Supabase uses a dark-first design system anchored by a deep near-black background (oklch ~0.19) with a vivid green brand accent (#3ecf8e / #3fcf8e). The layout is structured around a responsive feature card grid, with Manrope for display headings and Inter for body/UI text. Source Code Pro handles all monospace/code contexts. The color system is built on oklch custom properties with semantic naming. Cards use 12px radius with subtle border treatment, buttons use 6–8px radius, and the overall density is moderate with an 8px base spacing grid.](https://www.design-extractor.com/gallery/supabase) [Browse all DESIGN.md examples](https://www.design-extractor.com/gallery) FAQ ### Match a website in Claude Code and Cursor: questions Short answers to what people ask before they try this. #### Do I need to paste the DESIGN.md into every prompt? No. Save it once as DESIGN.md in the root of your repository and point to it from CLAUDE.md for Claude Code or from a project rule for Cursor. The agent reads it when a task touches the interface. A Pro DESIGN.md with component recipes is long, so pointing to it keeps your prompts short. #### Will the agent copy the site pixel for pixel? No, and that is not the goal. The agent gets the site's tokens (colors, type, radii), its component recipes and its rules. Your layout, content and features stay your own. Recipes that did not pass the check against the live site are marked as flagged in the file, so treat those as close approximations. #### Does it work with GitHub Copilot, Codex or Windsurf? Yes. Any agent that can read files in your repository can use a DESIGN.md. Point to it from the instructions that agent already reads, such as AGENTS.md or .github/copilot-instructions.md, or name the file in your prompt. #### Can I use a DESIGN.md from the gallery instead of extracting one? Yes. Every gallery page has the full DESIGN.md to copy. Gallery files are extracted from each brand's public website, not official brand guidelines. For a site that is not in the gallery, paste its URL on the home page and run an extraction. ### Get a DESIGN.md for the site you like Paste any public URL. A Pro extraction samples the site's key pages and returns a DESIGN.md your agent can read. [Get a DESIGN.md from any website](https://www.design-extractor.com/#extract) ### Related guides - **[No designer? Borrow a proven design system for your app](https://www.design-extractor.com/guides/design-system-without-a-designer)** How to pick a reference site, what to keep from its DESIGN.md and what to change so the result is yours and not a copy. - **[Rebuilding your site? Extract its design system first](https://www.design-extractor.com/guides/extract-design-system-before-a-rebuild)** Capture your current site as a DESIGN.md before a rebuild, rebrand or framework move, and know what to check by hand. - **[Blend two reference sites into one design for a prototype](https://www.design-extractor.com/guides/blend-two-website-designs)** Compare two extracted DESIGN.md files token by token and merge them into one spec for a prototype, by hand or with your agent. - **[Give your coding agent design specs on demand with MCP](https://www.design-extractor.com/guides/design-specs-for-coding-agents)** Connect the MCP server so your agent can extract a site's DESIGN.md on its own, wait for it and build from it. [See all DESIGN.md guides](https://www.design-extractor.com/guides) --- Source: https://www.design-extractor.com/guides/design-system-without-a-designer Guide ## No designer? Borrow a proven design system for your app You know good design when you see it, but you can't produce it from scratch. You don't have to. Pick a product you admire, take its design system as a DESIGN.md, change the parts that make it theirs, and your coding agent has a proven system to build your app with. Proven means tested on real users: type that reads well, spacing that breathes, buttons that look like buttons. You keep that, and swap in your own identity. Written for solo founders and small teams. Updated 2026-10-19. ### What you'll get - A short list of what makes a good reference site, so you pick one that fits your product. - A DESIGN.md you can drop into your repo as your starting design system. - A clear split between what to keep (type scale, spacing, radii, component shapes) and what to change (brand color, logo, fonts, voice). - A prompt that makes the swap for you, and a check that the result still reads well. ### How to pick a reference site The site you borrow from decides most of how your app will feel, so spend ten minutes here. A good reference has these traits: - The same kind of product. A dashboard borrows well from another dashboard, not from a fashion store. - A similar density. If your app is forms and tables, pick a site with forms and tables, not a single big hero. - One clear action color. When a single color marks what to click, rebranding means swapping that one color family. - Type you can read. Open the site on your phone and read a paragraph. If it is comfortable, the type scale is worth taking. - Light or dark, the way you want it. Turning a dark-first system into a light one is a redesign, not a tweak. - A look that is not the brand itself. If you would recognize the site from its color alone, you would have to change too much of it. The [DESIGN.md gallery](https://www.design-extractor.com/gallery) can be filtered by category, which makes it quick to compare a few candidates. ### Steps 1. Shortlist two or three sites Use the traits above. Screenshots of the screens you like help you decide later. 2. Get the DESIGN.md of your favorite Copy it from its gallery page, or paste the URL on the [Design Extractor home page](https://www.design-extractor.com/) and run a Pro extraction. Pro samples the site's key pages and returns one file with colors, typography, spacing, radii and component recipes. New to the format? Read [what a DESIGN.md is](https://www.design-extractor.com/docs/design-md). 3. Make it yours Change the brand color family, the fonts if they are commercial, the name and the voice. The prompt below does it in one go. 4. Put it in your repo and point your agent to it Save it as DESIGN.md in the repository root. The [Claude Code and Cursor guide](https://www.design-extractor.com/guides/make-ai-ui-match-a-website) has the pointer to add. 5. Check it Paste the edited file into the free [DESIGN.md Validator](https://www.design-extractor.com/tools/design-md-validator). It checks the structure and flags text colors with too little contrast. ### Worked example: Notion Say you like how [Notion](https://www.design-extractor.com/gallery/notion) feels. Here is its design system as the gallery DESIGN.md records it, and what you would keep and change. #### Colors #### Typography hero-displayDesign is intelligence made visibleNotion Inter96px / 600 / 1.05 display-lgDesign is intelligence made visibleNotion Inter72px / 500 / 1.2 display-mdDesign is intelligence made visibleNotion Inter54px / 700 / 1.05 display-smDesign is intelligence made visibleNotion Inter40px / 400 / 1.5 title-lgDesign is intelligence made visibleNotion Inter24px / 500 / 0.85 title-mdDesign is intelligence made visibleNotion Inter22px / 700 / 1.25 #### Shapes xs · 4px sm · 8px md · 12px full · 9999px Notion's first 12 colors, 6 type styles and 4 radii, rendered from its DESIGN.md. Click a swatch to copy the hex value. #### What to keep and what to change | Part of the file | In Notion's DESIGN.md | What to do | | --- | --- | --- | | Type scale | hero-display, 96px, weight 600 down to body, 16px, weight 400 | Keep | | Radii | xs 4px, sm 8px, md 12px, full 9999px | Keep | | Neutrals | surface #FFFFFF, ink #000000 | Keep | | Component shapes | 14 component recipes with sizes, padding, borders and states | Keep | | Brand color | primary #0075DE, primary-focus #0075DE, primary-link #097FE8, primary-pressed #005BAB, primary-tint #E6F3FE | Change to your color and its shades | | Fonts | Notion Inter, Lyon Text | Keep only if free to use, otherwise use a stand-in | | Name | name: Notion | Change to your product's name | | Voice | The Overview describes their personality | Rewrite it in a sentence or two about yours | | Logo and imagery | Not in the file | Bring your own logo, icons and illustrations | Not sure about the fonts? Notion's DESIGN.md answers it in its Typography section, word for word: ``` ### Note on Font Substitutes Notion Inter is a proprietary cut; use open-source **Inter** (variable) and keep the token tracking values exactly, since the negative display tracking is calibrated for Inter's metrics. Lyon Text is commercial; substitute **Source Serif 4** or **Newsreader** at the `quote` size and 1.55 line height, or fall back to Georgia as the site's own stack does. Check that the serif's x-height doesn't make 18px quotes read larger than surrounding 16px body. ``` Extracted from Notion's public website, not official brand guidelines. [Read the full Notion DESIGN.md](https://www.design-extractor.com/gallery/notion) ### Make it yours with one prompt Your coding agent can do the edit. Open the repo with DESIGN.md in it and paste a prompt like this, with your own name, color and sentence in place of Acme's. It was written for this guide with Notion's real token names. ``` Make DESIGN.md our own design system: - Rename it from "Notion" to "Acme" in the front matter name and the title. - Replace primary (#0075DE) with our brand color #2F6FEB, and recompute primary-focus, primary-link, primary-pressed, primary-tint as matching shades. - Replace the old primary hex values everywhere they appear, including in the component recipes. - Where Notion Inter or Lyon Text is a commercial font, swap it for the open-source stand-in the Typography section names. - Rewrite the Overview in our voice: Acme helps small teams plan their week. Keep every other token as it is, and check that text on the new primary meets 4.5:1 contrast. ``` Then read the diff. Hex values change in two places: the `colors` tokens at the top, and the CSS of each component recipe further down. Both have to move together, or buttons keep the old color. ### Why not to copy a brand wholesale A borrowed system is a starting point, not a disguise. Shipping someone else's look unchanged hurts you more than it helps: - People notice. An app that looks like a famous product with a different name reads as a copy, and that costs trust. - The identity is not yours to take. Logos, product names, signature colors, illustrations and copy belong to the brand. Spacing, type sizes and radii are the shared craft you can learn from. - Fonts come with licenses. A commercial font on their site does not come with a license for yours. - You will want to grow it. Once the colors and voice are yours, adding screens feels like building your product, not someone else's. The rule of thumb: keep the structure, change the identity. At minimum swap the brand color, the logo, any commercial font and the voice. Gallery files are extracted from each brand's public website, not official brand guidelines, and the same goes for anything you extract. ### Files used in this guide Good starting points from the gallery. Each page has the full DESIGN.md, its palette and its type specimen. - [ Software & SaaS · Productivity & Notes **Notion** Notion's marketing homepage pairs a deep navy (#02093a) hero section with a light (#f6f5f4) body, using a custom typeface (NotionInter) across all text roles. The design employs a 12-column grid with 28px gutters, a dual-radius language (8px for cards, 9999px for pills), and a multi-layer progressive shadow system for floating UI elements. Brand blue (#2537b1) drives CTAs and accent highlights, while a semantic gray-scale ladder (gray-200 through gray-900) structures all text and surface hierarchy.](https://www.design-extractor.com/gallery/notion) - [ Travel, Transport & Logistics **Airbnb** Airbnb's design system is built around a single proprietary variable font (Airbnb Cereal VF), a near-monochrome neutral palette anchored by deep charcoal (#222222) and light grays, with the brand's signature "Rausch" coral-pink (#ff385c) reserved exclusively for primary CTAs and the logo. The layout is a responsive photo-card grid with generous image-to-text ratios, soft 20px rounded corners on cards, and a multi-layer ambient shadow system that creates subtle depth without harsh contrast. The search bar is a prominent pill-shaped container that unifies the core user action.](https://www.design-extractor.com/gallery/airbnb) - [ Business & Professional Services **Shopify** Shopify's marketing homepage uses a dramatic full-bleed video hero with a near-black (#02090a) background that contrasts sharply with the white navigation bar above. The primary brand accent is a vivid mint green (#36f4a4) used sparingly for highlights and interactive states. Typography is split between NeueHaasGrotesk for display/editorial headings and Inter-Variable for UI body copy. CTAs use fully-rounded pill shapes (border-radius: 9999px). The overall system is confident, high-contrast, and aspirational — built to convert visitors into merchants.](https://www.design-extractor.com/gallery/shopify) [Browse all DESIGN.md examples](https://www.design-extractor.com/gallery) FAQ ### Borrow a design system without a designer: questions Short answers to what people ask before they try this. #### Is it okay to base my app on another company's design? Using a site's spacing, type sizes and corner radii as a starting point is how most interfaces are made. Copying its identity is not okay: its logo, name, signature brand color, illustrations or copy. Change those, and use a commercial font only if you license it. Gallery files are extracted from public websites, not official brand guidelines. #### What if the site uses a font I can't license? Many brands use commercial or custom fonts. The DESIGN.md names each family in its typography tokens, and its Typography section usually suggests an open-source stand-in with notes on tracking and weights. Use the stand-in, or pick a free font with similar proportions. #### How much does a DESIGN.md cost? Reading and copying a file from the gallery costs nothing. Extracting a site you choose uses prepaid credits: a Pro extraction costs 10 credits and packs start at $5 for 50 credits. Credits never expire and there is no subscription. #### Do I need design skills to edit a DESIGN.md? No. It is a text file: colors are hex values, fonts are names, sizes are pixels. Change the values, or ask your coding agent to make the change for you, then check the result with the free DESIGN.md Validator, which also flags text colors with too little contrast. ### Found a site you admire? Paste its URL and get its design system as a DESIGN.md, ready to make your own. [Get a DESIGN.md from any website](https://www.design-extractor.com/#extract) ### Related guides - **[Make Claude Code and Cursor build UI that matches a website](https://www.design-extractor.com/guides/make-ai-ui-match-a-website)** Extract a site you like, drop its DESIGN.md into your repo and point your agent to it, with the exact prompts for Claude Code and Cursor. - **[Rebuilding your site? Extract its design system first](https://www.design-extractor.com/guides/extract-design-system-before-a-rebuild)** Capture your current site as a DESIGN.md before a rebuild, rebrand or framework move, and know what to check by hand. - **[Blend two reference sites into one design for a prototype](https://www.design-extractor.com/guides/blend-two-website-designs)** Compare two extracted DESIGN.md files token by token and merge them into one spec for a prototype, by hand or with your agent. - **[Give your coding agent design specs on demand with MCP](https://www.design-extractor.com/guides/design-specs-for-coding-agents)** Connect the MCP server so your agent can extract a site's DESIGN.md on its own, wait for it and build from it. [See all DESIGN.md guides](https://www.design-extractor.com/guides) --- Source: https://www.design-extractor.com/guides/extract-design-system-before-a-rebuild Guide ## Rebuilding your site? Extract its design system first A rebuild, a rebrand or a move to a new framework is when a design system quietly gets lost. The colors live in old CSS, the type scale in someone's head, the button states in a component nobody wants to open. Extract your current site as a DESIGN.md before you change anything. You get a written baseline for the new build, one your team and your coding agent can both read. Written for teams planning a rebuild, rebrand or migration. Updated 2026-10-19. ### What you'll get - A DESIGN.md of your current site, committed before the first line of the rebuild. - A clear view of what the file captured and what it did not. - A checklist of what to verify by hand: assets, states, motion, breakpoints and pages behind a login. - A way to compare the new site with the old one when you are done. ### When to do this - A framework move. Same look, new stack. The DESIGN.md lets your coding agent rebuild components with the exact values instead of reading old stylesheets. - A rebrand. Capture the old system first, so you know exactly which colors, fonts and radii change and which stay. - A handover. A new agency or a new team gets one file that describes how the site looks today, instead of a tour of the codebase. ### Steps 1. Extract the live site before you change anything Paste your production URL on the [Design Extractor home page](https://www.design-extractor.com/) and run a Pro extraction. It must be a public page: the extraction loads it like a visitor, so localhost and pages behind a login do not work. 2. Commit it as the baseline Save it as DESIGN.md in the new repository and commit it before the rebuild starts. It now records how the site looked on that day. 3. Read the Known Gaps section The end of the file lists what the run could not capture. Every item there is something to check by hand. 4. Check what a DESIGN.md cannot hold Assets, logged-in screens, motion and the other items below. Add notes to the file as you go. 5. Build against it Point your coding agent to the file, as the [Claude Code and Cursor guide](https://www.design-extractor.com/guides/make-ai-ui-match-a-website) shows, and review each new screen against it. ### What the file captured on Stripe To see what you get, look at the [Stripe DESIGN.md](https://www.design-extractor.com/gallery/stripe) in the gallery. Its Pro run captured 5 pages of stripe.com: `/nl`, `/nl/pricing`, `/nl/products`, `/nl/newsroom/news/stripe-openai-instant-checkout`, `/nl/contact/sales`. A run on your own site produces the same structure. | Colors | 21 tokens, each with its role | | Typography | 17 styles in Sohne | | Radii | 10 tokens | | Spacing | 62 tokens | | Components | 71 recipes in HTML and CSS: 44 passed the check against the live page, 27 flagged or not checkable, each with the reason | | Sections | Overview, Colors, Typography, Layout, Elevation & Depth, Shapes, Components, Do's and Don'ts, Responsive Behavior, Iteration Guide, Known Gaps | #### What it says it missed The file is honest about its limits. The first 5 of 11 items in its Known Gaps section: From the end of Stripe's DESIGN.md, as written. ``` ## Known Gaps - **Many recipes did not reproduce exactly.** `button-primary` (84% pixel match), `card` (78%), `card-2` (94%), `promo-banner` (77%) and `skip-link` (0%; it is visually hidden until focused) are approximations. So are several header and footer recipes (`header-landing`, `header-inner-2` timed out, `footer-landing`, `footer-inner`, `footer-inner-2`). - **Some recipes could not be judged at all.** `stat` and `stat-2` were not verifiable, because page media covered most of the element. - **Some elements were never visible.** `footer-landing`, `header-inner` and `logo-strip-item` were not visible when verification ran, so their values come from computed styles only. - **No section rhythm was measured.** `sectionRhythm` is empty, so vertical spacing between page sections and the inner padding of large cards is described only qualitatively. - **No `base` spacing step was published.** The evidence frequency (4px, 8px, 12px, 16px and 24px most common) suggests a 4px-derived grid, but it is not a verified token. ``` Extracted from Stripe's public website, not official brand guidelines. [Read the full Stripe DESIGN.md](https://www.design-extractor.com/gallery/stripe) Your own file will have its own list. Treat it as your to-do list for the checks below. ### What to check by hand | Item | Why the file may miss it | What to do | | --- | --- | --- | | Logo, icons, images | A DESIGN.md describes styles, not files. | Export them from the current codebase and keep them with the new one. | | Logged-in screens | The extraction only sees public pages. | List how the app differs from the marketing site, such as denser tables or a sidebar. | | States | Hover and focus are recorded where the run saw them; pressed, disabled and error states often are not. | Click through forms and buttons and note the missing states. | | Motion | Transitions and animations are described in words at most. | Note durations and easing from the current CSS. | | Breakpoints | The run captures a desktop and a mobile width. | Check the tablet layout and note where columns change. | | Templates outside the sample | Pro samples around five key pages. | Extract any page that looks different, such as docs or checkout, on its own. | ### After the rebuild When the new site is live, extract it again and compare the two files. Unchanged tokens mean the look survived; changed ones are either the rebrand you planned or drift to fix. Any text diff shows the changed hex values and sizes. Google's `@google/design.md` package adds a `diff` command that compares two versions token by token; the [DESIGN.md explainer](https://www.design-extractor.com/docs/design-md) covers the format and its tooling. If you edit the file by hand along the way, check it with the [DESIGN.md Validator](https://www.design-extractor.com/tools/design-md-validator). ### Files used in this guide Open one to see a full DESIGN.md, from the tokens at the top to the Known Gaps at the end. - [ Finance & Fintech **Stripe** Stripe's marketing homepage uses a tightly controlled design system (HDS — Stripe Design System) built around the variable font "sohne-var" at light weights (300–400), a deep navy-to-indigo brand palette anchored by #533afd (Stripe Indigo), and a signature full-bleed spectral gradient hero. Components are low-radius (4–6px), flat-to-minimal-shadow, and structured around an 8px base spacing grid. The overall tone is authoritative yet approachable — financial infrastructure communicated through confident typography and restrained color use.](https://www.design-extractor.com/gallery/stripe) - [ Business & Professional Services **Shopify** Shopify's marketing homepage uses a dramatic full-bleed video hero with a near-black (#02090a) background that contrasts sharply with the white navigation bar above. The primary brand accent is a vivid mint green (#36f4a4) used sparingly for highlights and interactive states. Typography is split between NeueHaasGrotesk for display/editorial headings and Inter-Variable for UI body copy. CTAs use fully-rounded pill shapes (border-radius: 9999px). The overall system is confident, high-contrast, and aspirational — built to convert visitors into merchants.](https://www.design-extractor.com/gallery/shopify) - [ Developer & Infrastructure · Developer Tools & IDEs **Supabase** Supabase uses a dark-first design system anchored by a deep near-black background (oklch ~0.19) with a vivid green brand accent (#3ecf8e / #3fcf8e). The layout is structured around a responsive feature card grid, with Manrope for display headings and Inter for body/UI text. Source Code Pro handles all monospace/code contexts. The color system is built on oklch custom properties with semantic naming. Cards use 12px radius with subtle border treatment, buttons use 6–8px radius, and the overall density is moderate with an 8px base spacing grid.](https://www.design-extractor.com/gallery/supabase) [Browse all DESIGN.md examples](https://www.design-extractor.com/gallery) FAQ ### Extract your design system before a rebuild: questions Short answers to what people ask before they try this. #### Will the DESIGN.md include my logo, icons and images? No. A DESIGN.md is a text file that describes styles: colors, typography, spacing, radii and component recipes in HTML and CSS. Export the logo, icons, illustrations and photos from your current codebase or design files and keep them next to it. #### Can it extract a staging site or app screens behind a login? No. The extraction loads the page from its URL like a visitor would, so pages behind a login, on localhost or on a private network are not supported. Extract the public site, and write down how the logged-in screens differ. #### How many pages does a Pro extraction read? Pro samples the key pages of the site, around five, and merges what it finds into one DESIGN.md. If an important template is not among them, such as a docs page or a checkout, extract that page's URL as well and compare the two files. #### How do I compare the old and new design after the rebuild? Extract the new site once it is live and compare the two files. Google's @google/design.md package has a diff command that compares two versions of a DESIGN.md token by token, and any text diff shows changed hex values and sizes. ### Capture your site before you change it Paste your production URL. A Pro extraction samples its key pages and returns one DESIGN.md. [Get a DESIGN.md of your current site](https://www.design-extractor.com/#extract) ### Related guides - **[Make Claude Code and Cursor build UI that matches a website](https://www.design-extractor.com/guides/make-ai-ui-match-a-website)** Extract a site you like, drop its DESIGN.md into your repo and point your agent to it, with the exact prompts for Claude Code and Cursor. - **[No designer? Borrow a proven design system for your app](https://www.design-extractor.com/guides/design-system-without-a-designer)** How to pick a reference site, what to keep from its DESIGN.md and what to change so the result is yours and not a copy. - **[Blend two reference sites into one design for a prototype](https://www.design-extractor.com/guides/blend-two-website-designs)** Compare two extracted DESIGN.md files token by token and merge them into one spec for a prototype, by hand or with your agent. - **[Give your coding agent design specs on demand with MCP](https://www.design-extractor.com/guides/design-specs-for-coding-agents)** Connect the MCP server so your agent can extract a site's DESIGN.md on its own, wait for it and build from it. [See all DESIGN.md guides](https://www.design-extractor.com/guides) --- Source: https://www.design-extractor.com/guides/blend-two-website-designs Guide ## Blend two reference sites into one design for a prototype “Make it feel like Notion meets Stripe.” Clients brief prototypes like this all the time. With a DESIGN.md for each site you can turn that sentence into one concrete spec: compare the tokens side by side, decide which file leads, and merge. Design Extractor gives you the two files. The merge is yours to make, by hand or with your coding agent, and this guide shows both. Written for designers and agencies prototyping. Updated 2026-10-19. ### What you'll get - Two DESIGN.md files compared token by token, so the differences are concrete. - A merge plan: one file as the base, named token groups from the other. - The merged DESIGN.md, made by hand or by your agent with the prompt below. - A contrast check, so the blend still reads well. ### How blending works A blend is not an average. Mixing half of one palette with half of another gives you a site that looks like neither. What works is one base file plus a few named parts from the other: - The base gives the structure: type scale, spacing, radii and component recipes. - The accent lends whole groups, such as its primary color family or its display font, never single stray values. Both files follow [Google's DESIGN.md specification](https://github.com/google-labs-code/design.md/blob/main/docs/spec.md), so the groups line up: `colors`, `typography`, `rounded`, `spacing` and `components`. See [what a DESIGN.md contains](https://www.design-extractor.com/docs/design-md) for the full structure. ### Steps 1. Get both files Copy them from the [gallery](https://www.design-extractor.com/gallery) if they are there, or paste each URL on the [Design Extractor home page](https://www.design-extractor.com/) and run a Pro extraction for each. 2. Put them side by side Compare primary colors, backgrounds, fonts, type sizes and radii, as in the table below. 3. Pick the base Choose the site whose layout and density match the prototype. 4. Name what the accent lends Write it down as token groups, such as “its primary color family”. 5. Merge by hand or with your agent Both ways are below. Save the result as DESIGN.md in the prototype repo. 6. Check contrast and structure Paste the merged file into the free [DESIGN.md Validator](https://www.design-extractor.com/tools/design-md-validator). ### Worked example: Notion meets Stripe Two real files from the gallery: [Notion's DESIGN.md](https://www.design-extractor.com/gallery/notion) and [Stripe's DESIGN.md](https://www.design-extractor.com/gallery/stripe). Both were extracted from the brands' public websites and are not official brand guidelines. | | Notion | Stripe | | --- | --- | --- | | Primary | #0075DE | #533AFD | | Background | #FFFFFF | #FFFFFF | | Text | #000000 | #061B31 | | Fonts | Notion Inter, Lyon Text | Sohne | | Largest type | hero-display, 96px, weight 600 | hero-display, 56px, weight 500 | | Body type | body, 16px, weight 400 | body-lg, 18px, weight 300 | | Button radius | 8px | 4px | | Color tokens | 20 | 21 | | Component recipes | 14 | 71 | #### One way to blend them Take Notion as the base for its type, spacing, radii and components, and let Stripe lend its primary color family (`primary`, `primary-focus`, `primary-bright`, `primary-pressed`, `primary-deep`, `primary-soft`). That is the classic “our layout, their energy” brief. Check the numbers before you commit to it. Stripe's primary on Notion's background has a contrast of 6.1:1. Notion's `on-primary` text on the new primary reaches 6.1:1. Body text needs at least 4.5:1 under WCAG AA; large text and icons need 3:1. One trap: Notion's own primary, `#0075DE`, appears 65 times in its file, mostly inside component recipes. Replacing the token at the top is not enough; every copy has to change. Illustration of the hand merge described above, assembled by this page from the two gallery files: Notion's tokens with Stripe's primary family, abridged. It is not a Design Extractor feature and not agent output. ``` --- name: Notion and Stripe prototype colors: primary: "#533AFD" primary-focus: "#5452FB" primary-bright: "#635BFF" primary-pressed: "#4032C8" primary-deep: "#2E2B8C" primary-soft: "#D6D9FC" on-primary: "#FFFFFF" ink: "#000000" typography: hero-display: fontFamily: Notion Inter fontSize: 96px fontWeight: 600 lineHeight: 1.05 letterSpacing: -4.6px body: fontFamily: Notion Inter fontSize: 16px fontWeight: 400 lineHeight: 1.5 letterSpacing: normal rounded: xs: 4px sm: 8px md: 12px full: 9999px --- ``` ### Merge by hand 1. Copy the base file to DESIGN.md and change its `name`. 2. In `colors`, replace the base's primary family with the accent's values. 3. Search the whole file for each old hex value and replace it. Component recipes repeat the colors in their CSS, so the token list alone is not enough. 4. Rewrite the Overview and Colors prose so they describe the blend, not either brand. 5. Check the file in the validator and fix any contrast warnings. ### Merge with your agent Save both files in the prototype repo, for example under `design/`, and give your agent a prompt that names the base, the groups to take and the checks to run. This one was written for this guide with the real file and token names. ``` Read design/notion.DESIGN.md and design/stripe.DESIGN.md. Write DESIGN.md for our prototype: - Start from the Notion file: keep its typography, spacing, rounded tokens and component recipes. - Take Stripe's primary color family (primary, primary-focus, primary-bright, primary-pressed, primary-deep, primary-soft) and use it wherever the Notion file uses its own primary colors, including inside the component recipes. - Rename the file and rewrite the Overview and Colors prose so they describe the blend, not either brand. - Keep the section order of Google's DESIGN.md spec, and make sure text on the new primary meets 4.5:1 contrast. List every value you changed. ``` Review what comes back like any other change: read the diff, then paste the file into the validator. The agent does the typing; the decisions in the prompt are still yours. ### Files used in this guide Each gallery page has the full DESIGN.md to download, with its palette and type specimen. - [ Software & SaaS · Productivity & Notes **Notion** Notion's marketing homepage pairs a deep navy (#02093a) hero section with a light (#f6f5f4) body, using a custom typeface (NotionInter) across all text roles. The design employs a 12-column grid with 28px gutters, a dual-radius language (8px for cards, 9999px for pills), and a multi-layer progressive shadow system for floating UI elements. Brand blue (#2537b1) drives CTAs and accent highlights, while a semantic gray-scale ladder (gray-200 through gray-900) structures all text and surface hierarchy.](https://www.design-extractor.com/gallery/notion) - [ Finance & Fintech **Stripe** Stripe's marketing homepage uses a tightly controlled design system (HDS — Stripe Design System) built around the variable font "sohne-var" at light weights (300–400), a deep navy-to-indigo brand palette anchored by #533afd (Stripe Indigo), and a signature full-bleed spectral gradient hero. Components are low-radius (4–6px), flat-to-minimal-shadow, and structured around an 8px base spacing grid. The overall tone is authoritative yet approachable — financial infrastructure communicated through confident typography and restrained color use.](https://www.design-extractor.com/gallery/stripe) - [ Travel, Transport & Logistics **Airbnb** Airbnb's design system is built around a single proprietary variable font (Airbnb Cereal VF), a near-monochrome neutral palette anchored by deep charcoal (#222222) and light grays, with the brand's signature "Rausch" coral-pink (#ff385c) reserved exclusively for primary CTAs and the logo. The layout is a responsive photo-card grid with generous image-to-text ratios, soft 20px rounded corners on cards, and a multi-layer ambient shadow system that creates subtle depth without harsh contrast. The search bar is a prominent pill-shaped container that unifies the core user action.](https://www.design-extractor.com/gallery/airbnb) [Browse all DESIGN.md examples](https://www.design-extractor.com/gallery) FAQ ### Blend two website designs into one: questions Short answers to what people ask before they try this. #### Can Design Extractor merge two DESIGN.md files for me? No, there is no merge feature. Each extraction returns the DESIGN.md of one site. You merge two files by hand, or you ask your coding agent to do it with a prompt like the one in this guide, and then review the result. #### How many sites should I blend? Two, sometimes three. One file is the base and gives the structure: type scale, spacing, radii and components. The others lend a named part, such as a color family or a display font. Mixing values from more files makes the result look patched together. #### Which file should be the base? The one whose layout and density match the prototype. If the client wants a calm document-like product with one site's colors, the calm site is the base and the other lends its colors, not the other way round. #### How do I check the blend still works? Paste the merged file into the free DESIGN.md Validator. It checks the structure and flags text colors with too little contrast. Then build one real screen with it before you show the client. ### Get the two files for your brief Paste each reference site's URL and get its DESIGN.md, ready to compare and merge. [Get a DESIGN.md from any website](https://www.design-extractor.com/#extract) ### Related guides - **[Make Claude Code and Cursor build UI that matches a website](https://www.design-extractor.com/guides/make-ai-ui-match-a-website)** Extract a site you like, drop its DESIGN.md into your repo and point your agent to it, with the exact prompts for Claude Code and Cursor. - **[No designer? Borrow a proven design system for your app](https://www.design-extractor.com/guides/design-system-without-a-designer)** How to pick a reference site, what to keep from its DESIGN.md and what to change so the result is yours and not a copy. - **[Rebuilding your site? Extract its design system first](https://www.design-extractor.com/guides/extract-design-system-before-a-rebuild)** Capture your current site as a DESIGN.md before a rebuild, rebrand or framework move, and know what to check by hand. - **[Give your coding agent design specs on demand with MCP](https://www.design-extractor.com/guides/design-specs-for-coding-agents)** Connect the MCP server so your agent can extract a site's DESIGN.md on its own, wait for it and build from it. [See all DESIGN.md guides](https://www.design-extractor.com/guides) --- Source: https://www.design-extractor.com/guides/design-specs-for-coding-agents Guide ## Give your coding agent design specs on demand with MCP Your agent can fetch a design spec the way it fetches docs. Connect Design Extractor's MCP server and the agent can extract any public site's DESIGN.md, wait for the run, read the file and build from it, all inside one task. No copying files around and no browser tab: you name a site in the prompt, and the spec arrives in the agent's context. Written for developers building agents and agent workflows. Updated 2026-10-19. ### What you'll get - The MCP server connected to Claude Code, Codex, Cursor or claude.ai, signed in with your account or an API key. - The tool flow an agent follows: check, extract, wait, read. - Prompts that make the agent do the whole loop, from extraction to UI. - What it costs and the limits to plan around. ### What the agent gets The server lives at `https://www.design-extractor.com/api/mcp` and speaks streamable HTTP. Through it an agent can start an extraction of a public site, wait for it, read the finished [DESIGN.md](https://www.design-extractor.com/docs/design-md), check the price and your balance, and list what you extracted before. Every run also appears in My extractions on the site, like any other. The file is the same one the site produces: tokens for colors, typography, spacing, radii and components at the top, and the rules for using them below. It follows [Google's DESIGN.md specification](https://github.com/google-labs-code/design.md/blob/main/docs/spec.md), so the agent can read it like any other spec. ### Connect the server Pick your client. Claude Code, Codex, claude.ai, Claude Desktop and ChatGPT sign in with your account; Cursor and scripts use an API key. 1. Add the server once. No key needed. ``` claude mcp add --transport http design-extractor https://www.design-extractor.com/api/mcp ``` 2. Run `/mcp`, pick design-extractor and choose Authenticate. Sign in and approve on the page that opens. 3. Ask for a site: “extract the design of stripe.com”. Claude Code, Codex, claude.ai, Claude Desktop and ChatGPT sign in with your account. Cursor, n8n and scripts use a personal API key from the account page. For Claude Code and Codex there is also a plugin. It bundles the server with an `apply-designmd` skill that walks the agent through extracting a reference site and applying its DESIGN.md to your codebase. After the install, run `/mcp` in Claude Code and authenticate the plugin's server. ``` /plugin marketplace add Magentix-Studio/design-extractor-plugin /plugin install design-extractor@design-extractor ``` ``` codex plugin marketplace add Magentix-Studio/design-extractor-plugin codex plugin add design-extractor@design-extractor ``` Every client, the Agent SDK snippet and the key settings are on the [MCP server docs page](https://www.design-extractor.com/docs/mcp). ### The tools and the order to call them | Tool | What it does | | --- | --- | | `list_my_extractions` | Your extractions, newest first. Call it first so a site you already have is not paid for twice. | | `get_pricing` | The current credit cost of an extraction. | | `get_credits` | Your remaining credit balance. | | `extract_design` | Starts an extraction of a public URL and spends the credits. Pass tier PRO to sample the site's key pages. Returns as soon as the run is queued. | | `get_extraction` | Takes the site's name or URL. Returns the status while the run works, then the full DESIGN.md text. A failed run says why. | A run takes at least a minute, so the flow is start, then poll. The server tells the agent this itself; you only name the site. ``` 1. list_my_extractions is the site already there? 2. extract_design url and tier PRO 3. wait about 60 seconds 4. get_extraction site name, every 25 seconds until COMPLETED 5. save the DESIGN.md text and build from it ``` ### Worked example: Supabase Say the agent is asked to build in the style of supabase.com. When `get_extraction` reports the run as complete, it returns the whole DESIGN.md as text. The [Supabase DESIGN.md](https://www.design-extractor.com/gallery/supabase) in the gallery comes from the same kind of Pro run, so it shows what lands in the agent's context. It starts like this: The top of Supabase's DESIGN.md from the gallery, abridged to a few tokens per group. ``` --- name: Supabase colors: primary: "#0E7E4E" primary-fill: "#007243" primary-deep: "#15593B" focus-ring: "#30BA79" brand: "#3FCF8E" brand-tint: "#A9F1CA" typography: hero-display: fontFamily: Manrope fontSize: 46px fontWeight: 500 lineHeight: 1 letterSpacing: normal body: fontFamily: Inter fontSize: 16px fontWeight: 450 lineHeight: 1.5 letterSpacing: normal rounded: xs: 2.66667px sm: 4px md: 5.33333px --- ``` Extracted from Supabase's public website, not official brand guidelines. [Read the full Supabase DESIGN.md](https://www.design-extractor.com/gallery/supabase) Below the tokens come the sections the agent reads for rules and recipes: Overview, Colors, Typography, Layout, Elevation & Depth, Shapes, Components, Do's and Don'ts, Responsive Behavior, Iteration Guide, Known Gaps. The Components section alone holds 49 recipes in HTML and CSS, so the agent rebuilds a button or a card from measured values instead of guessing them. ### Prompts Name the tools, the site and what happens with the file. These prompts were written for this guide; change the site and the task. Extract and build in one task ``` Use the design-extractor tools to get a Pro DESIGN.md of supabase.com. Check list_my_extractions first, so we don't pay twice for a recent run. When it is complete, save it as DESIGN.md in the repo root. Then restyle src/app/settings with its color, typography and rounded tokens and its component recipes. Keep the layout and logic as they are. ``` Compare before you choose ``` Get Pro DESIGN.md files for supabase.com and linear.app with the design-extractor tools. Compare their primary colors, fonts and radii in a short table, and tell me which one fits a dense admin dashboard better and why. ``` Building your own agent? Pass the server in the Agent SDK's `mcpServers` option with an API key and allow `mcp__design-extractor__*`; the [MCP docs](https://www.design-extractor.com/docs/mcp) have the full snippet. ### Credits and limits - Same credits as the site. A Pro extraction costs 10 credits, whether you start it on the site or your agent starts it. Top up on [Pricing](https://www.design-extractor.com/pricing). - No double charge for your own recent runs. Asking for a site you extracted recently reuses that extraction. - Public pages only. Pages behind a login, on localhost or on a private network are not supported. - Keys. Up to five active API keys, each valid for one year and revocable on your account page. A signed-in client renews its own token; disconnect it on the same page. ### Files used in this guide Want to see full files before you connect? These gallery pages have the complete DESIGN.md your agent would receive for a run on each site. - [ Developer & Infrastructure · Developer Tools & IDEs **Supabase** Supabase uses a dark-first design system anchored by a deep near-black background (oklch ~0.19) with a vivid green brand accent (#3ecf8e / #3fcf8e). The layout is structured around a responsive feature card grid, with Manrope for display headings and Inter for body/UI text. Source Code Pro handles all monospace/code contexts. The color system is built on oklch custom properties with semantic naming. Cards use 12px radius with subtle border treatment, buttons use 6–8px radius, and the overall density is moderate with an 8px base spacing grid.](https://www.design-extractor.com/gallery/supabase) - [ AI & Machine Learning · AI Products & Assistants **Anthropic** Anthropic's design system is a restrained, typographically-led identity built around two custom typefaces — Anthropic Serif and Anthropic Sans — set against a warm ivory background (#faf9f5). The palette is deliberately minimal: near-black (#141413) on warm off-white, with muted stone tones for secondary text and borders. Large-scale serif display type anchors the editorial voice, while a dark-panel section (near-black background with ivory text) creates dramatic contrast. The overall aesthetic communicates intellectual seriousness and safety-first mission through generous whitespace, high typographic contrast, and zero decorative ornamentation.](https://www.design-extractor.com/gallery/anthropic) - [ Developer & Infrastructure · Developer Tools & IDEs **Railway** Railway's design system is a dark-first developer platform UI anchored in deep near-black navy surfaces (#13111c, #0b0b0f), high-contrast off-white text (#f7f7f8), and a distinctive purple brand accent (#853bce / #553f83). The hero uses IBM Plex Serif for editorial weight, while Inter handles all UI copy and JetBrains Mono / SF Mono serve code contexts. Elevation is achieved through inset white-glow borders (rgba(255,255,255,0.2) 1.5px inset) rather than drop shadows, giving the UI a glass-panel aesthetic. The spacing system is 4px-based with a strong 8/12/16/24/32 rhythm. Border radii are tight (4px dominant) with selective 8px and 16px for cards and hero containers.](https://www.design-extractor.com/gallery/railway) [Browse all DESIGN.md examples](https://www.design-extractor.com/gallery) FAQ ### Design specs for coding agents over MCP: questions Short answers to what people ask before they try this. #### Does an extraction through MCP cost the same as on the site? Yes. It uses the same account and the same prepaid credits: a Pro extraction costs 10 credits. The agent can call get_pricing for the current cost and get_credits for your balance; when the balance is short, extract_design refuses and says so. #### Do I need an API key? Not for clients that sign in: claude.ai, Claude Desktop, ChatGPT, Claude Code and Codex open a consent page once and keep a token that renews itself. Cursor, n8n, scripts and the Agent SDK use a personal API key from your account page. #### How long does an extraction take? At least a minute. extract_design returns right away; the agent waits about a minute, then calls get_extraction with the site every 25 seconds until the DESIGN.md is ready. #### Will the agent pay twice for the same site? Not for a site you extracted recently: asking again reuses your extraction and the reply says no credits were charged. A site that only other people extracted still costs the normal price. list_my_extractions shows what you already have. #### Can the agent extract localhost or a staging site behind a login? No. The server captures the page from its URL, so pages behind a login, on localhost or on a private network are not supported. Deploy a public preview, or extract the live site. ### Want to see a DESIGN.md before you connect? Run one extraction on the site. Your agent gets the same file through the server. [Get a DESIGN.md from any website](https://www.design-extractor.com/#extract) ### Related guides - **[Make Claude Code and Cursor build UI that matches a website](https://www.design-extractor.com/guides/make-ai-ui-match-a-website)** Extract a site you like, drop its DESIGN.md into your repo and point your agent to it, with the exact prompts for Claude Code and Cursor. - **[No designer? Borrow a proven design system for your app](https://www.design-extractor.com/guides/design-system-without-a-designer)** How to pick a reference site, what to keep from its DESIGN.md and what to change so the result is yours and not a copy. - **[Rebuilding your site? Extract its design system first](https://www.design-extractor.com/guides/extract-design-system-before-a-rebuild)** Capture your current site as a DESIGN.md before a rebuild, rebrand or framework move, and know what to check by hand. - **[Blend two reference sites into one design for a prototype](https://www.design-extractor.com/guides/blend-two-website-designs)** Compare two extracted DESIGN.md files token by token and merge them into one spec for a prototype, by hand or with your agent. [See all DESIGN.md guides](https://www.design-extractor.com/guides) --- # Free tools Source: https://www.design-extractor.com/tools/design-md-validator Free tool, no signup ## DESIGN.md validator Paste or upload a DESIGN.md to check it against [the DESIGN.md format](https://www.design-extractor.com/docs/design-md): frontmatter, colors, token references, section order and text contrast, with a live preview of its tokens. Validation runs in your browser and the file is not uploaded. Need a starting point? Browse [real DESIGN.md examples](https://www.design-extractor.com/gallery) extracted from live sites. FAQ ### DESIGN.md validator questions Short answers about the free DESIGN.md Validator. #### What does the validator check? The YAML frontmatter, the required primary color, that colors are written in a color format (hex, rgb, hsl, oklch, a color name and the like), font sizes and radii in px, em or rem, typography properties, component properties and their token references (including references left unquoted, which YAML does not read as text), the omitted list, duplicate or out-of-order sections, and the contrast between each component's text and background colors against the WCAG AA minimum of 4.5:1. Errors make the file invalid; warnings flag things worth fixing. #### Is my file uploaded anywhere? No. Validation runs entirely in your browser: the text you paste or the file you pick is never sent to our servers. The only requests the preview makes are for font stylesheets: our server fetches them from Google Fonts, and they carry just the font family names from your typography tokens. #### Which spec version does it follow? Google's DESIGN.md format as used by Stitch and published in the google-labs-code/design.md repository. The validator applies the same rules Design Extractor uses to check every DESIGN.md it generates, plus a contrast check on component colors. #### How do I fix an unresolved token reference? A reference such as "{colors.brand}" has to name a token that exists in the frontmatter, here a brand entry under colors. Add the missing token or point the reference at one that exists. Keep references in quotes: YAML reads an unquoted {colors.brand} as a mapping, not as text. #### Can I lint DESIGN.md in CI? Yes. Google's open-source command-line tool checks a file in your pipeline: run npx @google/design.md lint DESIGN.md. It prints a JSON report and exits with code 1 when it finds errors, so the job fails on a broken file. Its rule set overlaps with this page but some severities differ. ### More free tools [See all free tools](https://www.design-extractor.com/tools) - ** Website Font Finder** Enter a URL to see which fonts a website uses, free and without signup. [Open the Website Font Finder](https://www.design-extractor.com/tools/website-font-finder) - ** Website Color Palette Extractor** Enter a URL to get the color palette of a website, ready to copy. [Open the Website Color Palette Extractor](https://www.design-extractor.com/tools/website-color-palette) ### No DESIGN.md yet? Extract one from any website URL and get its colors, typography, spacing and components in a single DESIGN.md. [Extract a DESIGN.md from your site](https://www.design-extractor.com/#extract) --- Source: https://www.design-extractor.com/tools/website-font-finder Free tool, no signup ## What font does this website use? Paste a URL to see the fonts a website uses, with weights, sizes and where each one appears. Free, no signup. See worked examples like [Anthropic’s fonts](https://www.design-extractor.com/gallery/anthropic) and [Airbnb’s fonts](https://www.design-extractor.com/gallery/airbnb), or learn what a [DESIGN.md](https://www.design-extractor.com/docs/design-md) adds on top. ### Use these fonts in your code The finder gives you the family names, their weights and where each one sets text. To reuse them, load each family once, give every role a CSS variable, and always end the stack with fallbacks so text still renders while the font downloads or if it fails to load. **1. Load the font.** For a Google Fonts family, add its `` tag or use `next/font/google`, and request only the weights the finder listed. For a commercial font, buy a web license from the foundry and serve its files with `@font-face`. **2. Name the roles.** One variable per job: display for headings, body for running text, mono for code. Swap the family names for the ones you found. ``` :root { --font-display: "Inter Display", "Inter", system-ui, sans-serif; --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif; --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", monospace; } h1, h2, h3 { font-family: var(--font-display); font-weight: 600; } body { font-family: var(--font-body); font-weight: 400; } code, pre { font-family: var(--font-mono); } ``` **3. Use them in Tailwind.** The same stacks become `font-display`, `font-sans` and `font-mono` utilities. ``` /* app.css, Tailwind CSS v4 */ @theme { --font-display: "Inter Display", "Inter", system-ui, sans-serif; --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif; --font-mono: "JetBrains Mono", ui-monospace, monospace; } ``` Families are half of a type system. The sizes, line heights and letter spacing of each level live in the typography section of a [DESIGN.md](https://www.design-extractor.com/docs/design-md), which your coding agent can apply across every screen. FAQ ### Font finder questions Short answers about the free Website Font Finder. #### How does it detect fonts? It opens the page in a real browser and reads the computed font of every visible piece of text: the family the browser actually rendered, plus its weight and size. Families are then grouped and ranked by how much text they set. #### Can I download the font? No. Fonts are licensed software, and a site's license usually covers only that site. If the family is on Google Fonts you can get it there for free; otherwise look up its foundry and buy a license for your own use. #### Why is a font missing? It reads the one page you enter and lists up to eight families. It only sees text that page shows to a fresh visitor: text behind a login wall, pages that block automated browsers, and lettering drawn as images or SVG are not read, so their fonts do not appear. #### Does it work for Google Fonts and Adobe Fonts? Yes. Any web font the page renders is detected, whether it comes from Google Fonts, Adobe Fonts or the site's own servers. Google fonts are previewed in their real face; others are shown in a fallback. #### Can I check a font by hand? Yes, one element at a time. In Chrome or Edge, right-click the text, choose Inspect and scroll the Computed tab to Rendered Fonts, which names the font actually drawn. In Firefox, the Fonts panel in the Inspector lists the fonts of the selected element and every font the page loaded. #### What's the difference from a full DESIGN.md? This tool lists fonts only. A DESIGN.md from Design Extractor covers the colors, the full type scale, spacing and component rules of a site, in one file your coding agent can follow. ### More free tools [See all free tools](https://www.design-extractor.com/tools) - ** DESIGN.md Validator** Paste a DESIGN.md to check its structure and tokens and preview it, right in the browser. [Open the DESIGN.md Validator](https://www.design-extractor.com/tools/design-md-validator) - ** Website Color Palette Extractor** Enter a URL to get the color palette of a website, ready to copy. [Open the Website Color Palette Extractor](https://www.design-extractor.com/tools/website-color-palette) ### Need the whole design system? Get a DESIGN.md with the colors, type scale, spacing and components of any site, ready for your coding agent. [Get a DESIGN.md](https://www.design-extractor.com/#extract) --- Source: https://www.design-extractor.com/tools/website-color-palette Free tool, no signup ## Extract a color palette from any website Paste a URL to get the site’s brand, text, background and accent colors with hex codes, ranked by use. Free, no signup. See full examples for [Stripe’s DESIGN.md](https://www.design-extractor.com/gallery/stripe) and [Linear’s DESIGN.md](https://www.design-extractor.com/gallery/linear), or learn what a [DESIGN.md](https://www.design-extractor.com/docs/design-md) adds on top. ### Use this palette in your code The extractor groups the colors by role (background, surface, text, brand, accent and border) and ranks them by how much of the page each covers. To reuse them, give each role a name instead of pasting hex codes across your styles, so one change updates every place the color appears. **1. Name colors by role, not by hue.** `--color-text-muted` still makes sense after a redesign; `--gray-600` does not say where it belongs. Swap in the hex codes you copied. ``` :root { --color-brand: #635bff; --color-text: #0a2540; --color-text-muted: #425466; --color-surface: #ffffff; --color-surface-muted: #f6f9fc; --color-border: #e3e8ee; } body { background: var(--color-surface); color: var(--color-text); } a, .button-primary { color: var(--color-brand); } ``` **2. Use them in Tailwind.** Each variable becomes a set of utilities such as `bg-surface`, `text-ink-muted` and `border-line`. ``` /* app.css, Tailwind CSS v4 */ @theme { --color-brand: #635bff; --color-ink: #0a2540; --color-ink-muted: #425466; --color-surface: #ffffff; --color-surface-muted: #f6f9fc; --color-line: #e3e8ee; } ``` **3. Check the pairs you use.** Body text needs a contrast ratio of at least 4.5:1 against its background, and large text 3:1. The extractor shows the ratio of the main text color on the page background; check any other pair you plan to use before you ship it. Colors are one layer of a design system. A [DESIGN.md](https://www.design-extractor.com/docs/design-md) keeps them next to the type scale, spacing and component rules, so your coding agent uses the right color in the right place. FAQ ### Color palette questions Short answers about the free Website Color Palette Extractor. #### How are the colors picked? The page is loaded in a real browser and the colors it paints are measured by how much of the page they cover. Each color gets a best-guess role: background, panel, text, brand, accent or border. #### Why are there fewer colors than I expected? The palette lists colors the page actually uses, ranked by coverage and capped at twelve. Colors inside images or videos, colors that only appear on hover, and colors used on other pages of the site are not counted. #### Does it read dark mode? No. It reads the page in the theme a fresh visitor sees by default, usually light. Sites that are dark by default come back dark. A full DESIGN.md covers dark mode when the site has one. #### Can I export the palette? Not as a file. You can copy the hex codes: select a swatch for one, or copy all at once, one per line. #### Can I pick a color by hand? Yes, one pixel at a time. In Chrome or Edge, right-click an element, choose Inspect and click the color square next to any color in the Styles pane; its picker has an eyedropper that reads any point on the page. Firefox has the same eyedropper in the Inspector toolbar. #### What's the difference from a full DESIGN.md? This tool lists colors only. A DESIGN.md covers the colors with their roles, the type scale, spacing and component rules of a site, in one file your coding agent can follow. ### More free tools [See all free tools](https://www.design-extractor.com/tools) - ** DESIGN.md Validator** Paste a DESIGN.md to check its structure and tokens and preview it, right in the browser. [Open the DESIGN.md Validator](https://www.design-extractor.com/tools/design-md-validator) - ** Website Font Finder** Enter a URL to see which fonts a website uses, free and without signup. [Open the Website Font Finder](https://www.design-extractor.com/tools/website-font-finder) ### Need the whole design system? Get a DESIGN.md with the colors, type scale, spacing and components of any site, ready for your coding agent. [Get a DESIGN.md](https://www.design-extractor.com/#extract) --- # Pricing Source: https://www.design-extractor.com/pricing Prepaid credit packs, no subscription: buy a pack once and spend it whenever. Credits never expire. Prices in USD; tax is shown at checkout where applicable. - A Pro extraction (it samples the key pages of the site) costs 10 credits. - A run through a browser in another country, for sites that block some regions, costs 6 credits more. Countries: US, GB, DE, FR, NL, ES, IT, SE, PL, CH, AT, BE, DK, NO, FI, IE, PT, CZ, CA, MX, BR, AR, AU, NZ, JP, KR, SG, IN, ID, TH, MY, PH, VN, TR, AE, SA, IL, ZA, NG, EG. - Starter: $5 for 50 credits. Try the full pipeline on your own projects. - Plus: $10 for 110 credits (10% bonus included). For regular extractions, with a 10% credit bonus. - Max: $25 for 300 credits (20% bonus included). Best for heavy use and teams, with a 20% credit bonus. --- # Gallery Source: https://www.design-extractor.com/gallery Pre-extracted DESIGN.md files from real websites, one page per site with its colors, typography, spacing and components. Copy one as a starting template, or extract any other public URL. Sites (24): - [Airbnb](https://www.design-extractor.com/gallery/airbnb) (https://www.airbnb.com/): Airbnb's design system is built around a single proprietary variable font (Airbnb Cereal VF), a near-monochrome neutral palette anchored by deep charcoal (#222222) and light grays, with the brand's... - [Anthropic](https://www.design-extractor.com/gallery/anthropic) (https://www.anthropic.com/): Anthropic's design system is a restrained, typographically-led identity built around two custom typefaces — Anthropic Serif and Anthropic Sans — set against a warm ivory background (#faf9f5). - [Apple](https://www.design-extractor.com/gallery/apple) (https://www.apple.com/): Design tokens extracted from CSSOM frequency analysis without LLM interpretation. - [Dribbble](https://www.design-extractor.com/gallery/dribbble) (https://dribbble.com/): Dribbble's design system is built on a deep near-black navy (#0d0c22) paired with a crisp white surface, punctuated by a signature hot-pink (#ea4c89) accent used sparingly for editorial emphasis an... - [Duolingo - The world’s most popular way to learn](https://www.design-extractor.com/gallery/duolingo) (https://www.duolingo.com/): Design tokens extracted from CSSOM frequency analysis without LLM interpretation. - [Figma](https://www.design-extractor.com/gallery/figma) (https://figma.com/): Figma's marketing site uses a stark black-and-white monochrome system anchored by its proprietary figmaSans variable font. - [Harvey](https://www.design-extractor.com/gallery/harvey) (https://www.harvey.ai/): Harvey's design system is built around a bespoke dual-typeface identity — HarveySerifFont for editorial authority and HarveySansFont for functional clarity — set against a warm near-black (#0f0e0d)... - [IKEA](https://www.design-extractor.com/gallery/ikea) (https://ikea.com/): IKEA's global homepage uses a bold, flat design system anchored by the iconic IKEA Yellow (#ffdb00) as the primary action surface and IKEA Blue (#0058a3) as the brand logo accent. - [Klarna](https://www.design-extractor.com/gallery/klarna) (https://www.klarna.com/): Klarna's design system features a sophisticated dark navy primary color (#0b051d) with bright accent colors including their signature pink (#ffa8cd). - [Linear](https://www.design-extractor.com/gallery/linear) (https://linear.app/?utm_source=chatgpt.com): Linear's design system is a dark-first, high-density product UI built for engineering teams. - [Magentix Studio](https://www.design-extractor.com/gallery/magentix) (https://www.magentix.studio): Magentix Studio dresses an AI-first product studio in editorial, art-gallery clothing. - [Neon](https://www.design-extractor.com/gallery/neon) (https://neon.com/): Neon's design system is a dark-first developer brand built on a near-black canvas (#000000, #18191b) with a vivid neon-green primary (#00e599) and a supporting mid-green (#34d59a). - [Notion](https://www.design-extractor.com/gallery/notion) (http://notion.com/): Notion's marketing homepage pairs a deep navy (#02093a) hero section with a light (#f6f5f4) body, using a custom typeface (NotionInter) across all text roles. - [Paperclip](https://www.design-extractor.com/gallery/paperclip) (https://paperclip.ing/): Paperclip is an AI agent management platform with a bold dark-canvas design anchored by a near-black (#0a0a0a) background and white (#ffffff) foreground text. - [PayPal](https://www.design-extractor.com/gallery/paypal) (https://www.paypal.com/): PayPal's Dutch homepage uses a bold, consumer-facing design anchored by a vivid sky-blue (#60cdff) hero section with ultra-heavy black display typography (PayPal Pro w900). - [Railway](https://www.design-extractor.com/gallery/railway) (https://railway.com/): Railway's design system is a dark-first developer platform UI anchored in deep near-black navy surfaces (#13111c, #0b0b0f), high-contrast off-white text (#f7f7f8), and a distinctive purple brand ac... - [Shopify](https://www.design-extractor.com/gallery/shopify) (https://www.shopify.com/): Shopify's marketing homepage uses a dramatic full-bleed video hero with a near-black (#02090a) background that contrasts sharply with the white navigation bar above. - [Snapchat](https://www.design-extractor.com/gallery/snapchat) (https://www.snapchat.com/): Snapchat's web presence uses a high-contrast light theme anchored by its iconic #FFFC00 brand yellow, near-black (#121314) primary surfaces, and a clean white page background. - [Stripe](https://www.design-extractor.com/gallery/stripe) (https://stripe.com/nl): Stripe's marketing homepage uses a tightly controlled design system (HDS — Stripe Design System) built around the variable font "sohne-var" at light weights (300–400), a deep navy-to-indigo brand p... - [Supabase](https://www.design-extractor.com/gallery/supabase) (https://supabase.com/): Supabase uses a dark-first design system anchored by a deep near-black background (oklch ~0.19) with a vivid green brand accent (#3ecf8e / #3fcf8e). - [The Onion](https://www.design-extractor.com/gallery/theonion) (https://theonion.com/): The Onion's design system is a digitized satirical newspaper: bold condensed gothic headlines in black, a distinctive forest-green (#006b3a) brand accent used for section labels, trending badges, a... - [Uber](https://www.design-extractor.com/gallery/uber) (https://www.uber.com/): Uber's design language combines clean minimalism with vibrant illustrations to create an approachable yet professional transportation platform. - [WIRED](https://www.design-extractor.com/gallery/wired) (https://www.wired.com/): WIRED's design system is a high-contrast, editorially-driven monochrome framework built around a proprietary type system (Breve Text, WIRED Mono, WiredDisplay, Apercu) and a near-zero chromatic pal... - [xAI](https://www.design-extractor.com/gallery/x) (https://x.ai/): xAI's marketing site uses a warm off-white surface palette anchored by --color-ivory (#f9f8f6) and --color-white (#ffffff), with near-black #0a0a0a as the dominant text and foreground color.