UNPKG

@withjoy/joykit

Version:

UI Component Library for Joy web

13 lines (12 loc) 499 B
import { SpatialOption } from '.'; export declare type SpatialStack = { [option in SpatialOption]: string; }; /** * The overwhelming majority of UI is scrolled vertically. To achieve vertical rhythm, we will aim to * uniformly space components in a vertical structure. * * **Usage**: Applied to a `columns` component in a layout, message on a heading, to whatever is stacked. * `margin: spatialStack.default` // `0 0 1rem 0` */ export declare const spatialStack: SpatialStack;