storybook/docs/snippets/common/storybook-preview-docs-dark-theme.js.mdx
2022-11-17 16:33:22 +01:00

13 lines
179 B
Plaintext

```js
// .storybook/preview.js
import { themes } from '@storybook/theming';
// or global addParameters
export const parameters = {
docs: {
theme: themes.dark,
},
};
```