1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-23 02:10:12 +01:00
metamask-extension/.storybook
Mark Stacey b6487f08b7
Allow changing Storybook preview backgrounds (#8111)
The `@storybook/addon-backgrounds' addon has been added, which allows
changing the component preview background. By default no background
colors are defined, though there is a helpful grid button. A "light"
and "dark" background option has been added globally. Additional
story-specific backgrounds or global backgrounds can be added later if
necessary.
2020-02-26 13:40:53 -04:00
..
main.js Allow changing Storybook preview backgrounds (#8111) 2020-02-26 13:40:53 -04:00
preview.js Allow changing Storybook preview backgrounds (#8111) 2020-02-26 13:40:53 -04:00
README.md Switch from npm to yarn (#6843) 2019-07-30 15:36:23 -03:00
webpack.config.js Enable Storybook deploy on CI (#8009) 2020-02-08 16:26:33 -03:30

Storybook

We're currently using Storybook as part of our design system. To run Storybook and test some of our UI components, clone the repo and run the following:

yarn
yarn storybook

You should then see:

info Storybook started on => http://localhost:6006/

In your browser, navigate to http://localhost:6006/ to see the Storybook application. From here, you'll be able to easily view components and even modify some of their properties.