Skip to content

Parity check

How I prove my rebuilt screens match their Figma files.

Claude Code rebuilt two products screen by screen, and checking them by eye kept missing things. So I subtracted one from the other: identical pixels come out black, everything else lights up.

parity check
Journal
Timeline
MyBook
AI Hub
Help
Your Book
Here you can view, write, and share your story.
Design Cover
Review Chapters
Generate Book
37%
Generating Book
This might take a while...
Journal
Timeline
MyBook
AI Hub
Help
Your Book
Here you can view, write, and share your story.
Design Cover
Review Chapters
Generate Book
37%
Generating Book
This might take a while...
Journal
Timeline
MyBook
AI Hub
Help
Your Book
Here you can view, write, and share your story.
Design Cover
Review Chapters
Generate Book
37%
Generating Book
This might take a while...
Screen
Show

Result

92.4%identical

No documented changes on this screen, so anything lit is worth a look.

What it is

A check that lays the Figma design on top of a built screen and subtracts one from the other. Wherever they match turns black, so only the differences light up.

Why I needed it

Claude Code builds my designs in code, and I wanted it to verify that the result matches Figma exactly. Checking by eye kept missing small differences in fonts, spacing and position.

How I did it

I set up the check and built it with Claude Code. It’s four lines of CSS that place the Figma image over the live screen. Claude Code uses it to check its own work and fixes whatever lights up.