/
styles.js
143 lines (143 loc) · 2.38 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
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
export default Object.freeze({
blockQuote: {
marginLeft: 10,
opacity: 0.8,
},
codeBlock: {
fontFamily: 'Courier',
fontWeight: '500',
},
del: {
textDecorationLine: 'line-through',
},
em: {
fontStyle: 'italic',
},
heading: {
fontWeight: '700',
},
heading1: {
fontSize: 32,
marginTop: 22,
marginBottom: 22,
marginLeft: 0,
marginRight: 0,
},
heading2: {
fontSize: 24,
marginTop: 20,
marginBottom: 20,
marginLeft: 0,
marginRight: 0,
},
heading3: {
fontSize: 20,
marginTop: 20,
marginBottom: 20,
marginLeft: 0,
marginRight: 0,
},
heading4: {
fontSize: 16,
marginTop: 22,
marginBottom: 22,
marginLeft: 0,
marginRight: 0,
},
heading5: {
fontSize: 14,
marginTop: 22,
marginBottom: 22,
marginLeft: 0,
marginRight: 0,
},
heading6: {
fontSize: 11,
marginTop: 24,
marginBottom: 24,
marginLeft: 0,
marginRight: 0,
},
hr: {
backgroundColor: '#ccc',
height: 1,
},
imageWrapper: {
padding: 4,
width: 320,
height: 320,
},
image: {
flexGrow: 1,
},
inlineCode: {
backgroundColor: 'rgba(128, 128, 128, 0.25)',
fontFamily: 'Courier',
fontWeight: '500',
},
link: {
color: '#0366d6',
},
list: {
margin: 8,
},
listItem: {
flexDirection: 'row',
},
listItemNumber: {
minWidth: 32,
paddingRight: 4,
},
listItemBullet: {
minWidth: 32,
paddingRight: 4,
},
listItemOrderedContent: {
flex: 1,
},
listItemUnorderedContent: {
flex: 1,
},
paragraph: {
marginTop: 10,
marginBottom: 10,
},
strong: {
fontWeight: '700',
},
table: {
margin: 4,
borderColor: '#222',
},
tableHeaderCell: {
borderColor: '#222',
},
tableHeaderCellContent: {
fontWeight: '700',
},
tableCell: {
padding: 5,
},
tableCellOddRow: {
backgroundColor: 'rgba(128, 128, 128, 0.1)',
},
tableCellEvenRow: {},
tableCellLastRow: {
borderBottomWidth: 0,
},
tableCellOddColumn: {},
tableCellEvenColumn: {},
tableCellLastColumn: {
borderRightWidth: 0,
},
tableCellContent: {},
tableCellContentOddRow: {},
tableCellContentEvenRow: {},
tableCellContentLastRow: {},
tableCellContentOddColumn: {},
tableCellContentEvenColumn: {},
tableCellContentLastColumn: {},
u: {
textDecorationLine: 'underline',
},
})