@withjoy/joykit
Version:
UI Component Library for Joy web
21 lines (20 loc) • 529 B
TypeScript
import { SpatialOption } from '.';
export declare type SpatialValuesToPixels = {
[option in SpatialOption]: number;
};
/**
* A set of spacing options.
*
* Options are scaled nonlinearly by way of geometric progression, doubling each step.
*
* The base number used for generation is `16`.
*
* The unit of measurement is: `px`.
*
*/
export declare const spatialValues: {
[option in SpatialOption]: number;
};
export declare const spatialValuesInRem: {
[option in SpatialOption]: string;
};