UNPKG

@withjoy/joykit

Version:

UI Component Library for Joy web

16 lines (15 loc) 574 B
import { SpatialOption } from '.'; export declare type SpatialSquareInset = { [option in SpatialOption]: string; }; /** * An inset offer indents content on all four sides - like the mat of a framed photo on a wall. * As such, it "pads" the inside of a container. * * The default value is a useful starting point for mobile first design - expanding to large * at a relevant viewport like `768px`. * * *Usage*: apply an inset value as padding. * `padding: spatialSquareInset.default` */ export declare const spatialSquareInset: SpatialSquareInset;