This repository has been archived on 2025-07-31. You can view files and clone it, but cannot push or open issues or pull requests.
Files
terminally-online/src/styles.tsx
Nikolaos Karaolidis 3c303e0304 Refactor validation
Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
2023-07-21 16:34:44 +03:00

92 lines
1.5 KiB
TypeScript

import { StyleSheet } from 'react-native';
const styles = StyleSheet.create({
smallPadding: {
padding: '2%',
},
smallPaddingHorizontal: {
paddingHorizontal: '2%',
},
smallPaddingVertical: {
paddingVertical: '2%',
},
smallPaddingTop: {
paddingTop: '2%',
},
padding: {
padding: '4%',
},
paddingHorizontal: {
paddingHorizontal: '4%',
},
paddingVertical: {
paddingVertical: '4%',
},
paddingTop: {
paddingTop: '4%',
},
centered: {
justifyContent: 'center',
alignItems: 'center',
},
alignCenter: {
alignItems: 'center',
},
justifyCenter: {
justifyContent: 'center',
},
centerText: {
textAlign: 'center',
},
centerSelf: {
alignSelf: 'center',
},
flex: {
flex: 1,
},
flexGrow: {
flexGrow: 1,
},
flexShrink: {
flexShrink: 1,
},
flexRow: {
flexDirection: 'row',
},
flexRowSpaceBetween: {
flexDirection: 'row',
justifyContent: 'space-between',
},
flexColumn: {
flexDirection: 'column',
},
flexColumnSpaceBetween: {
flexDirection: 'column',
justifyContent: 'space-between',
},
flexRowReverse: {
flexDirection: 'row-reverse',
},
flexWrap: {
flexWrap: 'wrap',
},
justifyStart: {
justifyContent: 'flex-start',
},
justifyEnd: {
justifyContent: 'flex-end',
},
fullWidth: {
width: '100%',
},
fullHeight: {
height: '100%',
},
fullSize: {
width: '100%',
height: '100%',
},
});
export default styles;