Design
Radius, spacing and shadow
Radius snaps to eight steps, spacing to the 4px scale, and shadows to three. Arbitrary values fail check:design.
Radius
Eight steps. rounded-10 and rounded-20 are Cook’s own: 10px for controls and rows, 20px for large panels.
rounded-sm4pxrounded-md6pxrounded-lg8pxrounded-1010px · Cookrounded-xl12pxrounded-2xl16pxrounded-2020px · Cookrounded-full9999pxSpacing
The 4px scale. The number is the Tailwind step; each step is 4px.
0.52px14px1.56px28px2.510px312px416px520px624px832pxShadow
Three shadows, each for one job.
shadow-regular-xshairline separationshadow-regular-smtoolbars, small cardsshadow-regular-mdpopovers, modalsDon't use an arbitrary radius like rounded-[7px], an off-scale gap, or a shadow of your own. check:design fails it.