Mixins / foldkit-mixins/theme

nested

function · packages/mixins/src/theme/tokens.ts:192

function nested(outer: string, inset: string, border?: string): string

The radius of a rounded surface inset in another, so their corners are concentric: the outer radius less the inset between them and the outer surface's border, never below zero. Past a large radius, or with uneven gaps, the two read as independent and may be tuned by eye.