1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-23 10:30:04 +01:00
Commit Graph

3 Commits

Author SHA1 Message Date
Mark Stacey
f751605d0d
Fix Storybook styles (#8133)
When the storybook config was migrated to the new module structure in
PR #8112 I forgot to include the line where the styles were imported.
2020-02-27 19:17:27 -04:00
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
Mark Stacey
2be8bf0b0b
Rename Storybook modules (#8112)
The names for Storybook modules have changed in v5.3.0. `config.js` was
renamed to `preview.js`, and addon registration has been moved to
`main.js`.

See here for details: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#from-version-52x-to-53x
2020-02-26 09:34:59 -04:00