Skip to main content

Escaping the AI-Generated 'Purple Gradient'

TL;DR


The Purple Gradient Problem

This blog, “Zero-Shot Log,” originally had its design generated by AI.

It didn’t look bad. But it felt familiar — like I’d seen it somewhere before.

The old design (purple gradient)

The culprit: the “purple gradient.”

I came across an interesting post about this on X.

A reply pointed out that this is heavily influenced by Tailwind’s bg-indigo-500.

The theory is that AI learned indigo/purple gradients as the “optimal default” from its training data.

I decided it was time to break out of that pattern.


The Renewal Workflow

For this redesign, I combined three AI tools.

1. Capture the current state: Claude Code + Playwright MCP

First, I connected Playwright MCP to Claude Code and took screenshots of the current site — the top page and an article page, on both desktop and mobile.

This way I could communicate the “current state” accurately when briefing a designer AI.

2. Write the design brief

Based on those screenshots, I wrote a design brief (design-brief.md) for the designer AI. It included:

The idea is to control AI output by being explicit about what you don’t want.

3. Hand it to the design AI (Stitch)

Stitch is a UI generation tool from Google Labs. Powered by Gemini 2.5 Pro, it generates UI designs from text or images. Currently in beta and free to use.

I passed the screenshots and the brief to Stitch and got back a new design proposal.

Output from Stitch

What came back was an HTML file plus preview images. The warm amber palette was applied as requested.

4. Implementation

Stitch’s output includes HTML, but it’s mainly there to fill in details that an image alone can’t convey. You can’t just drop it into existing Astro components, so I rewrote the styles in Claude Code while taking the color palette and font choices as references.


Wrap-up

It’s a good time to be alive — design renewals are this easy with AI now.

ZSL
ZSL

AI Engineer

Researching and practicing development workflows powered by Generative AI.