mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-12-02 07:53:55 +03:00
ab0c70b673
* 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
20 lines
321 B
TypeScript
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;
|