@sumaris-net/ngx-components 2.7.3-rc70 → 2.7.3-rc71

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sumaris-net/ngx-components",
3
3
  "description": "SUMARiS Angular components",
4
- "version": "2.7.3-rc70",
4
+ "version": "2.7.3-rc71",
5
5
  "author": "contact@e-is.pro",
6
6
  "license": "AGPL-3.0",
7
7
  "readmeFilename": "README.md",
@@ -2,7 +2,7 @@
2
2
  "name": "ngx-sumaris-components",
3
3
  "short_name": "ngx-sumaris-components",
4
4
  "manifest_version": 1,
5
- "version": "2.7.3-rc70",
5
+ "version": "2.7.3-rc71",
6
6
  "default_locale": "fr",
7
7
  "description": "Angular components for building beautiful and responsive Apps",
8
8
  "icons": [{
@@ -54,7 +54,10 @@ $dark: #222428 !default;
54
54
  $transparent: transparent;
55
55
 
56
56
  // Main background color
57
- $background-color: #fff !default;
57
+ $background-color-value: #fff;
58
+ $background-color-rgb-value: 255, 255, 255;
59
+ $ion-toolbar-background: withesmoke !default;
60
+
58
61
  // Text color
59
62
  $dark-primary-text: rgba(black, 0.87);
60
63
  $dark-secondary-text: rgba(black, 0.54);
@@ -68,8 +71,6 @@ $text-color: $dark-primary-text;
68
71
  // --------------------------------------------------
69
72
  $overlay-background-color: var(--ion-overlay-background-color, #fafafa) !default;
70
73
  $ripple-background-color: var(--ion-ripple-background-color, #000) !default;
71
- $ion-toolbar-background: whitesomke !default;
72
-
73
74
 
74
75
  // Default padding
75
76
  // --------------------------------------------------
@@ -68,4 +68,4 @@ $mat-tab-bar-height: 48px !default;
68
68
  $mat-tab-animation-duration: 200ms !default;
69
69
  $mat-toolbar-height-desktop: 64px !default;
70
70
  $mat-toolbar-height-mobile: 56px !default;
71
- $mat-toolbar-background-color: var(--ion-toolbar-background) !default;
71
+ $mat-toolbar-background-color: var(--ion-toolbar-background, var(--ion-background-color, whitesmoke)) !default;
@@ -98,6 +98,8 @@
98
98
  --ion-grid-column-padding: #{$ion-grid-column-padding};
99
99
  --ion-padding: #{$ion-padding};
100
100
  --ion-margin: #{$ion-margin};
101
+ --ion-background-color: #{$background-color};
102
+ --ion-background-color-rgb: #{$background-color-rgb};
101
103
  --ion-toolbar-height: #{$ion-toolbar-height};
102
104
  --ion-toolbar-background: #{$ion-toolbar-background};
103
105
 
@@ -546,7 +546,7 @@
546
546
  // Paginator
547
547
  .mat-mdc-paginator {
548
548
  --mat-paginator-container-size: var(--app-paginator-height, #{$app-paginator-height});
549
- --mat-paginator-container-background-color: var(--ion-toolbar-background, #{$ion-toolbar-background});
549
+ --mat-paginator-container-background-color: var(--ion-toolbar-background, var(--ion-background-color, #{$ion-toolbar-background}));
550
550
  --mat-paginator-container-text-tracking: normal;
551
551
  --mat-paginator-container-text-color: var(--app-form-color, #{$app-form-color});
552
552
 
@@ -1,12 +1,6 @@
1
-
2
- /** Ionic CSS Variables **/
1
+ /** Inject all CSS Variables **/
3
2
  html {
4
3
  @include css-variables-to-root();
5
-
6
- --ion-background-color: white;
7
- --ion-background-color-rgb: 255, 255, 255;
8
- --ion-toolbar-background: whitesmoke;
9
-
10
4
  }
11
5
 
12
6
  html.dark {
@@ -82,10 +76,11 @@ html.md.dark {
82
76
  --app-form-color: var(--ion-text-color);
83
77
 
84
78
  --ion-background-color: #121212;
85
- --ion-background-color-rgb: 18, 18, 18;
79
+ --ion-background-color-rgb: 18,18,18; // #{color-to-rgb-list(#121212)};
80
+ --ion-toolbar-background: #1f1f1f;
86
81
 
87
82
  --ion-text-color: #ffffffde;
88
- --ion-text-color-rgb: 255, 255, 255;
83
+ --ion-text-color-rgb: 255,255,255; // #{color-to-rgb-list(#ffffff)};
89
84
 
90
85
  --ion-border-color: #222222;
91
86
 
@@ -111,8 +106,6 @@ html.md.dark {
111
106
 
112
107
  --ion-item-background: #1e1e1e;
113
108
 
114
- --ion-toolbar-background: #1f1f1f;
115
-
116
109
  --ion-tab-bar-background: #1f1f1f;
117
110
 
118
111
  --ion-card-background: #1e1e1e;