wisemapping-frontend/packages/editor/src/size.ts
2021-02-22 22:37:29 -08:00

10 lines
207 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): string => `${unit * n}px`