mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-12-18 06:22:28 +03:00
26 lines
415 B
TypeScript
26 lines
415 B
TypeScript
import type { Preview } from '@storybook/svelte';
|
|
|
|
import '../src/app.postcss';
|
|
const preview: Preview = {
|
|
parameters: {
|
|
actions: { argTypesRegex: '^on[A-Z].*' },
|
|
controls: {
|
|
matchers: {
|
|
color: /(background|color)$/i,
|
|
date: /Date$/
|
|
}
|
|
},
|
|
backgrounds: {
|
|
default: 'GitButler_1',
|
|
values: [
|
|
{
|
|
name: 'GitButler_1',
|
|
value: '#27272A'
|
|
}
|
|
]
|
|
}
|
|
}
|
|
};
|
|
|
|
export default preview;
|