Skip to content

Commit

Permalink
Merge pull request storybookjs#15496 from storybookjs/fix_theming_docs
Browse files Browse the repository at this point in the history
Chore: (Docs) Minor adjustments to the theming docs
  • Loading branch information
jonniebigodes authored Jul 6, 2021
2 parents b6bf34a + 0453d31 commit 52064d9
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions docs/configure/theming.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,20 +98,6 @@ Finally, we'll need to import the theme into Storybook. Create a new file called

<!-- prettier-ignore-end -->


Adjust your `storybook` script in your package.json and include the [`--no-manager-cache`](../api/cli-options.md#start-storybook) flag. For instance:

```json
{
"scripts":{
"storybook": "start-storybook -p 6006 --no-manager-cache",
},
}
```
<div class="aside">
💡 <strong>Note:</strong> Once you've finished configuring your theme, you can remove the <code>--no-manager-cache</code>flag from the <code>storybook</code> script at will. Leaving it in can severely impact loading times.
</div>

Now your custom theme will replace Storybook's default theme, and you'll see a similar set of changes in the UI.

![Storybook starter theme](./storybook-starter-custom-theme.png)
Expand Down

0 comments on commit 52064d9

Please sign in to comment.