Most interfaces that feel slightly off are off by a few pixels. Here are the numbers I use, and why.
Four small rules cover most of it: button sizes, image cards, nested corners and touch targets. Save the drawings, pin them next to your design file, and stop guessing.
Each one is drawn to scale. Lines draw in as you scroll.
When height and padding grow together, small, medium and large still look like one button in three sizes.
Learn the termCards with mixed gaps look busy. A single 16 pixel rhythm reads as order, even when nobody can say why.
Learn the termEqual radii inside and out make the inner corner look pinched. Subtracting the padding keeps the curves parallel.
Learn the termA fingertip covers far more than a pixel. Bigger targets mean fewer mis-taps and less frustration.
Learn the termGood spacing is invisible. People only notice it when it's wrong.
Rules only help if they live where the team works.
I set up small, practical design systems for marketing sites. Tell me what you have and I'll suggest the first three tokens to fix.