gitbutler/packages/ui/.storybook/preview.ts

20 lines
321 B
TypeScript
Raw Normal View History

2024-06-20 15:00:00 +03:00
import type { Preview } from '@storybook/svelte';
import '../src/styles/main.css';
import './stories-styles.css';
2024-06-20 15:00:00 +03:00
const preview: Preview = {
parameters: {
controls: {
matchers: {
color: /(background|color)$/i,
date: /Date$/i
}
},
darkMode: {
stylePreview: true
2024-06-20 15:00:00 +03:00
}
}
};
export default preview;