If you want DESIGN.md examples to hand your AI coding tool, I keep 43 of them in one gallery at beaconfrontier.com/design. Each one is a full design spec in a single Markdown file: colors, type, spacing, components and rules. Pick a style, save the file as DESIGN.md in your project root, and tell your tool to follow it.
This post covers how that gallery is laid out and the design calls behind it.
The problem with "make it look nice"
When I ask an AI tool to build a screen with no design direction, I get the average of the websites it has seen. Gray cards, a blue button, a soft gradient. It works, and it looks like nobody in particular made it.
A written spec fixes that. I mean a file with hex values, font sizes and a list of things to avoid. I build most things in Claude Code (I wrote about the side panel I use with it), and it reads a DESIGN.md like any other file in the repo, then builds against it.
The specs in the gallery come from Refero, which publishes style references drawn from real product homepages. Their terms allow republishing, so I show them on the site unchanged, with a credit to Refero on the index and on each style page. I downloaded 53 files, dropped the duplicates by title (the newest file won), and ended up with 43.
What's inside a DESIGN.md example
Open any style and the spec runs a few hundred lines. A typical one has:
- Colors, each with a name, a hex value, a CSS token and a role
- Typography, with sizes, weights, letter spacing and a substitute font you can use instead of the original
- Spacing and shapes: a base unit, a spacing scale, border radius, shadows and layout
- Components, described one at a time: the nav bar, buttons, cards, badges, inputs
- Do's and Don'ts for the style
- An agent prompt guide, plus a quick start with CSS custom properties and a Tailwind v4 block
The roles are the part I care about most. A hex value alone tells a tool nothing about where to use it. One spec describes its blue as "the single vivid purchase signal within the monochrome stage." That one line tells the tool to keep blue for the buy button and stop painting every link and badge with it.
How the gallery is laid out
Cards that show the real homepage
The first version of the index showed each style's name, its tagline and a strip of color swatches. The taglines are fun to read ("Warm parchment atelier lit by embers" is one), but a sentence and a row of colors are a slow way to judge a look. Now each card shows a screenshot of the homepage the style was drawn from, with that company's icon underneath.
Matching each style to the right homepage took two tries. I guessed domains from the style names at first, and five of the 43 were wrong. Refero's style pages name the site each style is based on, so I mapped all of them from that and recaptured the screenshots. A small script takes the screenshots from a list of sites, so fixing one is a single rerun.
One filter and a search box
Above the grid sit three buttons, All, Light and Dark, and a search box that matches style names. Light or dark is the one filter because it is the one fact each spec states at the top, in a line that reads Theme: dark or Theme: light. Anything fancier, like tags for mood or industry, would be my guess layered on someone else's spec.
The spec sits beside the screenshot
On a style page, the homepage screenshot, the palette and the fonts sit on the left. The full DESIGN.md sits on the right in a panel that stays in place while you scroll, with Copy and Download buttons at the top. You can scroll through the swatches and keep the spec in view the whole time.
Each color swatch has its own copy button labeled with the hex value, so grabbing one color takes one click. Font entries list the substitute next to the original. On a phone the two columns stack, and the swatches drop to two per row so the names stay readable.
Why the specs stay unchanged
I could have rewritten all 43 into my own format. I chose to show each spec as Refero wrote it, with their credit beside the download button. If I ever rewrite them into a Beacon Frontier format, that becomes a different thing with a different credit. Until then, the work is theirs and the page says so.
Keeping them unchanged also keeps the build small. The gallery is static pages generated from the Markdown files at deploy time. There is no database behind it and it added no new dependencies to the site.
How to use a DESIGN.md example in your project
- Open the gallery and pick Light or Dark.
- Open a style whose screenshot looks close to what you want.
- Press Download, or press Copy and paste it into a new file named DESIGN.md at your project root.
- Tell your AI tool to follow DESIGN.md for each screen it builds.
You can mix, too. Take the palette from one spec and the type scale from another, and say so in your prompt. The tokens are plain CSS variables, so the pieces come apart cleanly.
Pick a style before your next build
Browse the 43 styles, find one that looks like the site you have in your head, and drop its DESIGN.md in your repo before you start your next screen.