Commit 815efe22b156644aa505b917066602fe3e190a80
1 parent
5d1782a3
Exists in
master
and in
1 other branch
Put theme instructions in readme
Showing
1 changed file
with
10 additions
and
0 deletions
Show diff stats
README.md
| @@ -27,3 +27,13 @@ See some important folders bellow: | @@ -27,3 +27,13 @@ See some important folders bellow: | ||
| 27 | - Content viewer component: `src/app/article/content-viewer` | 27 | - Content viewer component: `src/app/article/content-viewer` |
| 28 | - Profile component: `src/app/profile` | 28 | - Profile component: `src/app/profile` |
| 29 | - Profile Info component: `src/app/profile/info` | 29 | - Profile Info component: `src/app/profile/info` |
| 30 | + | ||
| 31 | + | ||
| 32 | +## Change theme | ||
| 33 | + | ||
| 34 | +1. Create the theme folder inside themes | ||
| 35 | +1. Configure application to use the new theme, e.g.: | ||
| 36 | +`npm config set angular-theme:theme custom-theme` | ||
| 37 | +1. Create an app folder inside custom-theme and add your custom scss files | ||
| 38 | +1. Put the templates that you want to override in the same structure from the main application source, e.g.: | ||
| 39 | +`src/app/profile/profile.html` will be overriden by `themes/custom-theme/app/profile/profile.html` |