@sumaris-net/ngx-components 2.9.0-alpha1 → 2.9.0-alpha2
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/esm2022/src/app/core/home/home.mjs +3 -3
- package/esm2022/src/app/core/peer/select-peer.modal.mjs +26 -15
- package/esm2022/src/app/core/settings/settings.page.mjs +4 -2
- package/esm2022/src/app/shared/material/autocomplete/material.autocomplete.mjs +18 -12
- package/esm2022/src/app/shared/material/autocomplete/material.autocomplete.module.mjs +6 -3
- package/esm2022/src/environments/environment.class.mjs +3 -1
- package/fesm2022/sumaris-net.ngx-components.mjs +76 -53
- package/fesm2022/sumaris-net.ngx-components.mjs.map +1 -1
- package/package.json +1 -1
- package/src/app/core/peer/select-peer.modal.d.ts +13 -7
- package/src/app/shared/material/autocomplete/material.autocomplete.module.d.ts +1 -1
- package/src/assets/manifest.json +1 -1
- package/src/environments/environment.class.d.ts +1 -0
- package/src/theme/_functions.scss +15 -0
- package/src/theme/_mixins.scss +28 -12
- package/src/theme/_ngx-components.forms.scss +18 -0
- package/src/theme/_ngx-components.globals.scss +1 -0
- package/src/theme/_ngx-components.scss +4 -4
- package/src/theme/_ngx-components.table.scss +5 -2
- package/src/theme/_theme.variables.scss +94 -72
package/package.json
CHANGED
|
@@ -13,6 +13,7 @@ export interface ISelectPeerModalOptions {
|
|
|
13
13
|
allowSelectDownPeer: boolean;
|
|
14
14
|
onRefresh: EventEmitter<Event>;
|
|
15
15
|
showSetManuallyButton: boolean;
|
|
16
|
+
selectedPeer?: string;
|
|
16
17
|
}
|
|
17
18
|
export declare class SelectPeerModal implements OnDestroy, ISelectPeerModalOptions {
|
|
18
19
|
private modalCtrl;
|
|
@@ -24,14 +25,16 @@ export declare class SelectPeerModal implements OnDestroy, ISelectPeerModalOptio
|
|
|
24
25
|
protected loggingService?: ILoggingService;
|
|
25
26
|
private _subscription;
|
|
26
27
|
private readonly _logger;
|
|
27
|
-
loading: boolean;
|
|
28
|
-
mobile: boolean;
|
|
29
|
-
$peers: Subject<Peer[]>;
|
|
30
|
-
peerMinVersion: string;
|
|
28
|
+
protected loading: boolean;
|
|
29
|
+
protected mobile: boolean;
|
|
30
|
+
protected $peers: Subject<Peer[]>;
|
|
31
|
+
protected peerMinVersion: string;
|
|
32
|
+
protected peerDefaultPrefix: string;
|
|
33
|
+
selectedPeer: string;
|
|
31
34
|
canCancel: boolean;
|
|
32
35
|
allowSelectDownPeer: boolean;
|
|
33
|
-
onRefresh: EventEmitter<Event>;
|
|
34
36
|
showSetManuallyButton: boolean;
|
|
37
|
+
onRefresh: EventEmitter<Event>;
|
|
35
38
|
constructor(modalCtrl: ModalController, popoverController: PopoverController, translate: TranslateService, http: HttpClient, cd: ChangeDetectorRef, environment: Environment, loggingService?: ILoggingService);
|
|
36
39
|
set peers(peers: Observable<Peer[]>);
|
|
37
40
|
cancel(): void;
|
|
@@ -43,12 +46,15 @@ export declare class SelectPeerModal implements OnDestroy, ISelectPeerModalOptio
|
|
|
43
46
|
* @param peer
|
|
44
47
|
*/
|
|
45
48
|
isCompatible(peer: Peer): boolean;
|
|
46
|
-
refresh(event:
|
|
49
|
+
refresh(event: Event): void;
|
|
47
50
|
clickSetManually(event?: Event): Promise<void>;
|
|
48
51
|
refreshPeers(peers: Peer[]): Promise<void>;
|
|
49
52
|
protected refreshPeer(peer: Peer): Promise<Peer>;
|
|
50
53
|
protected openPeerUrlPopover(event: Event, opts?: Partial<TextPopoverOptions>): Promise<any>;
|
|
51
54
|
protected markForCheck(): void;
|
|
52
55
|
static ɵfac: i0.ɵɵFactoryDeclaration<SelectPeerModal, [null, null, null, null, null, null, { optional: true; }]>;
|
|
53
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SelectPeerModal, "select-peer-modal", never, { "canCancel": { "alias": "canCancel"; "required": false; }; "allowSelectDownPeer": { "alias": "allowSelectDownPeer"; "required": false; }; "
|
|
56
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SelectPeerModal, "select-peer-modal", never, { "selectedPeer": { "alias": "selectedPeer"; "required": false; }; "canCancel": { "alias": "canCancel"; "required": false; }; "allowSelectDownPeer": { "alias": "allowSelectDownPeer"; "required": false; }; "showSetManuallyButton": { "alias": "showSetManuallyButton"; "required": false; }; "onRefresh": { "alias": "onRefresh"; "required": false; }; }, {}, never, never, false, never>;
|
|
57
|
+
static ngAcceptInputType_canCancel: unknown;
|
|
58
|
+
static ngAcceptInputType_allowSelectDownPeer: unknown;
|
|
59
|
+
static ngAcceptInputType_showSetManuallyButton: unknown;
|
|
54
60
|
}
|
|
@@ -17,6 +17,6 @@ import * as i15 from "@angular/material/select";
|
|
|
17
17
|
import * as i16 from "@ngx-translate/core";
|
|
18
18
|
export declare class SharedMatAutocompleteModule {
|
|
19
19
|
static ɵfac: i0.ɵɵFactoryDeclaration<SharedMatAutocompleteModule, never>;
|
|
20
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<SharedMatAutocompleteModule, [typeof i1.MatAutocompleteField], [typeof i2.CommonModule, typeof i3.IonicModule, typeof i4.ScrollingModule, typeof i5.ReactiveFormsModule, typeof i6.SharedPipesModule, typeof i7.SharedDirectivesModule, typeof i8.RxStateModule, typeof i9.MatCommonModule, typeof i10.MatAutocompleteModule, typeof i11.MatFormFieldModule, typeof i12.MatInputModule, typeof i13.MatIconModule, typeof i14.MatButtonModule, typeof i15.MatSelectModule, typeof i16.TranslateModule], [typeof i10.MatAutocompleteModule, typeof i1.MatAutocompleteField]>;
|
|
20
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SharedMatAutocompleteModule, [typeof i1.MatAutocompleteField], [typeof i2.CommonModule, typeof i3.IonicModule, typeof i4.ScrollingModule, typeof i5.ReactiveFormsModule, typeof i6.SharedPipesModule, typeof i7.SharedDirectivesModule, typeof i8.RxStateModule, typeof i9.MatCommonModule, typeof i10.MatAutocompleteModule, typeof i11.MatFormFieldModule, typeof i12.MatInputModule, typeof i13.MatIconModule, typeof i14.MatButtonModule, typeof i15.MatSelectModule, typeof i9.MatRippleModule, typeof i16.TranslateModule], [typeof i10.MatAutocompleteModule, typeof i1.MatAutocompleteField]>;
|
|
21
21
|
static ɵinj: i0.ɵɵInjectorDeclaration<SharedMatAutocompleteModule>;
|
|
22
22
|
}
|
package/src/assets/manifest.json
CHANGED
|
@@ -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.9.0-
|
|
5
|
+
"version": "2.9.0-alpha2",
|
|
6
6
|
"default_locale": "fr",
|
|
7
7
|
"description": "Angular components for building beautiful and responsive Apps",
|
|
8
8
|
"icons": [{
|
|
@@ -5,3 +5,18 @@
|
|
|
5
5
|
$remSize: $size / 16px;
|
|
6
6
|
@return $remSize * 1rem;
|
|
7
7
|
}
|
|
8
|
+
|
|
9
|
+
@function get-color-contrast($color, $bw: false) {
|
|
10
|
+
$lightness: lightness($color);
|
|
11
|
+
|
|
12
|
+
@if $bw == true {
|
|
13
|
+
@if $lightness > 50% {
|
|
14
|
+
@return #000000; // retourne noir si la couleur est claire
|
|
15
|
+
} @else {
|
|
16
|
+
@return #ffffff; // retourne blanc si la couleur est foncée
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
@else {
|
|
20
|
+
@return invert($color); // retourne la couleur inversée si bw n'est pas true
|
|
21
|
+
}
|
|
22
|
+
}
|
package/src/theme/_mixins.scss
CHANGED
|
@@ -44,18 +44,12 @@
|
|
|
44
44
|
$contrast: map-get($value, contrast);
|
|
45
45
|
$shade: map-get($value, shade);
|
|
46
46
|
$tint: map-get($value, tint);
|
|
47
|
-
--ion-color-base: var(--ion-color-#{""+$color-name},
|
|
48
|
-
|
|
49
|
-
--ion-color-
|
|
50
|
-
|
|
51
|
-
--ion-color-
|
|
52
|
-
|
|
53
|
-
--ion-color-contrast-rgb: var(--ion-color-#{""+$color-name}-contrast-rgb,
|
|
54
|
-
#{color-to-rgb-list($contrast)}) !important;
|
|
55
|
-
--ion-color-shade: var(--ion-color-#{""+$color-name}-shade,
|
|
56
|
-
#{$shade}) !important;
|
|
57
|
-
--ion-color-tint: var(--ion-color-#{""+$color-name}-tint,
|
|
58
|
-
#{$tint}) !important;
|
|
47
|
+
--ion-color-base: var(--ion-color-#{""+$color-name}, #{$base}) !important;
|
|
48
|
+
--ion-color-base-rgb: var(--ion-color-#{""+$color-name}-rgb, #{color-to-rgb-list($base)}) !important;
|
|
49
|
+
--ion-color-contrast: var(--ion-color-#{""+$color-name}-contrast, #{$contrast}) !important;
|
|
50
|
+
--ion-color-contrast-rgb: var(--ion-color-#{""+$color-name}-contrast-rgb, #{color-to-rgb-list($contrast)}) !important;
|
|
51
|
+
--ion-color-shade: var(--ion-color-#{""+$color-name}-shade, #{$shade}) !important;
|
|
52
|
+
--ion-color-tint: var(--ion-color-#{""+$color-name}-tint, #{$tint}) !important;
|
|
59
53
|
}
|
|
60
54
|
|
|
61
55
|
@mixin generate-color-list($color-name) {
|
|
@@ -72,6 +66,20 @@
|
|
|
72
66
|
--ion-color-#{""+$color-name}-tint: #{$tint};
|
|
73
67
|
}
|
|
74
68
|
|
|
69
|
+
@mixin generate-dark-color-list($color-name) {
|
|
70
|
+
$value: map-get($colors, $color-name);
|
|
71
|
+
$base: mix(map-get($value, base), #000, 50%);
|
|
72
|
+
$contrast: get-color-contrast($base, true);
|
|
73
|
+
$shade: lighten($base, 10%);
|
|
74
|
+
$tint: darken($base, 12%);
|
|
75
|
+
--ion-color-#{""+$color-name} : #{$base};
|
|
76
|
+
--ion-color-#{""+$color-name}-rgb: #{color-to-rgb-list($base)};
|
|
77
|
+
--ion-color-#{""+$color-name}-contrast: #{$contrast};
|
|
78
|
+
--ion-color-#{""+$color-name}-contrast-rgb: #{color-to-rgb-list($contrast)};
|
|
79
|
+
--ion-color-#{""+$color-name}-shade: #{$shade};
|
|
80
|
+
--ion-color-#{""+$color-name}-tint: #{$tint};
|
|
81
|
+
}
|
|
82
|
+
|
|
75
83
|
@mixin set-color-each-ion-colors($element-name) {
|
|
76
84
|
|
|
77
85
|
@each $color-name, $value in $colors {
|
|
@@ -125,6 +133,7 @@
|
|
|
125
133
|
--app-form-color-computed: #{$app-form-color-computed};
|
|
126
134
|
--app-form-field-background-color: #{$app-form-field-background-color};
|
|
127
135
|
--app-form-field-disabled-background-color: #{$app-form-field-disabled-background-color};
|
|
136
|
+
--app-form-field-label-color: #{$app-form-field-label-color};
|
|
128
137
|
--app-table-row-item-selected-background-color: #{$app-table-row-item-selected-background-color};
|
|
129
138
|
--app-table-row-item-selected-text-color: #{$app-table-row-item-selected-text-color};
|
|
130
139
|
}
|
|
@@ -136,3 +145,10 @@
|
|
|
136
145
|
--app-form-buttons-bar-height: 0px;
|
|
137
146
|
--app-footer-height: 0px;
|
|
138
147
|
}
|
|
148
|
+
|
|
149
|
+
@mixin css-variables-to-root-dark() {
|
|
150
|
+
@each $color-name,
|
|
151
|
+
$value in $colors {
|
|
152
|
+
@include generate-dark-color-list($color-name);
|
|
153
|
+
}
|
|
154
|
+
}
|
|
@@ -10,6 +10,10 @@ form.form-container {
|
|
|
10
10
|
|
|
11
11
|
--mdc-filled-text-field-container-color: var(--app-form-field-background-color);
|
|
12
12
|
--mdc-filled-text-field-disabled-container-color: var(--app-form-field-disabled-background-color);
|
|
13
|
+
--mdc-filled-text-field-input-text-color: var(--app-form-color);
|
|
14
|
+
--mdc-filled-text-field-caret-color: var(--app-form-color);
|
|
15
|
+
--mdc-filled-text-field-label-text-color: var(--app-form-field-label-color);
|
|
16
|
+
--mdc-filled-text-field-hover-label-text-color: var(--app-form-field-label-color);
|
|
13
17
|
--mat-form-field-state-layer-color: var(--app-form-field-focus-background-color);
|
|
14
18
|
--mat-form-field-container-height: 45px;
|
|
15
19
|
--mat-form-field-container-text-size: inherit;
|
|
@@ -19,6 +23,7 @@ form.form-container {
|
|
|
19
23
|
--mat-form-field-filled-with-label-container-padding-bottom: 0px;
|
|
20
24
|
--mdc-filled-text-field-label-text-tracking: normal;
|
|
21
25
|
--mat-select-trigger-text-size: var(--mat-form-field-container-text-size);
|
|
26
|
+
--mat-select-enabled-trigger-text-color: var(--app-form-color);
|
|
22
27
|
|
|
23
28
|
.mat-form-field-disabled,
|
|
24
29
|
.mat-mdc-input-element:disabled {
|
|
@@ -203,3 +208,16 @@ ion-grid.form-container {
|
|
|
203
208
|
}
|
|
204
209
|
}
|
|
205
210
|
}
|
|
211
|
+
|
|
212
|
+
// TODO: activer ce code et tester les mat-select en dark mode
|
|
213
|
+
//html {
|
|
214
|
+
// div.mat-mdc-select-panel {
|
|
215
|
+
// --mat-select-panel-background-color: var(--ion-color-light);
|
|
216
|
+
//
|
|
217
|
+
// .mat-mdc-option {
|
|
218
|
+
// --mat-option-label-text-color: var(--ion-color);
|
|
219
|
+
// --mat-option-selected-state-label-text-color: var(--ion-color-primary);
|
|
220
|
+
// color: var(--mat-option-label-text-color) !important;
|
|
221
|
+
// }
|
|
222
|
+
// }
|
|
223
|
+
//}
|
|
@@ -14,6 +14,7 @@ $app-form-color-disabled: rgba(0, 0, 0, 0.55) !default;
|
|
|
14
14
|
$app-form-color-computed: var(--ion-color-primary-tint) !default;
|
|
15
15
|
$app-form-field-background-color: #f5f5f5 !default; // Form's field background
|
|
16
16
|
$app-form-field-disabled-background-color: #fafafa !default;
|
|
17
|
+
$app-form-field-label-color: rgba(0, 0, 0, 0.6) !default;
|
|
17
18
|
|
|
18
19
|
$app-select-option-border-color: rgba(0, 0, 0, 0.12) !default;
|
|
19
20
|
$app-table-border-color: rgba(0, 0, 0, 0.08) !default;
|
|
@@ -207,10 +207,6 @@ mat-option:not(:last-of-type) {
|
|
|
207
207
|
--max-width: calc(min(100%, 100vw - 64px));
|
|
208
208
|
min-width: var(--min-width) !important;
|
|
209
209
|
max-width: var(--max-width) !important;
|
|
210
|
-
|
|
211
|
-
&.left-workaround {
|
|
212
|
-
left: calc((min(var(--panel-left, 0px) + var(--panel-width, var(--min-width)), 100vw - 32px) - var(--panel-width, var(--min-width))));
|
|
213
|
-
}
|
|
214
210
|
}
|
|
215
211
|
.mat-mdc-autocomplete-panel {
|
|
216
212
|
--min-width: 200px;
|
|
@@ -345,6 +341,10 @@ ion-list,
|
|
|
345
341
|
position: sticky;
|
|
346
342
|
top: 0;
|
|
347
343
|
}
|
|
344
|
+
|
|
345
|
+
.searchbar-input {
|
|
346
|
+
--background: var(--app-form-field-background-color, var(--ion-background-color));
|
|
347
|
+
}
|
|
348
348
|
}
|
|
349
349
|
|
|
350
350
|
ion-row.ion-list-header,
|
|
@@ -21,6 +21,8 @@
|
|
|
21
21
|
min-width: calc(100% - 1px);
|
|
22
22
|
border-collapse: separate;
|
|
23
23
|
--mat-table-background-color: var(--background, var(--ion-background-color));
|
|
24
|
+
--mat-table-header-color: var(--ion-color-primary);
|
|
25
|
+
--mat-table-header-background-color: var(--mat-table-background-color);
|
|
24
26
|
--mat-table-row-item-label-text-color: var(--ion-text-color);
|
|
25
27
|
--mat-table-row-item-outline-color: var(--ion-border-color);
|
|
26
28
|
--mat-table-row-item-label-text-size: 14px;
|
|
@@ -46,8 +48,8 @@
|
|
|
46
48
|
--mdc-form-field-label-text-color: var(--ion-text-color);
|
|
47
49
|
|
|
48
50
|
.mat-mdc-header-cell {
|
|
49
|
-
color: var(--
|
|
50
|
-
background: var(--mat-table-background-color) !important;
|
|
51
|
+
color: var(--mat-table-header-color);
|
|
52
|
+
background: var(--mat-table-header-background-color) !important;
|
|
51
53
|
|
|
52
54
|
&.disabled {
|
|
53
55
|
color: var(--ion-color-medium, grey);
|
|
@@ -529,6 +531,7 @@
|
|
|
529
531
|
}
|
|
530
532
|
}
|
|
531
533
|
|
|
534
|
+
|
|
532
535
|
// Paginator
|
|
533
536
|
.mat-mdc-paginator {
|
|
534
537
|
--mat-paginator-container-size: var(--app-paginator-height, #{$app-paginator-height});
|
|
@@ -5,72 +5,91 @@ html {
|
|
|
5
5
|
&.plt-mobile {
|
|
6
6
|
@include css-variables-to-root-mobile();
|
|
7
7
|
}
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
html.dark {
|
|
11
|
-
--ion-color-primary: #428cff;
|
|
12
|
-
--ion-color-primary-rgb: 66, 140, 255;
|
|
13
|
-
--ion-color-primary-contrast: #ffffff;
|
|
14
|
-
--ion-color-primary-contrast-rgb: 255, 255, 255;
|
|
15
|
-
--ion-color-primary-shade: #3a7be0;
|
|
16
|
-
--ion-color-primary-tint: #5598ff;
|
|
17
|
-
|
|
18
|
-
--ion-color-secondary: #75C4FD;
|
|
19
|
-
--ion-color-secondary-rgb: 117, 196, 253;
|
|
20
|
-
--ion-color-secondary-contrast: #ffffff;
|
|
21
|
-
--ion-color-secondary-contrast-rgb: 255, 255, 255;
|
|
22
|
-
--ion-color-secondary-shade: #46b0e0;
|
|
23
|
-
--ion-color-secondary-tint: #62ceff;
|
|
24
|
-
|
|
25
|
-
--ion-color-tertiary: #6a64ff;
|
|
26
|
-
--ion-color-tertiary-rgb: 106, 100, 255;
|
|
27
|
-
--ion-color-tertiary-contrast: #ffffff;
|
|
28
|
-
--ion-color-tertiary-contrast-rgb: 255, 255, 255;
|
|
29
|
-
--ion-color-tertiary-shade: #5d58e0;
|
|
30
|
-
--ion-color-tertiary-tint: #7974ff;
|
|
31
|
-
|
|
32
|
-
--ion-color-success: #2fdf75;
|
|
33
|
-
--ion-color-success-rgb: 47, 223, 117;
|
|
34
|
-
--ion-color-success-contrast: #000000;
|
|
35
|
-
--ion-color-success-contrast-rgb: 0, 0, 0;
|
|
36
|
-
--ion-color-success-shade: #29c467;
|
|
37
|
-
--ion-color-success-tint: #44e283;
|
|
38
|
-
|
|
39
|
-
--ion-color-warning: #FF6434;
|
|
40
|
-
--ion-color-warning-rgb: 255, 100, 52;
|
|
41
|
-
--ion-color-warning-contrast: #000000;
|
|
42
|
-
--ion-color-warning-contrast-rgb: 0, 0, 0;
|
|
43
|
-
--ion-color-warning-shade: #E0BB4B;
|
|
44
|
-
--ion-color-warning-tint: #FFDA48;
|
|
45
|
-
|
|
46
|
-
--ion-color-danger: #fa0021;
|
|
47
|
-
--ion-color-danger-rgb: 255, 0, 33;
|
|
48
|
-
--ion-color-danger-contrast: #ffffff;
|
|
49
|
-
--ion-color-danger-contrast-rgb: 255, 255, 255;
|
|
50
|
-
--ion-color-danger-shade: #e04055;
|
|
51
|
-
--ion-color-danger-tint: #ff5b71;
|
|
52
|
-
|
|
53
|
-
--ion-color-dark: #f4f5f8;
|
|
54
|
-
--ion-color-dark-rgb: 244, 245, 248;
|
|
55
|
-
--ion-color-dark-contrast: #000000;
|
|
56
|
-
--ion-color-dark-contrast-rgb: 0, 0, 0;
|
|
57
|
-
--ion-color-dark-shade: #d7d8da;
|
|
58
|
-
--ion-color-dark-tint: #f5f6f9;
|
|
59
|
-
|
|
60
|
-
--ion-color-medium: #989aa2;
|
|
61
|
-
--ion-color-medium-rgb: 152, 154, 162;
|
|
62
|
-
--ion-color-medium-contrast: #000000;
|
|
63
|
-
--ion-color-medium-contrast-rgb: 0, 0, 0;
|
|
64
|
-
--ion-color-medium-shade: #86888f;
|
|
65
|
-
--ion-color-medium-tint: #a2a4ab;
|
|
66
|
-
|
|
67
|
-
--ion-color-light: #222428;
|
|
68
|
-
--ion-color-light-rgb: 34, 36, 40;
|
|
69
|
-
--ion-color-light-contrast: #ffffff;
|
|
70
|
-
--ion-color-light-contrast-rgb: 255, 255, 255;
|
|
71
|
-
--ion-color-light-shade: #1e2023;
|
|
72
|
-
--ion-color-light-tint: #383a3e;
|
|
73
8
|
|
|
9
|
+
&.dark {
|
|
10
|
+
|
|
11
|
+
@include css-variables-to-root-dark();
|
|
12
|
+
|
|
13
|
+
--ion-color-primary: #428cff;
|
|
14
|
+
--ion-color-primary-rgb: 66, 140, 255;
|
|
15
|
+
--ion-color-primary-contrast: #ffffff;
|
|
16
|
+
--ion-color-primary-contrast-rgb: 255, 255, 255;
|
|
17
|
+
--ion-color-primary-shade: #3a7be0;
|
|
18
|
+
--ion-color-primary-tint: #5598ff;
|
|
19
|
+
|
|
20
|
+
--ion-color-secondary: #75C4FD;
|
|
21
|
+
--ion-color-secondary-rgb: 117, 196, 253;
|
|
22
|
+
--ion-color-secondary-contrast: #ffffff;
|
|
23
|
+
--ion-color-secondary-contrast-rgb: 255, 255, 255;
|
|
24
|
+
--ion-color-secondary-shade: #46b0e0;
|
|
25
|
+
--ion-color-secondary-tint: #62ceff;
|
|
26
|
+
|
|
27
|
+
--ion-color-tertiary: #6a64ff;
|
|
28
|
+
--ion-color-tertiary-rgb: 106, 100, 255;
|
|
29
|
+
--ion-color-tertiary-contrast: #ffffff;
|
|
30
|
+
--ion-color-tertiary-contrast-rgb: 255, 255, 255;
|
|
31
|
+
--ion-color-tertiary-shade: #5d58e0;
|
|
32
|
+
--ion-color-tertiary-tint: #7974ff;
|
|
33
|
+
|
|
34
|
+
--ion-color-success: #2fdf75;
|
|
35
|
+
--ion-color-success-rgb: 47, 223, 117;
|
|
36
|
+
--ion-color-success-contrast: #000000;
|
|
37
|
+
--ion-color-success-contrast-rgb: 0, 0, 0;
|
|
38
|
+
--ion-color-success-shade: #29c467;
|
|
39
|
+
--ion-color-success-tint: #44e283;
|
|
40
|
+
|
|
41
|
+
--ion-color-warning: #FF6434;
|
|
42
|
+
--ion-color-warning-rgb: 255, 100, 52;
|
|
43
|
+
--ion-color-warning-contrast: #000000;
|
|
44
|
+
--ion-color-warning-contrast-rgb: 0, 0, 0;
|
|
45
|
+
--ion-color-warning-shade: #E0BB4B;
|
|
46
|
+
--ion-color-warning-tint: #FFDA48;
|
|
47
|
+
|
|
48
|
+
--ion-color-danger: #fa0021;
|
|
49
|
+
--ion-color-danger-rgb: 255, 0, 33;
|
|
50
|
+
--ion-color-danger-contrast: #ffffff;
|
|
51
|
+
--ion-color-danger-contrast-rgb: 255, 255, 255;
|
|
52
|
+
--ion-color-danger-shade: #e04055;
|
|
53
|
+
--ion-color-danger-tint: #ff5b71;
|
|
54
|
+
|
|
55
|
+
--ion-color-dark: #f4f5f8;
|
|
56
|
+
--ion-color-dark-rgb: 244, 245, 248;
|
|
57
|
+
--ion-color-dark-contrast: #000000;
|
|
58
|
+
--ion-color-dark-contrast-rgb: 0, 0, 0;
|
|
59
|
+
--ion-color-dark-shade: #d7d8da;
|
|
60
|
+
--ion-color-dark-tint: #f5f6f9;
|
|
61
|
+
|
|
62
|
+
--ion-color-medium: #989aa2;
|
|
63
|
+
--ion-color-medium-rgb: 152, 154, 162;
|
|
64
|
+
--ion-color-medium-contrast: #000000;
|
|
65
|
+
--ion-color-medium-contrast-rgb: 0, 0, 0;
|
|
66
|
+
--ion-color-medium-shade: #86888f;
|
|
67
|
+
--ion-color-medium-tint: #a2a4ab;
|
|
68
|
+
|
|
69
|
+
--ion-color-light: #222428;
|
|
70
|
+
--ion-color-light-rgb: 34, 36, 40;
|
|
71
|
+
--ion-color-light-contrast: #ffffff;
|
|
72
|
+
--ion-color-light-contrast-rgb: 255, 255, 255;
|
|
73
|
+
--ion-color-light-shade: #1e2023;
|
|
74
|
+
--ion-color-light-tint: #383a3e;
|
|
75
|
+
|
|
76
|
+
--mat-select-panel-background-color: var(--ion-color-step-100);
|
|
77
|
+
|
|
78
|
+
ion-modal {
|
|
79
|
+
--ion-background-color: var(--ion-color-step-100);
|
|
80
|
+
--ion-toolbar-background: var(--ion-color-step-150);
|
|
81
|
+
--ion-toolbar-border-color: var(--ion-color-step-250);
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
ion-alert {
|
|
85
|
+
--ion-background-color: var(--ion-color-step-100);
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
ion-menu#menu {
|
|
89
|
+
--ion-item-text-color-selected: var(--ion-color-secondary100-contrast);
|
|
90
|
+
--ion-item-icon-color-selected: var(--ion-color-secondary100-contrast);
|
|
91
|
+
}
|
|
92
|
+
}
|
|
74
93
|
}
|
|
75
94
|
|
|
76
95
|
/*
|
|
@@ -79,9 +98,16 @@ html.dark {
|
|
|
79
98
|
*/
|
|
80
99
|
|
|
81
100
|
html.ios.dark {
|
|
101
|
+
--app-form-color-disabled: #949494;
|
|
102
|
+
--app-form-color: var(--ion-text-color);
|
|
103
|
+
--app-form-field-background-color: var(--ion-color-light-tint);
|
|
104
|
+
//--app-form-field-disabled-background-color: var(--ion-color-light);
|
|
105
|
+
|
|
82
106
|
--ion-background-color: #000000;
|
|
83
107
|
--ion-background-color-rgb: 0, 0, 0;
|
|
84
108
|
|
|
109
|
+
//--ion-toolbar-background: #1f1f1f;
|
|
110
|
+
|
|
85
111
|
--ion-text-color: #ffffff;
|
|
86
112
|
--ion-text-color-rgb: 255, 255, 255;
|
|
87
113
|
|
|
@@ -110,12 +136,6 @@ html.ios.dark {
|
|
|
110
136
|
--ion-card-background: #1c1c1d;
|
|
111
137
|
}
|
|
112
138
|
|
|
113
|
-
.ios ion-modal {
|
|
114
|
-
--ion-background-color: var(--ion-color-step-100);
|
|
115
|
-
--ion-toolbar-background: var(--ion-color-step-150);
|
|
116
|
-
--ion-toolbar-border-color: var(--ion-color-step-250);
|
|
117
|
-
}
|
|
118
|
-
|
|
119
139
|
/*
|
|
120
140
|
* Material Design Dark Theme
|
|
121
141
|
* -------------------------------------------
|
|
@@ -125,9 +145,11 @@ html.md.dark {
|
|
|
125
145
|
|
|
126
146
|
--app-form-color-disabled: #949494;
|
|
127
147
|
--app-form-color: var(--ion-text-color);
|
|
148
|
+
--app-form-field-background-color: var(--ion-color-light-tint);
|
|
149
|
+
--app-form-field-label-color: #949494;
|
|
128
150
|
|
|
129
151
|
--ion-background-color: #121212;
|
|
130
|
-
--ion-background-color-rgb: 18,18,18;
|
|
152
|
+
--ion-background-color-rgb: 18,18,18;
|
|
131
153
|
--ion-toolbar-background: #1f1f1f;
|
|
132
154
|
|
|
133
155
|
--ion-text-color: #ffffffde;
|