Skip to content

Commit

Permalink
Merge pull request #210 from erik-d/Add-upgrade-paragraph
Browse files Browse the repository at this point in the history
Document what is needed when upgrading from 1.x
  • Loading branch information
hipstersmoothie authored Feb 3, 2023
2 parents ecc51df + 51bf51d commit 3d94659
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,17 @@ module.exports = {
};
```

## Upgrade from earlier version

Change in `.storybook/main.js`

```diff
module.exports = {
- addons: ['storybook-dark-mode/register']
+ addons: ['storybook-dark-mode']
};
```

## Configuration

Configure the dark and light mode by adding the following to your `.storybook/preview.js` file:
Expand Down

0 comments on commit 3d94659

Please sign in to comment.