forked from temporalio/ui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhistoire.config.ts
32 lines (31 loc) · 882 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
import path from 'path';
import { defaultColors, defineConfig } from 'histoire';
import { HstSvelte as histoire } from '@histoire/plugin-svelte';
export default defineConfig({
plugins: [histoire()],
setupFile: './src/histoire.setup.ts',
storyIgnored: ['node_modules/**', 'dist/**', 'package/**', '.vercel/**'],
theme: {
title: 'Holocene',
favicon: './src/lib/vendor/favicon.ico',
logo: {
square: './src/lib/vendor/logo-dark.svg',
dark: './src/lib/vendor/logo.svg',
light: './src/lib/vendor/logo-dark.svg',
},
logoHref: 'https://temporal.io',
colors: {
gray: defaultColors.gray,
primary: defaultColors.blue,
},
},
vite: {
publicDir: './src/lib/vendor/',
resolve: {
alias: {
$lib: path.resolve('./src/lib'),
$app: path.resolve('./src/lib/svelte-mocks/app'),
},
},
},
});