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

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-rc72",
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-rc72",
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 {
@@ -75,6 +69,53 @@ html.dark {
75
69
 
76
70
  }
77
71
 
72
+ /*
73
+ * iOS Dark Theme
74
+ * -------------------------------------------
75
+ */
76
+
77
+ html.ios.dark {
78
+ --ion-background-color: #000000;
79
+ --ion-background-color-rgb: 0, 0, 0;
80
+
81
+ --ion-text-color: #ffffff;
82
+ --ion-text-color-rgb: 255, 255, 255;
83
+
84
+ --ion-color-step-50: #0d0d0d;
85
+ --ion-color-step-100: #1a1a1a;
86
+ --ion-color-step-150: #262626;
87
+ --ion-color-step-200: #333333;
88
+ --ion-color-step-250: #404040;
89
+ --ion-color-step-300: #4d4d4d;
90
+ --ion-color-step-350: #595959;
91
+ --ion-color-step-400: #666666;
92
+ --ion-color-step-450: #737373;
93
+ --ion-color-step-500: #808080;
94
+ --ion-color-step-550: #8c8c8c;
95
+ --ion-color-step-600: #999999;
96
+ --ion-color-step-650: #a6a6a6;
97
+ --ion-color-step-700: #b3b3b3;
98
+ --ion-color-step-750: #bfbfbf;
99
+ --ion-color-step-800: #cccccc;
100
+ --ion-color-step-850: #d9d9d9;
101
+ --ion-color-step-900: #e6e6e6;
102
+ --ion-color-step-950: #f2f2f2;
103
+
104
+ --ion-item-background: #000000;
105
+
106
+ --ion-card-background: #1c1c1d;
107
+ }
108
+
109
+ .ios ion-modal {
110
+ --ion-background-color: var(--ion-color-step-100);
111
+ --ion-toolbar-background: var(--ion-color-step-150);
112
+ --ion-toolbar-border-color: var(--ion-color-step-250);
113
+ }
114
+
115
+ /*
116
+ * Material Design Dark Theme
117
+ * -------------------------------------------
118
+ */
78
119
 
79
120
  html.md.dark {
80
121
 
@@ -82,10 +123,11 @@ html.md.dark {
82
123
  --app-form-color: var(--ion-text-color);
83
124
 
84
125
  --ion-background-color: #121212;
85
- --ion-background-color-rgb: 18, 18, 18;
126
+ --ion-background-color-rgb: 18,18,18; // #{color-to-rgb-list(#121212)};
127
+ --ion-toolbar-background: #1f1f1f;
86
128
 
87
129
  --ion-text-color: #ffffffde;
88
- --ion-text-color-rgb: 255, 255, 255;
130
+ --ion-text-color-rgb: 255,255,255; // #{color-to-rgb-list(#ffffff)};
89
131
 
90
132
  --ion-border-color: #222222;
91
133
 
@@ -111,15 +153,13 @@ html.md.dark {
111
153
 
112
154
  --ion-item-background: #1e1e1e;
113
155
 
114
- --ion-toolbar-background: #1f1f1f;
115
-
116
156
  --ion-tab-bar-background: #1f1f1f;
117
157
 
118
158
  --ion-card-background: #1e1e1e;
119
159
 
120
160
  ion-menu ion-content {
121
161
  --background: transparent;
122
- --background-color: rgba(var(--ion-color-primary900-rgb), 0.4) !important;
162
+ --background-color: var(--ion-background-color) !important;
123
163
  }
124
164
 
125
165
  //.mat-mdc-table {