-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.js
More file actions
37 lines (35 loc) · 735 Bytes
/
styles.js
File metadata and controls
37 lines (35 loc) · 735 Bytes
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
import { StyleSheet } from 'react-native';
export const joystickSize = 100;
export const styles = StyleSheet.create({
container: {
flex: 1,
justifyContent: 'center',
alignItems: 'center',
backgroundColor: '#F5FCFF',
},
instructions: {
textAlign: 'center',
color: '#333333',
marginBottom: 5,
},
joystick: {
width: joystickSize,
height: joystickSize,
borderRadius: joystickSize * 0.5,
borderWidth: 5,
backgroundColor: '#5d5d5d'
},
button: {
color: '#ffffff',
textAlign: 'center'
},
buttonContainer: {
paddingTop: 2,
width: 200,
height: 40,
borderRadius: 5,
borderWidth: 5,
backgroundColor: '#5d5d5d',
borderColor: '#000000',
}
});