gitbutler/.storybook/preview.ts

26 lines
415 B
TypeScript
Raw Normal View History

2023-03-27 18:30:09 +03:00
import type { Preview } from '@storybook/svelte';
2023-03-31 15:32:36 +03:00
2023-03-28 11:15:17 +03:00
import '../src/app.postcss';
2023-03-27 18:30:09 +03:00
const preview: Preview = {
parameters: {
actions: { argTypesRegex: '^on[A-Z].*' },
controls: {
matchers: {
color: /(background|color)$/i,
date: /Date$/
}
2023-03-28 11:53:20 +03:00
},
backgrounds: {
default: 'GitButler_1',
values: [
{
name: 'GitButler_1',
value: '#27272A'
}
]
}
2023-03-27 18:30:09 +03:00
}
};
export default preview;