UNPKG

2.53 kBJavaScriptView Raw
1/*
2 * Copyright 2017-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
5 * the License. A copy of the License is located at
6 *
7 * http://aws.amazon.com/apache2.0/
8 *
9 * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
10 * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
11 * and limitations under the License.
12 */
13
14import { StyleSheet } from 'react-native';
15
16// Colors
17export const deepSquidInk = '#152939';
18export const linkUnderlayColor = '#FFF';
19export const errorIconColor = '#DD3F5B';
20
21// Theme
22export default StyleSheet.create({
23 container: {
24 flex: 1,
25 flexDirection: 'column',
26 alignItems: 'center',
27 justifyContent: 'space-around',
28 paddingTop: 20,
29 width: '100%',
30 backgroundColor: '#FFF',
31 },
32 section: {
33 flex: 1,
34 width: '100%',
35 padding: 20,
36 },
37 sectionHeader: {
38 width: '100%',
39 marginBottom: 32,
40 },
41 sectionHeaderText: {
42 color: deepSquidInk,
43 fontSize: 20,
44 fontWeight: '500',
45 },
46 sectionFooter: {
47 width: '100%',
48 padding: 10,
49 flexDirection: 'row',
50 justifyContent: 'space-between',
51 marginTop: 15,
52 marginBottom: 20,
53 },
54 sectionFooterLink: {
55 fontSize: 14,
56 color: '#ff9900',
57 alignItems: 'baseline',
58 textAlign: 'center',
59 },
60 navBar: {
61 marginTop: 35,
62 padding: 15,
63 flexDirection: 'row',
64 justifyContent: 'flex-end',
65 alignItems: 'center',
66 },
67 navButton: {
68 marginLeft: 12,
69 borderRadius: 4,
70 },
71 cell: {
72 flex: 1,
73 width: '50%',
74 },
75 errorRow: {
76 flexDirection: 'row',
77 justifyContent: 'center',
78 },
79 errorRowText: {
80 marginLeft: 10,
81 },
82 photo: {
83 width: '100%',
84 },
85 album: {
86 width: '100%',
87 },
88 button: {
89 backgroundColor: '#ff9900',
90 alignItems: 'center',
91 padding: 16,
92 },
93 buttonDisabled: {
94 backgroundColor: '#ff990080',
95 alignItems: 'center',
96 padding: 16,
97 },
98 buttonText: {
99 color: '#fff',
100 fontSize: 14,
101 fontWeight: '600',
102 },
103 formField: {
104 marginBottom: 22,
105 },
106 input: {
107 padding: 16,
108 borderWidth: 1,
109 borderRadius: 3,
110 borderColor: '#C4C4C4',
111 },
112 inputLabel: {
113 marginBottom: 8,
114 },
115 phoneContainer: {
116 display: 'flex',
117 flexDirection: 'row',
118 alignItems: 'center',
119 },
120 phoneInput: {
121 flex: 2,
122 padding: 16,
123 borderWidth: 1,
124 borderRadius: 3,
125 borderColor: '#C4C4C4',
126 },
127 picker: {
128 flex: 1,
129 height: 44,
130 },
131 pickerItem: {
132 height: 44,
133 },
134});