Samprix

DESIGN.md Generator

Paste a website address and get its measured colours, fonts, spacing and shapes as a DESIGN.md that Claude Code, Cursor or any AI coding agent can follow.

Reads public CSS only
Try:
01

Paste an address

Any public website. We fetch its HTML and stylesheets.

02

We measure the CSS

Colours, fonts, spacing, radii and shadows, weighted by real use.

03

Give it to your agent

Save DESIGN.md in your repo and tell your agent to follow it.

What’s inside the DESIGN.md

The file starts with YAML front matter holding the exact tokens, so an agent can copy values rather than eyeball them. The markdown below explains how to apply them, in the usual order:

  • Overview: light or dark, main accent, fonts, corner style and depth.
  • Colors: background, text, primary and accent colours with what each is used for and its contrast ratio, plus the neutral ramp.
  • Typography: body, heading and code fonts, sizes, weights and line height.
  • Layout: spacing values and grid, content width and breakpoints.
  • Elevation and Depth: the shadow levels, or a note that the site is flat.
  • Shapes: corner radii, including pills and circles.
  • Components: button, input, card, link and navigation styles found by name.
  • Do’s and Don’ts: rules built from the measurements, including colours that are too low-contrast for body text.

It ends with the CSS custom properties the site declares and a note on how it was measured.

© 2026 Samprix. Not affiliated with OpenAI, Anthropic or Google.