generated from antfu-collective/vitesse-lite
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
histoire.config.ts
64 lines (63 loc) · 1.38 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
import { defineConfig } from 'histoire'
import { HstVue } from '@histoire/plugin-vue'
import { HstPercy } from '@histoire/plugin-percy'
import MyPlugin from './my-plugin'
export default defineConfig({
plugins: [HstVue(), HstPercy({
pptrWait: 1000,
}), MyPlugin],
setupFile: 'histoire.setup.ts',
storyMatch: [
'**/*.stories.vue',
],
tree: {
groups: [
{
id: 'top',
title: '', // No toggle
},
],
},
theme: {
title: 'jojko\'s UI',
logo: {
square: './public/favicon.svg',
dark: './public/favicon.svg',
light: './public/favicon.svg',
},
logoHref: 'https://jojko.tech',
defaultColorScheme: 'dark',
hideColorSchemeSwitch: true,
storeColorScheme: false,
favicon: 'favicon.svg',
colors: {
primary: {
50: '#F9FAFB',
100: '#F3F4F6',
200: '#E5E7EB',
300: '#D1D5DB',
400: '#9CA3AF',
500: '#6B7280',
600: '#4B5563',
700: '#374151',
800: '#1F2937',
900: '#111827',
},
gray: {
50: '#F9FAFB',
100: '#F3F4F6',
200: '#E5E7EB',
300: '#D1D5DB',
400: '#9CA3AF',
500: '#6B7280',
600: '#4B5563',
700: '#0a121e',
750: '#101b2b',
800: '#1F2937',
850: '#1E293B',
900: '#111827',
950: '#0F172A',
},
},
},
})