How to extract a famous website's design system and make it yours
Pull the colors, type, spacing, radius, and shadows from any live website with TraceUI, fine-tune them in the web editor, and export CSS, JSON, or shadcn tokens.
A famous website's look comes down to a few decisions: a palette, a type scale, a spacing rhythm, corner radii, and shadows. The browser has all of them. This guide shows how to pull a design system from any live site with TraceUI, fine-tune it in the web editor, and export tokens you can drop straight into your project.
1. Pick a site with a real system
The cleanest extractions come from sites that already name their tokens. Sites built with shadcn/ui, Radix, or Tailwind v4 usually declare their variables on :root, so most roles come out labeled Declared. Sites that style everything inline give you more Inferred values, which need a quick review.
Extract two or three sites you admire and save them to your library. Comparing them side by side makes it easy to spot which palette and type scale actually fit your product.
2. Extract the design system from the page
- Open the website and click the TraceUI icon in your browser toolbar.
- Click Design System.
- Check Colors, Typeface, and Spacing. Click any color to copy it, or hover it to see where it is used on the page.
Every extracted token carries a label:
- Declared: the site named it. Trust these first.
- Inferred: TraceUI named it from how it is used on the page.
- Generated: TraceUI added a value to complete the set.
Spend a minute on the Inferred and Generated tokens. Those are the ones worth checking before you build on them.
3. Save and open it in the TraceUI editor
Click Save & Edit to store the design system in your library and open it in the TraceUI web app.
Once it is in the editor, you do not have to accept the raw extraction as-is. You can:
- Edit colors — adjust any token, add custom colors or groups, and switch the canvas between light and dark to see how the palette holds up.
- Adjust typography — update font sizes and weights across the type scale.
- Tune spacing, radius, and elevation — refine corner roundness and shadows so they match the feel you want.
- Check the live UI preview — see your edits applied to real UI components before you export, with undo and redo if you want to step back.
4. Check the defaults before you export
If you export Shadcn design tokens, TraceUI maps your system onto shadcn's standard roles: background, foreground, card, primary, secondary, muted, accent, destructive, border, input, ring, chart colors, sidebar tokens, fonts, radius, and shadows.
When a page does not have a value for a role, TraceUI fills in a fallback so the file stays valid:
- Missing brand color defaults
--primaryto amber (#f59e0b). - Missing sans font falls back to Inter.
- Missing radius defaults to
0.375rem. - Missing elevation falls back to soft default shadows.
Check those roles in the editor before you export so a fallback does not sneak into your app.
5. Export or hand off to your coding agent
From the editor, export the format your project uses:
- CSS custom properties (
-tokens.css) — paste into your global stylesheet. - JSON (
-tokens.json) — structured tokens you can feed into Style Dictionary or other tools. - Shadcn design tokens (
-shadcn-tokens.css, Pro or 7-day trial) — a:rootblock mapped to shadcn's variable names, ready forapp/globals.css.
If you are working in Cursor, Claude, ChatGPT, or v0, you can also use Copy to AI from the editor to hand your coding agent the design system as a prompt, Tailwind tokens, JSON, or shadcn variables.
Use it as a reference, not a copy
Spacing grids, type scales, and neutral palettes are not unique to any one site, and learning from them is how most designers get good. A logo, illustrations, photography, and copy are the brand's, and they are not yours to take. Keep the tokens you tuned, and build the rest of your own look.
For the manual DevTools method, see how to extract a design system into a Tailwind config. If you want to compare TraceUI with a dedicated shadcn theme editor, read TraceUI vs tweakcn.
FAQ
Does the exported theme match the site pixel for pixel?
No. It captures the site's design tokens — colors, type, spacing, radii, and shadows. Your components still use their own markup and layout, so expect the visual system to feel close, then tune it in the editor.
Can I edit the design system before exporting?
Yes. Click Save & Edit from the extension to open the design system in the TraceUI web editor. You can adjust colors, typography, spacing, radius, and shadows, preview the changes on UI components, and then export.
Which export formats need Pro?
In the web editor, Shadcn design tokens export requires Pro or the 7-day trial. Exporting directly from the extension panel also requires Pro or the trial.

