Space
ZAO's base unit is the fen, after the fen of Yingzao Fashi's cai–fen module: 1 fen is 4px, and spacing and sizing follow whole or half fen steps. Tailwind's spacing numbers are fen, so p-3 is 12px. Stay on these steps; anything else fails lint.
p-00px · 0 fen
p-0.52px · 0.5 fen
p-14px · 1 fen
p-1.56px · 1.5 fen
p-28px · 2 fen
p-312px · 3 fen
p-416px · 4 fen
p-520px · 5 fen
p-624px · 6 fen
p-832px · 8 fen
p-1040px · 10 fen
p-1248px · 12 fen
p-1664px · 16 fen
p-2080px · 20 fen
Control heights
Shared by every finish: small controls are 28px, defaults are 34px, and large controls are 40px. Buttons, fields, and tabs share the default through h-control. Button keeps its approved line box and padding. The h-8 spacing utility stays 8 fen.
Approve
sm · 28pxApprove
md · 34pxApprove
lg · 40px