[ADF-theming-fix] Fix theming related issues (#2276)

* First steps

* Every package have separate entry points for styling mixins

* Moving to config dir, and using it in demo shell

* Remove webpack config include path magic from activiti-form package

* Fixing all the webpack common configs and using relative paths in the prebuilt themes

* Datatable header fix

* Update documentation
This commit is contained in:
Popovics András
2017-09-01 14:53:05 +01:00
committed by Mario Romano
parent 738290ce37
commit 407e11664a
72 changed files with 8936 additions and 7538 deletions

View File

@@ -19,7 +19,8 @@ module.exports = {
resolve: {
alias: {
"ng2-alfresco-core": helpers.root('../ng2-alfresco-core/index.ts'),
"ng2-alfresco-core$": helpers.root('../ng2-alfresco-core/index.ts'),
"ng2-alfresco-core": helpers.root('../ng2-alfresco-core'),
"ng2-alfresco-datatable": helpers.root('../ng2-alfresco-datatable/index.ts'),
"ng2-activiti-form": helpers.root('../ng2-activiti-form/index.ts')
},
@@ -69,10 +70,7 @@ module.exports = {
}, {
loader: "raw-loader"
}, {
loader: "sass-loader",
options: {
includePaths: [ path.resolve(__dirname, '../../ng2-alfresco-core/styles')]
}
loader: "sass-loader"
}],
exclude: [/node_modules/, /bundles/, /dist/, /demo/]
},

View File

@@ -0,0 +1,15 @@
@import '../src/components/comment-list.component';
@import '../src/components/start-task.component';
@import '../src/components/people-search.component';
@import '../src/components/people.component';
@import '../src/components/task-filters.component';
@import '../src/components/task-header.component';
@mixin alfresco-activity-tasklist-theme($theme) {
@include mat-comment-list-theme($theme);
@include mat-start-task-theme($theme);
@include mat-people-search-theme($theme);
@include mat-people-theme($theme);
@include mat-filters-task-theme($theme);
@include mat-header-theme($theme);
}