-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhistoire.config.ts
78 lines (75 loc) · 1.34 KB
/
histoire.config.ts
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
import { defaultColors, defineConfig } from 'histoire'
import { HstVue } from '@histoire/plugin-vue'
export default defineConfig({
plugins: [HstVue()],
viteIgnorePlugins: ['vite:dts'],
setupFile: './histoire.setup.ts',
theme: {
title: 'HOOK DSLib',
logo: {
square: './src/Logo.svg',
light: './src/Logo.svg',
dark: './src/Logo.svg'
},
colors: {
primary: defaultColors.cyan
},
logoHref: 'https://dslibpfe.vercel.app/',
favicon: './public/Logo.svg',
storeColorScheme: true
},
defaultStoryProps: {
layout: {
type: 'grid',
width: 300
},
autoPropsDisabled: true,
responsiveDisabled: true
},
backgroundPresets: [
{
label: 'black',
color: '#1B1B1E'
},
{
label: 'darkgrey',
color: '#787878'
},
{
label: 'grey',
color: '#CDCDCD'
},
{
label: 'lightgrey',
color: '#ECECEC'
},
{
label: 'verylightgrey',
color: '#F6F6F6'
},
{
label: 'white',
color: '#FFFFFF'
}
],
tree: {
groups: [
{
title: 'Indicators',
id: 'indicators'
},
{
title: 'Media',
id: 'media'
},
{
title: 'CTA',
id: 'cta'
},
{
title: 'Containment',
id: 'containment'
}
]
}
})