import { kindStyle, type KindDef } from './kinds' /** A kind's mini shape swatch: true proportions, its own fill and stroke — the * toolkit's "icon" is the thing itself, not a glyph. */ export function KindSwatch({ def, compact = false }: { def: KindDef; compact?: boolean }) { const st = kindStyle(def.kind) const f = 24 / Math.max(def.widthCm, def.heightCm) const w = def.widthCm * f const h = def.heightCm * f return ( {def.shape === 'rect' ? ( ) : ( )} ) }