UNPKG

3.94 kBJavaScriptView Raw
1"use strict";
2
3Object.defineProperty(exports, "__esModule", {
4 value: true
5});
6exports["default"] = exports.disabledButtonColor = exports.buttonColor = exports.placeholderColor = exports.textInputBorderColor = exports.textInputColor = exports.linkUnderlayColor = exports.deepSquidInk = void 0;
7
8var _reactNative = require("react-native");
9
10/*
11 * Copyright 2017-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
12 *
13 * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
14 * the License. A copy of the License is located at
15 *
16 * http://aws.amazon.com/apache2.0/
17 *
18 * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
19 * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
20 * and limitations under the License.
21 */
22// Colors
23var deepSquidInk = '#152939';
24exports.deepSquidInk = deepSquidInk;
25var linkUnderlayColor = '#FFF';
26exports.linkUnderlayColor = linkUnderlayColor;
27var textInputColor = '#000000';
28exports.textInputColor = textInputColor;
29var textInputBorderColor = '#C4C4C4';
30exports.textInputBorderColor = textInputBorderColor;
31var placeholderColor = '#C7C7CD';
32exports.placeholderColor = placeholderColor;
33var buttonColor = '#ff9900';
34exports.buttonColor = buttonColor;
35var disabledButtonColor = '#ff990080'; // Theme
36
37exports.disabledButtonColor = disabledButtonColor;
38
39var _default = _reactNative.StyleSheet.create({
40 container: {
41 flex: 1,
42 flexDirection: 'column',
43 alignItems: 'center',
44 justifyContent: 'space-around',
45 paddingTop: 20,
46 width: '100%',
47 backgroundColor: '#FFF'
48 },
49 section: {
50 flex: 1,
51 width: '100%',
52 justifyContent: 'space-between',
53 paddingHorizontal: 20
54 },
55 sectionScroll: {
56 flex: 1,
57 width: '100%',
58 paddingHorizontal: 20
59 },
60 sectionHeader: {
61 width: '100%',
62 marginBottom: 32,
63 paddingTop: 20
64 },
65 sectionHeaderText: {
66 color: deepSquidInk,
67 fontSize: 20,
68 fontWeight: '500'
69 },
70 sectionFooter: {
71 width: '100%',
72 padding: 10,
73 flexDirection: 'row',
74 justifyContent: 'space-between',
75 marginTop: 15,
76 marginBottom: 20
77 },
78 sectionFooterLink: {
79 fontSize: 14,
80 color: buttonColor,
81 alignItems: 'baseline',
82 textAlign: 'center'
83 },
84 sectionFooterLinkDisabled: {
85 fontSize: 14,
86 color: disabledButtonColor,
87 alignItems: 'baseline',
88 textAlign: 'center'
89 },
90 navBar: {
91 marginTop: 35,
92 padding: 15,
93 flexDirection: 'row',
94 justifyContent: 'flex-end',
95 alignItems: 'center'
96 },
97 navButton: {
98 marginLeft: 12,
99 borderRadius: 4
100 },
101 cell: {
102 flex: 1,
103 width: '50%'
104 },
105 errorRow: {
106 flexDirection: 'row',
107 justifyContent: 'center'
108 },
109 errorRowIcon: {
110 height: 25,
111 width: 25
112 },
113 errorRowText: {
114 marginLeft: 10
115 },
116 photo: {
117 width: '100%'
118 },
119 album: {
120 width: '100%'
121 },
122 button: {
123 backgroundColor: buttonColor,
124 alignItems: 'center',
125 padding: 16
126 },
127 buttonDisabled: {
128 backgroundColor: disabledButtonColor,
129 alignItems: 'center',
130 padding: 16
131 },
132 buttonText: {
133 color: '#fff',
134 fontSize: 14,
135 fontWeight: '600'
136 },
137 formField: {
138 marginBottom: 22
139 },
140 input: {
141 padding: 16,
142 borderWidth: 1,
143 borderRadius: 3,
144 borderColor: textInputBorderColor,
145 color: textInputColor
146 },
147 inputLabel: {
148 marginBottom: 8
149 },
150 phoneContainer: {
151 display: 'flex',
152 flexDirection: 'row',
153 alignItems: 'center'
154 },
155 phoneInput: {
156 flex: 2,
157 padding: 16,
158 borderWidth: 1,
159 borderRadius: 3,
160 borderColor: textInputBorderColor,
161 color: textInputColor
162 },
163 picker: {
164 flex: 1,
165 height: 44
166 },
167 pickerItem: {
168 height: 44
169 },
170 signedOutMessage: {
171 textAlign: 'center',
172 padding: 20
173 }
174});
175
176exports["default"] = _default;
\No newline at end of file