-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.ts
68 lines (66 loc) · 1.5 KB
/
styles.ts
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
import { StyleSheet, Dimensions } from 'react-native';
// Get the screen width
const screenWidth = Dimensions.get('window').width;
export const styles = StyleSheet.create({
container: {
flex: 1,
backgroundColor: '#fee9d7',
alignItems: 'center',
paddingHorizontal: 20,
paddingTop: 20,
},
header: {
fontSize: 30,
fontWeight: 'bold',
marginBottom: 20,
color: '#34222e',
marginTop: 50,
},
iconContainer: {
marginVertical: 20,
alignItems: 'center',
justifyContent: 'center',
},
sliderContainer: {
width: '100%',
alignItems: 'stretch',
marginTop: 20,
},
sliderLabel: {
textAlign: 'center',
margin: 10,
fontSize: 15,
},
cardLabel: {
textAlign: 'center',
marginTop: 10,
fontSize: 20,
marginBottom: -10,
},
typeCard: {
flexDirection: 'row',
alignItems: 'center',
justifyContent: 'space-between',
padding: 20,
margin: 10,
width: screenWidth * 0.83,
backgroundColor: '#f9bf8f',
borderRadius: 10,
shadowColor: "#34222e",
shadowOffset: {
width: 0,
height: 2,
},
shadowOpacity: 0.23,
shadowRadius: 2.62,
elevation: 4,
},
carousel: {
flex: 1,
marginTop: 20,
width: '100%',
},
selectedTypeText: {
color: '#e2434b',
},
});