1
0
mirror of https://github.com/tooot-app/app synced 2025-06-05 22:19:13 +02:00
Files
tooot/src/utils/styles/constants.ts
Zhiyuan Zheng e9ea0ed71e Updates
1. Added more notification types
2. Use `react-native-reanimated` v2
2021-01-04 10:50:24 +01:00

26 lines
497 B
TypeScript

const Base = 4
export const StyleConstants = {
Font: {
Size: { S: 14, M: 16, L: 18 },
LineHeight: { S: 18, M: 22, L: 30 },
Weight: { Bold: '600' as '600' }
},
FontStyle: {
S: { fontSize: 14, lineHeight: 18 },
M: { fontSize: 16, lineHeight: 22 },
L: { fontSize: 20, lineHeight: 30 }
},
Spacing: {
XS: Base,
S: Base * 2,
M: Base * 4,
L: Base * 6,
XL: Base * 10,
Global: { PagePadding: Base * 4 }
},
Avatar: { S: 36, M: 52, L: 104 }
}