Radius
One base radius, and the multiplicative base-luma scale computed from it.
Summary
Every corner in a pmndrs project derives from one value, --radius. The rounded-* utilities
are multiples of it, so changing that one value rescales every corner at once.
Base
:root {
--radius: 0.625rem; /* 10px at a 16px root */
}
It comes from the poimandres shadcn preset (b1VlIttI, style base-luma, radius default),
applied by npx shadcn@latest init --preset b1VlIttI.
Scale
The preset's base-luma style derives the scale by multiplication: each step is --radius
times a factor. Values below are at a 16px root.
The table is the source of truth: the previews below render this site's own radius scale, which can differ slightly from what your project gets.
Preview
rounded-smrounded-mdrounded-lgrounded-xlrounded-2xlrounded-3xlrounded-4xl