2024-02-08 10:43:55 +01:00
|
|
|
import type { Preview } from '@storybook/svelte';
|
2024-02-15 18:05:25 +01:00
|
|
|
// See src/routes/+layout.svelte
|
|
|
|
// Order is important!
|
|
|
|
import '../src/theme.postcss';
|
|
|
|
//import '@skeletonlabs/skeleton/styles/skeleton.css';
|
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;
|