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

11 lines
214 B
TypeScript
Raw Normal View History

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