mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[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:
committed by
Mario Romano
parent
738290ce37
commit
407e11664a
@@ -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/]
|
||||
},
|
||||
|
15
ng2-components/ng2-activiti-tasklist/styles/index.scss
Normal file
15
ng2-components/ng2-activiti-tasklist/styles/index.scss
Normal 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);
|
||||
}
|
Reference in New Issue
Block a user