tooot/src/utils/styles/constants.ts

30 lines
542 B
TypeScript

const Base = 4
export const StyleConstants = {
Font: {
Size: { S: 14, M: 16, L: 18 },
LineHeight: {
S: 20,
M: 22,
L: 28
},
Weight: { Normal: '400' as '400', Bold: '600' as '600' }
},
FontStyle: {
S: { fontSize: 14, lineHeight: 20 },
M: { fontSize: 16, lineHeight: 22 },
L: { fontSize: 20, lineHeight: 28 }
},
Spacing: {
XS: Base,
S: Base * 2,
M: Base * 4,
L: Base * 6,
XL: Base * 10,
Global: { PagePadding: Base * 4 }
},
Avatar: { S: 40, M: 48, L: 96 }
}