wisemapping-frontend/packages/editor/src/size.ts
Juan Allo 3d538923a9 Merged in feat/prettier (pull request #3)
adding back semicolons

* adding back semicolons
2021-02-23 07:02:15 +00:00

10 lines
214 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`;