From d9124d9e7263d1d3e4a122a8892d58ba94dd851c Mon Sep 17 00:00:00 2001 From: bntnam Date: Thu, 11 Jul 2019 23:18:19 +0200 Subject: [PATCH] Update customize-admin in beta documentation --- docs/3.0.0-beta.x/advanced/customize-admin.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/docs/3.0.0-beta.x/advanced/customize-admin.md b/docs/3.0.0-beta.x/advanced/customize-admin.md index 849a881a2a..b692f35514 100644 --- a/docs/3.0.0-beta.x/advanced/customize-admin.md +++ b/docs/3.0.0-beta.x/advanced/customize-admin.md @@ -33,6 +33,20 @@ The panel will be available through [http://localhost:1337/dashboard](http://loc **_Currently not available_** +### Styles + +Admin part can be easily found in `./node_modules/strapi-admin/src/`. + +For example, to change the top-left displayed admin panel's color, `./node_modules/strapi-admin/admin/src/components/LeftMenuHeader/styles.scss` should be overriden by `./admin/src/components/LeftMenuHeader/styles.scss` with your own styles. + +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`. + +To apply your changes you need to rebuild your admin panel + +``` +npm run build +``` + ### Logo To change the top-left displayed admin panel's logo, add your custom image at `./admin/src/assets/images/logo-strapi.png`.