-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathAppStyles.tsx
47 lines (45 loc) · 1.1 KB
/
AppStyles.tsx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
import { StyleSheet, Dimensions } from 'react-native';
import {COLORS} from '~/Utils/Colors';
const { width, height } = Dimensions.get('window');
const SCREEN_WIDTH = width < height ? width : height;
const recipeNumColums = 2;
const RECIPE_ITEM_HEIGHT = 60;
const RECIPE_ITEM_MARGIN = 20;
export const AppStyles = StyleSheet.create({
container: {
flex: 1,
justifyContent: 'center',
alignItems: 'center',
marginLeft: RECIPE_ITEM_MARGIN,
marginTop: 20,
height: RECIPE_ITEM_HEIGHT + 75,
borderRadius: 15,
backgroundColor : '#ffff',
padding :20,
borderWidth : 1,
borderColor : COLORS.dark
},
title: {
flex: 1,
fontSize: 17,
fontWeight: 'bold',
textAlign: 'center',
marginTop: 10,
marginRight: 5,
marginLeft: 5,
},
category: {
marginTop: 3,
marginBottom: 1,
paddingLeft :3,
paddingRight :3,
justifyContent : 'center',
textAlign: 'center'
},
TextInput: {
flexDirection: 'row',
borderBottomColor: '#ccc',
borderBottomWidth: 1,
paddingBottom: 8,
},
});