Plinth

Radius & Shadows

The corner radius steps and layered shadow scale.

Radius

Six steps. --radius-md (8px) is the system default; --radius aliases it so a theme can shift the default personality in one line.

--radius-xs
--radius-sm
--radius-md
--radius-lg
--radius-xl
--radius-full
TokenWhere
--radius-xsCheckboxes, small chips
--radius-smBadges, small buttons, menu items
--radius-mdButtons, inputs, default
--radius-lgCards, popovers
--radius-xlDialogs, large surfaces
--radius-fullPills, avatars

Shadows

Layered and low-opacity. Elevation communicates hierarchy: the higher a surface floats, the larger and softer its shadow. In dark mode the same tokens resolve to deeper shadows, since ambient contrast drops.

--shadow-xs
--shadow-sm
--shadow-md
--shadow-lg
--shadow-xl
TokenWhere
--shadow-xsInputs, subtle lift
--shadow-smButtons, cards at rest
--shadow-mdDropdowns, popovers
--shadow-lgDialogs, command menus
--shadow-xlFull-screen overlays, spotlight surfaces

On this page