vega-frontend-monorepo/libs/ui-toolkit/.storybook/preview.js
Bartłomiej Głownia 30761f2b9d Setup tailwind.css
2022-02-23 16:29:07 -08:00

20 lines
395 B
JavaScript

import '../src/styles.scss';
export const parameters = {
actions: { argTypesRegex: '^on[A-Z].*' },
themes: {
default: 'dark',
list: [
{ name: 'dark', class: ['dark', 'bg-black'], color: '#000' },
{ name: 'light', class: '', color: '#FFF' },
],
},
};
export const decorators = [
(Story) => (
<div className="dark bg-black">
<Story />
</div>
),
];