@ozanmanav/react-native-boilerplate-ts
Version:
TheCodingMachine React Native Boilerplate With Typescript
42 lines (40 loc) • 767 B
text/typescript
/**
* This file contains all application's style relative to fonts
*/
import { StyleSheet } from 'react-native'
import { FontSize } from './Variables'
export default StyleSheet.create({
textSmall: {
fontSize: FontSize.small,
},
textRegular: {
fontSize: FontSize.regular,
},
textLarge: {
fontSize: FontSize.large,
},
titleSmall: {
fontSize: FontSize.small * 2,
fontWeight: 'bold',
},
titleRegular: {
fontSize: FontSize.regular * 2,
fontWeight: 'bold',
},
titleLarge: {
fontSize: FontSize.large * 2,
fontWeight: 'bold',
},
textCenter: {
textAlign: 'center',
},
textJustify: {
textAlign: 'justify',
},
textLeft: {
textAlign: 'left',
},
textRight: {
textAlign: 'right',
},
})