gitbutler/packages/ui/.storybook/preview.ts
Pavel Laptev ab0c70b673
Package UI updates (#4539)
* documentation update + design tokens generation

* ts config update

* formatting fix

* update tokens config format

* ignore JS files check

* Storybook version bump

* formatting fix

* dark theme toggle added
2024-07-30 16:45:19 +02:00

20 lines
321 B
TypeScript

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