storybook/docs/snippets/common/storybook-manager-dark-theme.js.mdx
2020-10-07 12:23:34 +08:00

10 lines
170 B
Plaintext

```js
// .storybook/manager.js
import { addons } from '@storybook/addons';
import { themes } from '@storybook/theming';
addons.setConfig({
theme: themes.dark,
});
```