wisemapping-frontend/packages/editor/src/size.ts

10 lines
206 B
TypeScript

const unit = 4; // pixels
export const XS = '4px';
export const S = '8px';
export const M = '16px';
export const L = '24px';
export const XL = '24px';
export const times = (n: number) => `${unit * n}px`;