PaintCard#
func PaintCard(canvas *ui.Canvas, theme ui.Theme, bounds ui.Rect, options CardOptions) CardLayoutPaintCard paints a shadcn card surface and returns the layout of its sections: py spacing above and below, gap spacing between sections, px spacing at the sides, and the optional header and footer rules. The surface is the same at both sizes; Size changes only the spacing.