-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.tsx
61 lines (53 loc) · 1.38 KB
/
styles.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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
import styled from 'styled-components/native';
import {Dimensions} from 'react-native';
import * as Animatable from 'react-native-animatable';
const screenHeight = Math.round(Dimensions.get('window').height);
export const Container = styled.View`
background-color: #d2d7d3;
height: ${screenHeight}px;
width: 100%;
display: flex;
align-items: center;
justify-content: center;
`;
export const Button = styled.TouchableOpacity`
background-color: #d24d57;
width: 200px;
height: 40px;
border-radius: 30px;
`;
export const StyledText = styled.Text`
text-align: center;
line-height: 40px;
color: #fff;
`;
export const StyledButton = styled(Button)`
border-radius: 2px;
background-color: transparent;
width: 100%;
border: 1px solid white;
`;
export const HeaderText = styled.Text`
text-align: center;
line-height: 40;
`;
export const StyledAnimatableView = styled(Animatable.View)`
position: absolute;
top: 0;
height: ${(props) => (props.viewVisible ? '100%' : 0)};
width: ${(props) => (props.viewVisible ? '100%' : 0)};
display: flex;
align-items: center;
justify-content: flex-start;
border-bottom-color: red;
border-bottom-width: 1;
border-top-color: red;
border-top-width: 1px;
background-color: #6c7a89;
opacity: 1;
`;
export const StyledSafeArea = styled.SafeAreaView`
flex: 1;
justify-content: space-between;
align-items: center;
`;