forked from CharlesMangwa/react-native-simple-markdown
-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.js
128 lines (126 loc) · 2.06 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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
/* @flow */
const styles = {
view: {},
codeBlock: {
fontFamily: 'Courier',
fontWeight: '500',
},
del: {
containerBackgroundColor: '#222222',
},
em: {
fontStyle: 'italic',
},
heading: {
fontWeight: '200',
},
heading1: {
fontSize: 32,
},
heading2: {
fontSize: 24,
},
heading3: {
fontSize: 18,
},
heading4: {
fontSize: 16,
},
heading5: {
fontSize: 13,
},
heading6: {
fontSize: 11,
},
hr: {
backgroundColor: '#cccccc',
height: 1,
},
image: {
width: 300,
height: 300,
},
inlineCode: {
backgroundColor: '#eeeeee',
borderColor: '#dddddd',
borderRadius: 3,
borderWidth: 1,
fontFamily: 'Courier',
fontWeight: 'bold',
},
link: {
textDecorationLine: 'underline',
},
list: {},
listItem: {
flexDirection: 'row',
},
listItemBullet: {
fontSize: 20,
lineHeight: 20,
marginTop: 0,
},
listItemNumber: {
fontWeight: 'bold',
},
mailTo: {
textDecorationLine: 'underline',
},
paragraph: {
marginTop: 10,
marginBottom: 10,
flexWrap: 'wrap',
flexDirection: 'row',
alignItems: 'flex-start',
justifyContent: 'flex-start',
},
listItemText: {
flexDirection: 'row',
flexWrap: 'wrap',
justifyContent: 'flex-start',
alignItems: 'flex-start',
color: '#222222',
},
strong: {
fontWeight: 'bold',
},
table: {
borderWidth: 1,
borderColor: '#222222',
borderRadius: 3,
},
tableHeader: {
backgroundColor: '#222222',
flexDirection: 'row',
justifyContent: 'space-around',
},
tableHeaderCell: {
color: '#ffffff',
fontWeight: 'bold',
padding: 5,
},
tableRow: {
borderBottomWidth: 1,
borderColor: '#222222',
flexDirection: 'row',
justifyContent: 'space-around',
},
tableRowLast: {
borderColor: 'transparent',
},
tableRowCell: {
padding: 5,
},
text: {
color: '#222222',
},
u: {
borderColor: '#222222',
borderBottomWidth: 1,
},
video: {
width: 300,
height: 300,
}
}
export default styles