What it checks
Craft and polish
Details of finish, such as nested border radii, related spacing, well-set type and shadows that share one light.
rounded-[20px] inside p-2→rounded-xl inside p-2Corner doesn’t match its parent
On the pageThe inner corner copies the outer one, so the rim between them swells at every corner.
Inner corner is the outer one less the padding: the two curves run side by side.
label mb-[18px]→label mb-1.5Group falls apart
On the pageEach label sits as far from its field as the fields sit from each other: nothing says which goes with which.
Label and field close, pairs apart: the form reads as two questions.
text-black/45→text-mutedFaded with opacity
On the pageSee-through words take the colour of what’s under them: grey on white, almost gone on blue.
A muted colour made for each surface reads the same on both.
left-1/2 -translate-x-1/2 (141px wide)→snapped to a whole pixelBlurry text
On the pageCentred on half a pixel, the words smear across two rows of pixels (shown magnified).
On a whole pixel, every edge is sharp.
border-b-2 border-gray-400→border-b border-gray-200Line too heavy
On the pageHeavy dividers are louder than the rows they divide.
A hairline keeps the rows apart without shouting over them.
<img> on white→outline outline-black/10 -outline-offset-1Image blends into the page
On the pageWhite photos on a white page: you can’t tell where a picture ends.
A faint outline inside the picture gives it an edge on any background.
shadow-[0_22px_40px_rgb(0_0_0/.35)]→shadow-cardShadow is one big blur
On the pageOne big blur reads as a smudge under the card, not a card off the page.
Small, tight shadows stacked: the card has an edge and a weight.
from scale-0→from scale-95, fading inGrows from nothing
On the pageGrown from a dot, the menu seems to come from nowhere.
Starting near full size, it simply arrives where it belongs.
z-[99999] (help button)→z-raisedz-index too high
On the pageThe help button was typed 99999, so it sits on the toast that says your work was saved.
On its own layer, under messages: the toast reads in full.
ml-1.5→ml-0Text off the column
On the pageThe heading starts 6px in from its text: the column has two left edges.
Heading and text start on one edge.
px-1.5→px-4Sides too tight
On the pageThe words nearly touch the edges: Save looks squeezed next to Cancel.
The same sides as Cancel: the two read as a pair.
pl-4 with an icon→pl-3 with an iconToo much space by the icon
On the pageThe icon brings its own space, so the left side looks wider than the right.
A little less on the icon’s side: both sides look equal.
max-w-none (≈ 100 characters a line)→max-w-prose (65)Lines too long
On the pageA hundred letters a line: the eye loses its place on the way back (shown small).
Around 65 letters: each line is easy to follow back to the start.
leading-[1.1]→leading-normalLines too close
On the pageLines this close make the eye slip onto the wrong line.
Room between the lines lets the eye find the next one.
tracking-[0.08em]→tracking-tightBig text too loose
On the pageBig type spaced like small type falls apart into letters.
Big type set tighter reads as one word.
proportional figures→tabular-numsNumbers don’t line up
On the pageEach digit is its own width, so the amounts don’t line up to compare.
Every digit one width: the column lines up.
shadow-[0_-6px_14px…]→shadow-cardShadow from the wrong side
On the pageOne card is lit from below while its neighbours are lit from above.
One light for the page: every shadow falls the same way.
border-black/25→border-subtle (solid)Border fights the shadow
On the pageA see-through border darkens where the shadow is under it: the edge is heavier at the bottom.
A solid border is one weight all the way round.
text-gray-900 over the fill→text that turns white over the fillWords lose their ground
On the pageAs the fill slides under the words, they go dark on blue and can’t be read.
Where the fill is, the words turn white: they read at every percent.
size-9 (one avatar)→size-8One size off
On the pageOne avatar is a size bigger than the rest: it looks like a mistake, not a choice.
One size down the list.
w-full h-24 (no fit)→object-coverPicture can be stretched
On the pageGiven a box of a different shape, the picture is pulled out of shape to fill it.
Cropped to fill: the sun stays round.
no colour under the picture→bg-gray-800 under the pictureWords rely on the picture
On the pageThe picture hasn’t loaded: white words on a pale box, gone.
A dark colour waits under the picture, so the words read before it arrives.
sticky, stretched to the row→sticky self-startSet to stick, but can’t
On the pageStretched as tall as its row, the side panel has nowhere to slide, so it scrolls away.
As tall as its content: the dotted room is where it slides while you scroll.
overflow-y-scroll→overflow-y-autoScrollbar always shown
On the pageThree rows fit, yet a scrollbar says there is more.
The bar shows only when there is more to see.
justify-between, no gap→gap-2Gap set by left-over space
On the pageThe space between the buttons is whatever is left over; on a narrow screen that’s nothing.
A gap of its own: the buttons never touch.
flex (no wrap)→flex flex-wrapList can run off its row
On the pageFive tags from your data, one row: the last ones run out of the card.
Told to wrap, a long list takes a second row.
w-14 (height from the row)→size-14 self-startPicture can be pulled tall
On the pageGiven only a width, the picture stretches to the row’s height and the sun turns into an egg.
A height of its own: the picture keeps its shape.
bg-[url(beach.jpg)]→bg-cover bg-no-repeatBackground photo can repeat
On the pageThe photo repeats like wallpaper: you see its seams.
One photo, covering the box.
grid-cols-[96px_1fr]→grid-cols-1 sm:grid-cols-[96px_1fr]Fixed column on every screen
On the pageOn a phone, the fixed label column leaves the field a sliver.
One column where two don’t fit: the label sits over its field.
(no gutter)→scrollbar-gutter: stableJumps when it scrolls
On the pageWhen the list grows a scrollbar, everything centred shifts 8px left (dashes: where it was).
Room kept for the bar: nothing moves when it comes.
hover:font-bold→hover:font-bold, width keptRow jumps on hover
On the pageBold is wider: on hover, Docs grows and pushes Pricing over.
Room for the bold is kept, so nothing beside it moves.
uppercase→uppercase, case features onPunctuation sits low
On the pageIn capitals, the dash and brackets sit at the height of small letters: they hang low.
The font’s case forms lift them to sit with the capitals.
from-blue-500 to-yellow-400→bg-linear-to-r/oklchGradient goes grey
On the pageMixed in sRGB, blue and yellow meet in a muddy grey.
Mixed in OKLCH, the middle stays bright.
(no scroll margin)→scroll-mt-12Hidden under the header
On the pageJump to “Billing” and the heading lands under the sticky header.
Room for the header: the heading lands just below it.
rounded-3xl (a circle’s arc)→corner-shape: squircleCorners could be smoother
On the pageA circle’s arc meets the straight edge with a kink you can feel at this size.
A corner that eases into its curve looks softer, like a phone’s icon.
font-optical-sizing: none→font-optical-sizing: autoOptical size turned off
On the pageWith optical size off, a big headline is drawn with the small-text cut: thick and loose.
On, the headline gets its display cut: finer strokes, tighter fit.
shadow-black/35 on indigo→shadow-indigo-950/50Grey shadow on colour
On the pageA grey shadow on a coloured ground looks like dirt.
Shadows on colour take the colour, darker: the card sits in the light of its page.
from-transparent to-black/70→an eased scrim (8 stops)Scrim has a hard edge
On the pageThe dark fade under the words starts on a line you can see.
Eased, it drops in fast then slow: no edge, the words still read.
bg-white→bg-surfacePure white area
On the pageEvery surface here is a warm off-white; one card is pure white and glares.
On your surface colour, it sits with the others.
w-24→min-w-24 (width from its words)Fixed width crushes its words
On the pageFixed at 96px, the Spanish label breaks onto two lines and spills.
A minimum, not a fixed width: the button fits its words in any language.
items-center→items-baselineWords sit at different heights
On the pageCentred, the small words float halfway up the big price.
On one baseline, price and period read as one line.
items-center (line box)→centred on the capitalsIcon sits off the text
On the pageCentred on the line box, the icon sits low against the words.
Centred on the capitals’ middle, where the eye reads it.
py-3, leading-loose→py-3, text-box: trim-bothPadding looks bigger than it is
On the pageThe line carries invisible room above its letters: 12px of padding looks like 24.
Trimmed to the letters, the padding you set is the padding you see.
my-4→mt-7 mb-2Heading sits nearer what came before
On the pageThe same space above and below: the heading floats between two paragraphs.
More above than below: it clearly opens what follows.
mt-3 mb-7→mt-6 mb-1.5Heading drifts away from its text
On the pageThe heading sits nearer the line above than the text it introduces.
Closer to its own text than to the one before: it reads as that text’s heading.
p-5→pt-4 px-5 pb-5Card looks taller on top
On the pageThe first line brings room above its capitals: equal padding looks taller on top.
A little less on top, and the card looks even.
font-black (900)→font-bold (700)One weight too many
On the pageFour weights on one card: the price shouts over the plan’s name.
Two weights, bold and regular: a clear order.
text-gray-600 (a fourth grey)→text-mutedOne grey too many
On the pageA grey between your two greys: it reads as a slip, not a level.
Back on your muted grey: two levels, clearly apart.
mt-[19px]→mt-6Off the page’s rhythm
On the pageEvery section is 24px apart but one, at 19: the page’s beat stumbles.
One gap down the page: it feels even.
shadow-[0_3px_8px…] (menu)→shadow-popoverShadow a step too close
On the pageThe menu’s shadow is one hair bigger than the card’s: they look like the same height.
A clear step up: the menu floats over the card.
centred by its box→nudged 3px rightIcon looks off-centre
On the pageCentred by its box, the play triangle looks pushed to the left.
Nudged toward its point, it looks centred.
size-6 (circle)→size-[26px] (circle)Round icon looks smaller
On the pageA circle as wide as the square covers less, so it reads smaller.
Let past the square a little, it reads the same size.
stroke-width="1"→stroke-width="2"Icon stroke doesn’t match
On the pageA hairline icon beside bold words looks faint and unfinished.
A stroke that weighs what the words weigh.
overflow-x-auto, cut between cards→a faded edge, the next card peekingHidden content, no hint
On the pageThe row is cut cleanly between two cards: it looks like that’s all there is.
The next card peeks in under a fade: there is more to the side.
button after the list→mt-auto on the buttonPlans don’t line up
On the pageA shorter list lifts one plan’s button: you can’t read across the row.
Buttons pinned to the bottom: the plans line up.
pl-5 (the button)→pl-4Lines start on different edges
On the pageThe button starts 4px in from the words above it: the card has two left edges.
Everything starts on one edge.
two looks for “Choose”→one <Button> for bothButtons differ across plans
On the pageThe same choice, drawn two ways: one plan looks like the lesser option.
One button for one action: the row reads as equal choices.
pl-[15px] (one row)→pl-3Off the line
On the pageOne row’s name sits 3px off the others: the column wobbles.
Every row on one edge.
rounded (one button)→rounded-lgCorners don’t match
On the pageOne button in the toolbar has sharper corners: the set looks like two sets.
One corner for the set.
shadow-lg (dark theme)→bg-surface-2 + a light top edgeShadow does nothing in dark
On the pageOn a dark page, a black shadow vanishes: the card doesn’t rise.
A lighter surface and a faint light edge on top: it rises, in the dark.
font-semibold (dark theme)→font-medium, antialiasedLight text looks heavy on dark
On the pageLight words glow into a dark ground: semibold looks bold.
A step lighter in the dark: the same weight to the eye.
duration-[400ms] (⌘K)→duration-instantShortcut opens slowly
On the pageThe palette you open fifty times a day takes 400ms each time.
A shortcut answers at once: a quick fade, no waiting.