-
Notifications
You must be signed in to change notification settings - Fork 26
/
Copy pathhistoire.config.ts
46 lines (44 loc) · 1020 Bytes
/
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
import { resolve } from 'pathe'
import { defaultColors, defineConfig } from 'histoire'
import { HstVue } from '@histoire/plugin-vue'
const logo = resolve(__dirname, './src/assets/images/element-plus-logo.svg')
export default defineConfig({
setupFile: './src/histoire.setup.ts',
plugins: [HstVue()],
theme: {
colors: {
gray: {
...defaultColors.slate,
100: '#cfd3dc',
300: '#b7b7b7',
700: '#141414',
750: '#141414',
800: '#434445',
900: '#606266',
},
primary: {
...defaultColors.blue,
500: '#409eff',
700: '#409eff',
},
},
title: 'Element Plus',
logo: {
dark: logo,
light: logo,
square: logo,
},
favicon: 'favicon.svg',
defaultColorScheme: 'dark',
hideColorSchemeSwitch: false,
storeColorScheme: true,
},
defaultStoryProps: {
layout: {
type: 'grid',
width: 320,
},
responsiveDisabled: true,
autoPropsDisabled: true,
},
})