-
Notifications
You must be signed in to change notification settings - Fork 0
/
histoire.config.ts
52 lines (50 loc) · 1.19 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
import { defineConfig } from 'histoire';
import { HstVue } from '@histoire/plugin-vue';
import * as radixColors from '@radix-ui/colors';
export default defineConfig({
setupFile: './histoire.setup.ts',
plugins: [HstVue()],
theme: {
darkClass: 'dark',
title: '@chatwoot/design',
logo: {
square: '/src/assets/images/brand-assets/logo-thumbnail.svg',
light: '/src/assets/images/brand-assets/logo.png',
dark: '/src/assets/images/brand-assets/logo-dark.png',
},
colors: {
primary: {
100: radixColors.blue.blue4,
200: radixColors.blue.blue5,
300: radixColors.blue.blue6,
400: radixColors.blue.blue7,
500: radixColors.blue.blue8,
600: radixColors.blue.blue9,
700: radixColors.blue.blue10,
800: radixColors.blue.blue11,
900: radixColors.blue.blue12,
},
},
},
defaultStoryProps: {
icon: 'carbon:cube',
iconColor: '#1F93FF',
layout: {
type: 'grid',
width: '80%',
},
},
tree: {
groups: [
{
id: 'top',
title: '',
},
{
id: 'components',
title: 'Components',
include: () => true,
},
],
},
});