Website design token extractor

Give it a website address. It runs the free designlang tool to read the site's colours, fonts, spacing, shadows and components, and checks text contrast against WCAG accessibility rules. You get 8 files, including a Tailwind theme, CSS variables, Figma variables and a design summary your AI can build from. It needs an AI that can run commands, such as Claude Code or Codex, and Node.js.

This is taking longer than expected.

Try againBrowse the library
AI Blocks

AI Blocks › Skills › Design things people love

Website design token extractor

Give it a website address. It runs the free designlang tool to read the site's colours, fonts, spacing, shadows and components, and checks text contrast against WCAG accessibility rules. You get 8 files, including a Tailwind theme, CSS variables, Figma variables and a design summary your AI can build from. It needs an AI that can run commands, such as Claude Code or Codex, and Node.js.

Skill · Free · No account · MIT licence · Made by Manavarya Singh · Updated 5 Nov 2026

At a glance

You give it
  • The address of the website whose design you want to read, and whether to include dark mode or more pages.
You get back
  • The site's colours, fonts, spacing, shadows and component styles, a contrast score, and 8 files you can use in code or Figma.
How long
One chat. Your AI works through 3 steps.

Download skill

Then add the file to your AI once and ask for it by name.

What you get

  • The site's colours, fonts, spacing, shadows and component styles, a contrast score, and 8 files you can use in code or Figma.

Other ways to use it

Copy the skill and paste it into any chat. Copying leaves out the supporting files, so use the download for those. How to use

Before and after this skill

Choose the steps you need. Bring your own material when you have it.

Before

Bring what the top of this page lists.

This skill

Website design token extractor

Open builder

After

Agents who use this

These named agents bring this to their jobs. Open one to see what else they do.

Specialists who do this

Each one uses this as one of its methods for a bigger job. Hire one for free and give it the job in your own AI.

Details

From Manavarya Singh. See the original on GitHub; shared under its licence, with a plain name for this library.

More for Design things people love

Every design things people love skill

How the task works

  • Read the site. It runs designlang on the address you give, with screenshots of buttons, cards and menus. It can also read dark mode or several pages.
  • Sum up the design. It reads the design summary and tells you the main colours with hex codes, the fonts, the spacing base, the contrast score and the notable choices.
  • Hand over the files. It points you to the file for your setup, such as the Tailwind theme, CSS variables, a shadcn/ui theme, Figma variables or the visual preview.

Full instructions

  • Download the skill folder. Follow the setup steps for your AI tool, or paste the instructions into a chat.
  • Ask your AI to follow this skill. Include the files and details listed on this page.

Full instruction file

Extract Design Language

Extract the complete design language from any website URL. Generates 8 output files covering colors, typography, spacing, shadows, components, breakpoints, animations, and accessibility.

Before you start

Use the material below to do this job. If facts or tool access are missing, explain what you can finish and what must wait.

What you need (use your own material or the linked skill):

  • Your website (yours): the link to your site or the page.

How to start:

  1. Look first. Use what they've already attached, pasted or put in their about-me note. In a coding assistant with file access, look in the project too for these by name.
  2. Check what's missing. Look for your website. They can attach files, paste the details, or share a file path your assistant can read. Ask only for missing facts that change the result. If they ask you to start with what they have, complete the parts you can and mark the gaps.
  3. Do the job. Follow the skill below with the facts and tools you have. Mark each gap with MISSING: where it belongs and never invent a fact to fill it.

Tools that do this best:

  • An AI that can run commands, with Node.js: The skill runs npx designlang, which downloads and runs the maker's open-source tool on your computer.
Prerequisites

Ensure designlang is available. Install if needed:

npm install -g designlang

Or use npx (no install required):

npx designlang <url>
Process
  1. Run the extraction on the provided URL:
npx designlang <url> --screenshots

For multi-page crawling: npx designlang <url> --depth 3 --screenshots For dark mode: npx designlang <url> --dark --screenshots

  1. Read the generated markdown file to understand the design:
cat design-extract-output/*-design-language.md
  1. Present key findings to the user:

    • Primary color palette with hex codes
    • Font families in use
    • Spacing system (base unit if detected)
    • WCAG accessibility score
    • Component patterns found
    • Notable design decisions (shadows, radii, etc.)
  2. Offer next steps:

    • Copy *-tailwind.config.js into their project
    • Import *-variables.css into their stylesheet
    • Paste *-shadcn-theme.css into globals.css for shadcn/ui users
    • Import *-theme.js for React/CSS-in-JS projects
    • Import *-figma-variables.json into Figma for designer handoff
    • Open *-preview.html in a browser for a visual overview
    • Use the markdown file as context for AI-assisted development
Output Files (8)
File Purpose
*-design-language.md AI-optimized markdown — the full design system for LLMs
*-preview.html Visual HTML report with swatches, type scale, shadows, a11y
*-design-tokens.json W3C Design Tokens format
*-tailwind.config.js Ready-to-use Tailwind CSS theme
*-variables.css CSS custom properties
*-figma-variables.json Figma Variables import format
*-theme.js React/CSS-in-JS theme object
*-shadcn-theme.css shadcn/ui theme CSS variables
After this

When you've handed it back, suggest what they could do next in one short question. It's a suggestion: if they're done, that's fine. Offer these, and say they can type their own:

Additional Commands
  • Compare two sites: npx designlang diff <urlA> <urlB>
  • View history: npx designlang history <url>
Options
Flag Description
--out <dir> Output directory (default: ./design-extract-output)
--dark Also extract dark mode color scheme
--depth <n> Crawl N internal pages for site-wide extraction
--screenshots Capture component screenshots (buttons, cards, nav)
--wait <ms> Wait time after page load for SPAs
--framework <type> Generate only specific theme (react or shadcn)