Use case · Design system audits

Automated Design System Audit for Your Live Site

Audit your design system against what production actually renders. Extract the colors, type and spacing of your live pages, compare them with your design tokens, and catch off-system values on every deploy.

300 free credits a month · no credit card

What you get

What the design system audit checks

  • Every rendered value

    Colors, font sizes and weights, spacing, radii and shadows, each with a usage count.

  • Where each color is used

    The CSS properties each color appears on: text, background, border.

  • Only what you check

    fields=colors,spacing returns just those groups, so the diff stays simple.

  • Standard formats

    JSON, CSS variables, a Tailwind config or a W3C Design Tokens file.

Perfect for

Who runs design system audits

  • Design system teams

    See how closely production follows the system, page by page.

  • Frontend platform and QA

    Add a token check to CI next to tests and linting.

  • Agencies maintaining client sites

    Spot off-brand values across many sites before the client does.

  • Teams after a rebrand

    Find the pages still rendering the old colors.

How it works

How to run a design system audit in CI

  1. Step 1

    Extract from production

    Call /v1/extract on your real public URLs, not staging or Storybook.

    /v1/extract10 credits Docs

  2. Step 2

    Compare with your tokens

    Check each rendered value against your design-system source of truth.

  3. Step 3

    Review the off-system values

    Results are sorted by usage, so the most widespread problem comes first.

  4. Step 4

    Run it in CI

    Warn or fail on new off-system values, so each one is caught when it ships.

Three ways to use it

From your code, your agent, or n8n

The same extraction, three doors: a REST endpoint for your app, an MCP tool for ChatGPT, Claude, Cursor or Codex, and a verified n8n node for automations. One account, one credit balance.

For developers

With one API call

One REST call from any language, with your API key. Typed JSON back.

1import tokens from './design-system/tokens.json'   // { colors: ["#533afd", …] }23const live = await fetch(4  `https://miromiro.app/api/v1/extract?url=${PROD_URL}&fields=colors,spacing`,5  { headers: { Authorization: `Bearer ${process.env.MIROMIRO_API_KEY}` } }6).then(r => r.json())78const approved = new Set(tokens.colors.map(c => c.toLowerCase()))9const offSystem = live.colors.filter(c => !approved.has(c.color.toLowerCase()))1011if (offSystem.length) {12  // Most-used first: [{ color: "#5b3dfd", count: 7, properties: ["background-color"] }, …]13  console.error('Colors in production that are not in the design system:', offSystem)14  process.exit(1)15}
API reference
For AI agents

Or just ask your agent

Connect once over MCP, then ask in plain words. No code.

ChatGPTClaudeClaude CodeCursorCodexand any MCP client
Setup for every agent

Check our homepage against tokens.json and list the colors it does not cover.

Called MiroMiro · extract_design_tokens · yoursite.com

Found 3 colors on yoursite.com that tokens.json does not cover. The most used is #5b3dfd, on 7 buttons.

For automations

Or run it in n8n

A verified n8n node with free, ready-made templates. Make, Zapier and any tool that sends an HTTP request can call the API too.

The template for this job: Get any website's brand kit as files

  1. Run

    Click Execute

  2. Settings

    Your website

  3. MiroMiro

    Brand kit

  4. MiroMiro

    Design tokens

  5. HTTP Request

    Download the logo

  6. Zip

    Brand kit

Compare

Automated audit vs tokens files, visual tests and manual audits

MiroMiroTokens file aloneVisual regression testsManual audit
Shows what production rendersYesNoYesYes
Exact values, not pixel diffsYesYesNoYes
Lists values no token coversYesNoNoPartly
Runs in CIYesYesYesNo
No baseline screenshots to maintainYesYesNoYes
FAQ

Frequently asked questions

What should a design system audit check?

On the live site: the colors in use against your color tokens, font families, sizes and weights against your type scale, spacing values against your spacing scale, and radii, shadows and breakpoints against theirs. MiroMiro returns each of those as a list with usage counts, so the audit is a diff rather than a spreadsheet filled in by hand.

Why not trust the design-system repo?

The repo says what production is supposed to use. What it actually renders depends on what shipped, which overrides won, and what third-party scripts injected. Drift usually arrives one hardcoded value at a time, and only the rendered page shows it.

Can I check just colors, or just spacing?

Yes. fields=colors,spacing returns only those groups. The cost is the same 10 credits - the parameter trims the response, not the work.

What about sites with light and dark themes?

colorSchemes in the response says whether the page declares both. When it does, the counts cover both themes together, so compare per role rather than treating the most-used color as the background.

Does it work on pages behind a login?

No. Extraction runs on publicly reachable URLs: marketing sites, docs, landing pages and public product pages.

How often should I run it?

On every deploy, on your key public pages. That catches a new value when it is introduced, which is when it is cheapest to fix. At 10 credits per page, a 20-page check is 200 credits.

Related

Try it on your own URL

300 free credits a month, no credit card. Works over REST or as an MCP server.

Get a free API key