-
Notifications
You must be signed in to change notification settings - Fork 12
/
doczrc.js
130 lines (127 loc) · 2.92 KB
/
doczrc.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
import { css } from 'docz-plugin-css'
const colors = {
white: '#FFFFFF',
grayExtraLight: '#EEF1F5',
grayLight: '#CED4DE',
gray: '#7D899C',
grayDark: '#2D3747',
grayExtraDark: '#1D2330',
dark: '#13161F',
blue: '#0B5FFF',
skyBlue: '#1FB6FF',
orange: '#FC997A'
}
export default {
description: 'ReactJSGirls Workshops',
title: 'ReactJSGirls Workshops',
src: './docs',
dest: './dist',
indexHtml: './index.html',
themeConfig: {
logo: {
src:
'https://cdn.rawgit.com/ReactJSGirls/reactjsgirls-docs/ca538038/images/logo.png',
width: 150
},
colors: {
primary: colors.orange,
text: colors.dark,
link: colors.skyBlue,
footerText: colors.grayDark,
sidebarBg: colors.grayExtraLight,
sidebarText: colors.dark,
background: colors.white,
border: colors.grayLight,
theadColor: colors.gray,
theadBg: colors.grayExtraLight,
tableColor: colors.dark,
tooltipBg: colors.dark,
tooltipColor: colors.grayExtraLight,
codeBg: colors.grayExtraLight,
codeColor: colors.gray,
preBg: colors.grayExtraLight,
blockquoteBg: colors.grayExtraLight,
blockquoteBorder: colors.grayLight,
blockquoteColor: colors.gray
},
/**
* Styles
*/
styles: {
body: {
fontFamily: "'Source Sans Pro', Helvetica, sans-serif",
fontSize: 16,
lineHeight: 1.6
},
container: {
width: 920,
padding: ['20px 30px', '0 40px 40px']
},
h1: {
margin: ['40px 0 20px', '60px 0 20px', '40px 0'],
fontSize: [36, 42, 48],
fontWeight: 100,
letterSpacing: '-0.02em'
},
h2: {
margin: ['20px 0 20px', '35px 0 20px'],
lineHeight: ['1.2em', '1.5em'],
fontSize: 28,
fontWeight: 600,
letterSpacing: '-0.02em'
},
h3: {
margin: '25px 0 10px',
fontSize: [22, 24],
fontWeight: 400
},
h4: {
fontSize: 20,
fontWeight: 400
},
h5: {
fontSize: 18,
fontWeight: 400
},
h6: {
fontSize: 16,
fontWeight: 400
},
list: {
padding: 0,
margin: '10px 0 10px 20px'
},
playground: {
padding: ['1.5em', '2em']
},
code: {
margin: '0 3px',
padding: '4px 6px',
borderRadius: '3px',
fontFamily: '"Source Code Pro", monospace',
fontSize: 14
},
pre: {
fontFamily: '"Source Code Pro", monospace',
fontSize: 14,
lineHeight: 1.8
},
table: {
marginBottom: [20, 40],
fontFamily: "'Source Sans Pro', Helvetica, sans-serif",
fontSize: 14
},
blockquote: {
margin: '25px 0',
padding: '20px',
fontStyle: 'italic',
fontSize: 18
}
}
},
plugins: [
css({
preprocessor: 'postcss'
})
]
}