diff --git a/.storybook/manager.js b/.storybook/manager.js new file mode 100644 index 000000000..3f32fb0ba --- /dev/null +++ b/.storybook/manager.js @@ -0,0 +1,6 @@ +import { addons } from '@storybook/addons'; +import MetaMaskStorybookTheme from './metamask-storybook-theme'; + +addons.setConfig({ + theme: MetaMaskStorybookTheme, +}); diff --git a/.storybook/metamask-storybook-theme.js b/.storybook/metamask-storybook-theme.js new file mode 100644 index 000000000..707afc6e9 --- /dev/null +++ b/.storybook/metamask-storybook-theme.js @@ -0,0 +1,10 @@ +// .storybook/YourTheme.js + +import { create } from '@storybook/theming'; +import logo from '../app/images/logo/metamask-logo-horizontal.svg'; + +export default create({ + base: 'light', + brandTitle: 'MetaMask Storybook', + brandImage: logo, +}); diff --git a/.storybook/preview-head.html b/.storybook/preview-head.html new file mode 100644 index 000000000..3f66a651e --- /dev/null +++ b/.storybook/preview-head.html @@ -0,0 +1,56 @@ + + + + +