2024-02-08 10:43:55 +01:00
|
|
|
import type { Preview } from '@storybook/svelte';
|
2024-02-09 21:13:06 +01:00
|
|
|
import '../src/app.postcss';
|
2024-02-08 10:43:55 +01:00
|
|
|
|
|
|
|
const preview: Preview = {
|
|
|
|
parameters: {
|
|
|
|
actions: { argTypesRegex: '^on[A-Z].*' },
|
|
|
|
controls: {
|
|
|
|
matchers: {
|
|
|
|
color: /(background|color)$/i,
|
|
|
|
date: /Date$/i
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
};
|
|
|
|
|
|
|
|
export default preview;
|