-
Notifications
You must be signed in to change notification settings - Fork 0
/
doczrc.js
55 lines (53 loc) · 1.18 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
const doczPluginNetlify = require('docz-plugin-netlify');
const {css} = require('styled-components');
module.exports = {
title: 'HZ Core',
description: "HZ's internal library of React Components",
src: './packages',
public: './static',
files: '**/*.{md,mdx}',
codeSandbox: false,
typescript: true,
ignore: ['**/changelog.*', '**/{animations,simple-actions}/**'],
menu: [
'About',
'Headless Components',
'Hooks',
'Styled Components',
'Utilities',
'UI Components',
'Conventional Commits',
'Deprecated',
],
htmlContext: {
favicon: 'public/favicon.ico',
},
themeConfig: {
showPlaygroundEditor: false,
logo: {
src: 'public/logo.svg',
width: 150,
},
colors: {
primary: 'rgb(243,130,48)',
text: 'rgb(67,69,77)',
link: 'rgb(243,130,48)',
sidebarText: 'rgb(127,129,134)',
blockquoteBorder: 'rgb(190,141,190)',
},
styles: {
logo: css`
align-items: center;
`,
playground: css`
padding: 0;
min-height: 100%;
display: flex;
& > div:only-child {
flex: 1;
}
`,
},
},
plugins: [doczPluginNetlify()],
};