mirror of
https://github.com/aljazceru/mutiny-web.git
synced 2025-12-18 14:54:26 +01:00
30 lines
664 B
TypeScript
30 lines
664 B
TypeScript
import '../src/index.css'
|
|
import { Preview } from "storybook-solidjs"
|
|
|
|
const preview: Preview = {
|
|
parameters: {
|
|
backgrounds: {
|
|
default: 'dark',
|
|
values: [
|
|
{
|
|
name: 'dark',
|
|
value: '#171717',
|
|
},
|
|
{
|
|
name: 'light',
|
|
value: '#3b5998',
|
|
},
|
|
],
|
|
},
|
|
actions: { argTypesRegex: "^on[A-Z].*" },
|
|
controls: {
|
|
matchers: {
|
|
color: /(background|color)$/i,
|
|
date: /Date$/
|
|
}
|
|
}
|
|
}
|
|
};
|
|
|
|
export default preview;
|