Skip to content

Commit

Permalink
Update styles section in admin panel (closes strapi#76)
Browse files Browse the repository at this point in the history
  • Loading branch information
pwizla committed Mar 5, 2021
1 parent 86482b6 commit 16fecec
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,8 @@ export default WysiwygWithErrors;

The AdminUI package source can be easily found in `./node_modules/strapi-admin/src/`.

For example, to change the top-left displayed admin panel's color, copy the `./node_modules/strapi-admin/admin/src/components/LeftMenu/LeftMenuHeader` folder to `./admin/src/components/LeftMenu/LeftMenuHeader` and change the styles inside `./admin/src/components/LeftMenu/LeftMenuHeader/Wrapper.js`.
For example, to change the top-left displayed admin panel's color, copy the `./node_modules/strapi-admin/admin/src/components/LeftMenu/LeftMenuHeader` folder to `./admin/src/components/LeftMenu/LeftMenuHeader` (create these folders if they don't exist) and change the styles inside `./admin/src/components/LeftMenu/LeftMenuHeader/Wrapper.js`.


Thus, you are replacing the files that would normally be in `node_modules/strapi-admin/admin/src` and directing them to `admin/src/some/file/path`.

Expand Down

0 comments on commit 16fecec

Please sign in to comment.