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

10 lines
207 B
TypeScript
Raw Normal View History

2021-02-23 07:37:29 +01:00
const unit = 4 // pixels
2021-02-17 07:01:25 +01:00
2021-02-23 07:37:29 +01:00
export const XS = '4px'
export const S = '8px'
export const M = '16px'
export const L = '24px'
export const XL = '24px'
2021-02-23 07:37:29 +01:00
export const times = (n: number): string => `${unit * n}px`