[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

@@ -0,0 +1,25 @@
@import 'ng2-alfresco-core/styles/index';
@import 'ng2-activiti-analytics/styles/index';
@import 'ng2-activiti-diagrams/styles/index';
@import 'ng2-activiti-form/styles/index';
@import 'ng2-activiti-processlist/styles/index';
@import 'ng2-activiti-tasklist/styles/index';
@import 'ng2-alfresco-datatable/styles/index';
@import 'ng2-alfresco-documentlist/styles/index';
@import 'ng2-alfresco-login/styles/index';
@import 'ng2-alfresco-upload/styles/index';
@import 'ng2-alfresco-userinfo/styles/index';
@mixin alfresco-material-theme($theme) {
@include alfresco-core-theme($theme);
@include alfresco-activity-analytics-theme($theme);
@include alfresco-activity-diagrams-theme($theme);
@include alfresco-activity-form-theme($theme);
@include alfresco-activity-processlist-theme($theme);
@include alfresco-activity-tasklist-theme($theme);
@include alfresco-datatable-theme($theme);
@include alfresco-documentlist-theme($theme);
@include alfresco-login-theme($theme);
@include alfresco-upload-theme($theme);
@include alfresco-userinfo-theme($theme);
}

View File

@@ -0,0 +1,12 @@
@import '~ng2-alfresco-core/styles/theming';
@import './all-theme';
@include mat-core();
$primary: mat-palette($alfresco-ecm-blue);
$accent: mat-palette($alfresco-accent-orange);
$warn: mat-palette($alfresco-warn);
$theme: mat-light-theme($primary, $accent, $warn);
@include angular-material-theme($theme);
@include alfresco-material-theme($theme);

View File

@@ -0,0 +1,12 @@
@import '~ng2-alfresco-core/styles/theming';
@import './all-theme';
@include mat-core();
$primary: mat-palette($alfresco-ecm-blue);
$accent: mat-palette($alfresco-accent-purple);
$warn: mat-palette($alfresco-warn);
$theme: mat-light-theme($primary, $accent, $warn);
@include angular-material-theme($theme);
@include alfresco-material-theme($theme);

View File

@@ -0,0 +1,12 @@
@import '~ng2-alfresco-core/styles/theming';
@import './all-theme';
@include mat-core();
$primary: mat-palette($alfresco-ecm-cyan);
$accent: mat-palette($alfresco-accent-orange);
$warn: mat-palette($alfresco-warn);
$theme: mat-light-theme($primary, $accent, $warn);
@include angular-material-theme($theme);
@include alfresco-material-theme($theme);

View File

@@ -0,0 +1,12 @@
@import '~ng2-alfresco-core/styles/theming';
@import './all-theme';
@include mat-core();
$primary: mat-palette($alfresco-ecm-cyan);
$accent: mat-palette($alfresco-accent-purple);
$warn: mat-palette($alfresco-warn);
$theme: mat-light-theme($primary, $accent, $warn);
@include angular-material-theme($theme);
@include alfresco-material-theme($theme);

View File

@@ -0,0 +1,12 @@
@import '~ng2-alfresco-core/styles/theming';
@import './all-theme';
@include mat-core();
$primary: mat-palette($alfresco-bpm-green);
$accent: mat-palette($alfresco-accent-orange);
$warn: mat-palette($alfresco-warn);
$theme: mat-light-theme($primary, $accent, $warn);
@include angular-material-theme($theme);
@include alfresco-material-theme($theme);

View File

@@ -0,0 +1,12 @@
@import '~ng2-alfresco-core/styles/theming';
@import './all-theme';
@include mat-core();
$primary: mat-palette($alfresco-bpm-green);
$accent: mat-palette($alfresco-accent-purple);
$warn: mat-palette($alfresco-warn);
$theme: mat-light-theme($primary, $accent, $warn);
@include angular-material-theme($theme);
@include alfresco-material-theme($theme);

View File

@@ -0,0 +1,11 @@
@import '~ng2-alfresco-core/styles/theming';
@import './all-theme';
@include mat-core();
$primary: mat-palette($mat-indigo);
$accent: mat-palette($mat-pink, A200, A100, A400);
$theme: mat-light-theme($primary, $accent);
@include angular-material-theme($theme);
@include alfresco-material-theme($theme);

View File

@@ -0,0 +1,11 @@
@import '~ng2-alfresco-core/styles/theming';
@import './all-theme';
@include mat-core();
$primary: mat-palette($mat-pink, 700, 500, 900);
$accent: mat-palette($mat-blue-grey, A200, A100, A400);
$theme: mat-dark-theme($primary, $accent);
@include angular-material-theme($theme);
@include alfresco-material-theme($theme);

View File

@@ -0,0 +1,11 @@
@import '~ng2-alfresco-core/styles/theming';
@import './all-theme';
@include mat-core();
$primary: mat-palette($mat-purple, 700, 500, 800);
$accent: mat-palette($mat-green, A200, A100, A400);
$theme: mat-dark-theme($primary, $accent);
@include angular-material-theme($theme);
@include alfresco-material-theme($theme);