misskey/packages/frontend/.storybook/preview.ts

15 lines
282 B
TypeScript
Raw Normal View History

2023-03-19 13:22:14 +00:00
import type { Preview } from '@storybook/vue3';
import { applyTheme } from '../src/scripts/theme';
import theme from './theme';
import '../src/style.scss';
applyTheme(theme);
const preview = {
parameters: {
layout: 'centered',
},
} satisfies Preview;
export default preview;