You found a site whose look you love and want your own project to feel like it. Pasting a screenshot into Lovable or Cursor gets close in the first minute, then stalls: the fonts are wrong, the colors are a shade off and everything feels a little cramped.
Why a screenshot isn't enough
- Colors are guessed from pixels. Compression and color profiles shift them, so #F7F7F4 comes back as #F5F5F5.
- Font names are invisible. The model can't tell Camera Plain from Inter, so it uses Inter.
- Sizes are approximate. Line height, letter spacing, padding and corner radius all get rounded to defaults.
- Half the design isn't on screen. Hover states, dark mode, motion and breakpoints don't show in one picture.
A screenshot is good for layout. The values have to come from the site's code.
What to take from the site
| Value | What to write down |
|---|---|
| Colors | Canvas, surface, text, muted text, border and accent, each with its job |
| Fonts | Family for headings, body and code, with the weights used |
| Type scale | Every size from display to small print, plus line height and tracking |
| Spacing | The grid (often 4px or 8px), section gaps and content width |
| Shape | Corner radii by element, borders, shadows |
| Motion | Transition length and easing on hover and open |
You can read these by hand: right-click, Inspect, then look at Computed styles for each element. Or paste the address into Siteprint, which reads all of them at once for free.
Step by step
- Read the values from the site you like.
- Write them into a prompt or a DESIGN.md. Exact numbers, with what each one is for. There is an example in how to make your site not look vibecoded.
- Add a screenshot for layout only, and say so: "Use the screenshot for layout. Use the values below for everything else."
- Put the design where the tool keeps reading it, so the next prompt doesn't forget it (below).
- Compare side by side. Open both pages at the same width and check fonts, colors and spacing before you build more.
Where the design goes in each tool
- Lovable: paste it into the first message, and into the project's knowledge so later prompts keep it.
- v0: paste it into the first message of the chat.
- Cursor: save it as a rule in
.cursor/rules, so every chat follows it. - Claude Code: save a
DESIGN.mdin the project and import it fromCLAUDE.md. - Codex: the same
DESIGN.md, linked fromAGENTS.md.
What DESIGN.md is and what goes in it: what is DESIGN.md.
Where copying stops
Taking a site's colors, type scale and spacing is how designers have always learned. Copying its layout, words, images or logo is not, so build your own page on top of the system.
Fonts are their own case. Many are licensed, so a font you see on a site may need a license before you can use it. Siteprint shows which fonts are free on Google Fonts and suggests a free match for the rest.
