Skip to content

Commit

Permalink
Update docs/source/addons/theme.md
Browse files Browse the repository at this point in the history
Co-authored-by: Katja Süss <k.suess@rohberg.ch>
  • Loading branch information
sneridagh and ksuess committed Apr 3, 2023
1 parent dbb5735 commit 074132d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/source/addons/theme.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ THEME='volto-my-theme' yarn start
/* End Config */
```

3. Declare the theme as an add-on by adding its name as the value for the `addons` key in either `volto.config.js` or `package.json`.
3. Declare the theme as an add-on by adding its name to the value for the `addons` key in either `volto.config.js` or `package.json` of your project.
4. After starting Volto, the theme should be active.
Now you can add overrides to the default theme in `src/theme`, same as you would in a project.
5. Now you can safely delete your project's `theme` folder, since the one in the add-on will take precedence and a project can only have one active theme at a time.
Expand Down

0 comments on commit 074132d

Please sign in to comment.