storybook/docs/snippets/common/storybook-theme-example-variables.ts.mdx
2023-01-19 17:59:38 +00: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',
});
```