-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathstyleguide.config.js
53 lines (52 loc) · 1.22 KB
/
styleguide.config.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
const path = require('path');
const { createConfig, babel, postcss } = require('webpack-blocks');
module.exports = {
webpackConfig: createConfig([babel(), postcss()]),
title: "Ebates Chat Kit",
styleguideComponents: {
Wrapper: path.join(__dirname, 'styleguide/ThemeWrapper'),
LogoRenderer: path.join(__dirname, 'styleguide/LogoRenderer')
},
theme: {
color: {
link: '#fff',
sidebarBackground: '#20A441'
}
},
ribbon: {
url: 'https://github.com/ebates-edc/ebates-chat-kit',
text: 'Fork me on GitHub'
},
sections: [
{
name: 'Introduction',
content: 'docs/introduction.md'
},
{
name: 'UI Components',
content: 'docs/ui.md',
components: 'src/components/[A-Z]*.js',
sections: [
{
name: 'Message',
components: 'src/components/Message/[A-Z]*.js'
}
]
}
],
skipComponentsWithoutExample: true,
template: {
head: {
links: [
{
rel: 'stylesheet',
href: 'https://www.ebates.com/global_files/fonts/fonts.1.1.7.min.css'
},
{
rel: 'stylesheet',
href: 'https://fonts.googleapis.com/icon?family=Material+Icons'
}
]
}
}
};