-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpreStyles.js
76 lines (74 loc) · 1.29 KB
/
preStyles.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
export default {
//color
blue: { color: '#3182C8' },
cyan: { color: '#00AAAF' },
green: { color: '#00A65F' },
yellow: { color: '#E2902B' },
orange: { color: '#D9644A' },
red: { color: '#CF262F' },
purple: { color: '#8B1079' },
violet: { color: '#48217B' },
black: { color: '#000000' },
white: { color: '#ffffff' },
//layout
row: {
flexDirection: 'row',
},
column: {
flexDirection: 'column',
},
center: {
alignItems: 'center',
justifyContent: 'center',
alignContent: 'center',
},
flex: {
flex: 0
},
flex0: {
flex: 0
},
flex1: {
flex: 1
},
flex2: {
flex: 2
},
flex3: {
flex: 3
},
flex4: {
flex: 4
},
flex5: {
flex: 5
},
//item
h1: {
fontSize: 28,
fontWeight: 'bold',
},
h2: {
fontSize: 24,
fontWeight: 'bold',
},
h3: {
fontSize: 20,
fontWeight: 'bold',
},
detail: {
fontSize: 18,
},
link: {
textDecorationLine: 'underline'
},
underline: {
textDecorationLine: 'underline'
},
italic: {
fontStyle: 'italic'
},
bold: {
fontWeight: 'bold',
}
}