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

10 lines
214 B
TypeScript
Raw Normal View History

const unit = 4; // pixels
2021-02-17 07:01:25 +01:00
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`;