storybook/docs/snippets/common/storybook-theme-example-variables.ts.mdx
Norbert de Langen 26a1360ed0
add create export for lib/theming, proper
This is actually kind of a good idea, because of the size of lib/theming/index
2022-08-09 14:24:41 +02:00

14 lines
306 B
Plaintext

```ts
// .storybook/YourTheme.js
import { create } from '@storybook/theming/create';
export default create({
base: 'light',
brandTitle: 'My custom storybook',
brandUrl: 'https://example.com',
brandImage: 'https://storybook.js.org/images/placeholders/350x150.png',
brandTarget: '_self',
});
```