-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhistoire.config.js
59 lines (54 loc) · 1.13 KB
/
histoire.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
54
55
56
57
58
59
import { defineConfig, defaultColors } from 'histoire';
import { HstSvelte } from '@histoire/plugin-svelte';
export default defineConfig({
plugins: [HstSvelte()],
// path to setup file to load global css or js
setupFile: '/src/histoire.setup.js',
// organizes stories into groups
tree: {
groups: [
{
id: 'top',
title: '',
},
{
id: 'ui',
title: 'User Interface',
},
{
id: 'viz',
title: 'Visualization',
},
{
id: 'layercake',
title: 'LayerCake',
},
],
},
// background colors to select from the toolbar
backgroundPresets: [
{
label: 'White',
color: '#fff',
contrastColor: '#333',
},
{
label: 'Transparent',
color: 'transparent',
contrastColor: '#333',
},
],
// rbb|24 theme
theme: {
title: 'rbb|24',
logo: {
square: './static/rbb24-square.png',
light: './static/rbb24.png',
dark: './static/rbb24.png',
},
logoHref: 'https://github.com/rbb-data/svelte-starter',
colors: {
primary: defaultColors.gray,
},
},
});