-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.js
103 lines (100 loc) · 2.74 KB
/
styles.js
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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
'use strict';
import React, { Component } from 'react';
import { StyleSheet } from 'react-native';
/* Style sheet for app. Global variable colorControl consolidates global
* variables under one name to avoid burdening the global namespace.*/
const colorControl = {
bgColor: '#BAC9CF',
buttonColor: '#FFC02E',
buttonBorderColor: '#FFF6E0',
activeColor: '#FFF6E0',
activeButtonColor: '#000000',
liveColor: '#EF3456',
}
const styles = StyleSheet.create({
bg: {
flex: 1,
backgroundColor: colorControl.bgColor,
},
bgActive: {
flex: 1,
backgroundColor: colorControl.activeColor,
},
center: {
paddingTop: 150,
justifyContent: 'center',
alignItems: 'center',
},
container: {
flex: 1,
justifyContent: 'center',
alignItems: 'center',
backgroundColor: '#BAC9CF',
marginLeft: 25,
marginRight: 25,
},
containerActive: {
flex: 1,
justifyContent: 'center',
alignItems: 'center',
backgroundColor: colorControl.activeColor,
marginLeft: 25,
marginRight: 25,
},
button: {
backgroundColor: colorControl.buttonColor,
borderColor: colorControl.buttonBorderColor,
height: 80,
},
thinButton: {
backgroundColor: colorControl.buttonColor,
borderColor: colorControl.buttonBorderColor,
height: 40,
},
thinButtonActive: {
backgroundColor: colorControl.activeButtonColor,
borderColor: colorControl.buttonBorderColor,
height: 40,
},
bigButton: {
backgroundColor: colorControl.buttonColor,
borderColor: colorControl.buttonBorderColor,
height: 160,
},
bigButtonActive: {
backgroundColor: colorControl.activeButtonColor,
borderColor: colorControl.buttonBorderColor,
height: 160,
},
buttonTextStyle: {
fontSize: 24,
fontFamily: 'Helvetica',
letterSpacing: 2,
fontWeight: '200',
color: colorControl.buttonBorderColor,
textShadowColor: colorControl.bgColor,
textShadowOffset: {width: 1, height: 1},
textShadowRadius: 2,
},
warningTextStyle: {
fontSize: 20,
fontFamily: 'Helvetica',
letterSpacing: 0,
fontWeight: '200',
color: colorControl.buttonBorderColor,
textShadowColor: colorControl.bgColor,
textShadowOffset: {width: 1, height: 1},
textShadowRadius: 2,
paddingBottom: 15,
},
live: {
flex: 1,
backgroundColor: colorControl.liveColor,
justifyContent: 'center',
alignItems: 'center',
},
});
module.exports = {
styles: styles,
colorControl: colorControl,
};