Commit 8dfabb216c2382807288cab0fd3bbbc0dc737046
1 parent
e1207c66
Exists in
master
and in
30 other branches
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` |