41d82656b3
I also check for accessibility now. Signed-off-by: André Jaenisch <andre.jaenisch@posteo.de>
16 lines
289 B
TypeScript
16 lines
289 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$/i
|
|
}
|
|
}
|
|
}
|
|
};
|
|
|
|
export default preview;
|