i-tech-shared-components 1.1.8 → 1.1.10
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/README.md +23 -23
- package/esm2022/lib/components/autocomplete-select/autocomplete-select.component.mjs +3 -3
- package/esm2022/lib/components/button/button.component.mjs +3 -3
- package/esm2022/lib/components/clear-value/clear-value.component.mjs +11 -11
- package/esm2022/lib/components/date-picker/date-picker.component.mjs +17 -3
- package/esm2022/lib/components/date-range-datepicker/date-range-datepicker.component.mjs +3 -3
- package/esm2022/lib/components/icon-button/icon-button.component.mjs +3 -3
- package/esm2022/lib/components/menu/menu.component.mjs +51 -0
- package/esm2022/lib/components/text/text-input.component.mjs +3 -3
- package/esm2022/lib/directives/date-mask.directive.mjs +1 -1
- package/esm2022/lib/directives/input-mask.directive.mjs +1 -1
- package/esm2022/lib/interfaces/app-input.interface.mjs +1 -1
- package/esm2022/lib/interfaces/autocomplete-configs.interface.mjs +1 -1
- package/esm2022/lib/interfaces/button-types.enum.mjs +1 -1
- package/esm2022/lib/interfaces/dropdown-selection.constants.mjs +12 -0
- package/esm2022/lib/pipes/array-to-string.pipe.mjs +1 -1
- package/esm2022/lib/pipes/generate-error-messages.pipe.mjs +1 -1
- package/esm2022/lib/pipes/get-value-by-key-from-object.pipe.mjs +1 -1
- package/esm2022/lib/services/input.service.mjs +1 -1
- package/esm2022/public-api.mjs +2 -1
- package/fesm2022/i-tech-shared-components.mjs +92 -25
- package/fesm2022/i-tech-shared-components.mjs.map +1 -1
- package/lib/components/date-picker/date-picker.component.d.ts +4 -1
- package/lib/components/menu/menu.component.d.ts +28 -0
- package/lib/interfaces/autocomplete-configs.interface.d.ts +3 -3
- package/lib/interfaces/dropdown-selection.constants.d.ts +10 -0
- package/package.json +1 -1
- package/public-api.d.ts +1 -0
- package/theme/_buttons.scss +63 -63
- package/theme/_color_themes.scss +136 -136
- package/theme/_date_picker.scss +77 -77
- package/theme/_form_fields.scss +112 -112
- package/theme/_icon-button.scss +123 -123
- package/theme/_label.scss +119 -119
- package/theme/_mat-selects.scss +248 -248
- package/theme/_menu.scss +9 -9
- package/theme/_text_input.scss +28 -28
- package/theme/variables/_colors.scss +20 -20
- package/theme.scss +31 -31
package/theme/_form_fields.scss
CHANGED
|
@@ -1,112 +1,112 @@
|
|
|
1
|
-
@use '@angular/material' as mat;
|
|
2
|
-
@import "./color_themes.scss";
|
|
3
|
-
|
|
4
|
-
body {
|
|
5
|
-
.mat-mdc-form-field {
|
|
6
|
-
width: 100%;
|
|
7
|
-
--mdc-outlined-text-field-input-text-placeholder-color: #{mat.get-theme-color($m3-light-theme, tertiary, 50)};
|
|
8
|
-
// Custom outline color intentionally outside of color palette
|
|
9
|
-
--mdc-outlined-text-field-focus-outline-color: #0060DF;
|
|
10
|
-
--mdc-outlined-text-field-outline-color: #{mat.get-theme-color($m3-light-theme, tertiary, 90)};
|
|
11
|
-
--mdc-outlined-text-field-hover-outline-color: #{mat.get-theme-color($m3-light-theme, tertiary, 70)};
|
|
12
|
-
// Set/focused values should be a slightly darker tertiary30
|
|
13
|
-
--mat-select-focused-arrow-color: #{mat.get-theme-color($m3-light-theme, tertiary, 30)};
|
|
14
|
-
--mat-select-enabled-trigger-text-color: #{mat.get-theme-color($m3-light-theme, tertiary, 30)};
|
|
15
|
-
--mdc-filled-text-field-caret-color: #{mat.get-theme-color($m3-light-theme, tertiary, 30)};
|
|
16
|
-
--mdc-filled-text-field-focus-active-indicator-color: #{mat.get-theme-color($m3-light-theme, tertiary, 30)};
|
|
17
|
-
--mdc-filled-text-field-focus-label-text-color: #{mat.get-theme-color($m3-light-theme, tertiary, 30)};
|
|
18
|
-
--mdc-outlined-text-field-caret-color: #{mat.get-theme-color($m3-light-theme, tertiary, 30)};
|
|
19
|
-
--mdc-outlined-text-field-focus-label-text-color: #{mat.get-theme-color($m3-light-theme, tertiary, 30)};
|
|
20
|
-
--mat-form-field-focus-select-arrow-color: #{mat.get-theme-color($m3-light-theme, tertiary, 30)};
|
|
21
|
-
--mdc-outlined-text-field-input-text-color: #{mat.get-theme-color($m3-light-theme, tertiary, 30)};
|
|
22
|
-
--mdc-outlined-text-field-focus-outline-width: 3px !important;
|
|
23
|
-
--mat-form-field-subscript-text-weight: 500;
|
|
24
|
-
--mat-form-field-container-text-size: 13px;
|
|
25
|
-
--mat-form-field-container-text-weight: 500;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
mat-hint {
|
|
30
|
-
color: #{mat.get-theme-color($m3-light-theme, tertiary, 50)};
|
|
31
|
-
font-size: 11px;
|
|
32
|
-
font-weight: 500;
|
|
33
|
-
letter-spacing: 0.022px;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
mat-label:not(.meu_item_label) {
|
|
37
|
-
color: #{mat.get-theme-color($m3-light-theme, tertiary, 50)};
|
|
38
|
-
position: relative;
|
|
39
|
-
bottom: 5px;
|
|
40
|
-
padding-left: 16px;
|
|
41
|
-
font-size: 11px;
|
|
42
|
-
font-weight: 500;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
.
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
--mat-menu-item-label-text-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
.
|
|
109
|
-
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
}
|
|
1
|
+
@use '@angular/material' as mat;
|
|
2
|
+
@import "./color_themes.scss";
|
|
3
|
+
|
|
4
|
+
body {
|
|
5
|
+
.mat-mdc-form-field {
|
|
6
|
+
width: 100%;
|
|
7
|
+
--mdc-outlined-text-field-input-text-placeholder-color: #{mat.get-theme-color($m3-light-theme, tertiary, 50)};
|
|
8
|
+
// Custom outline color intentionally outside of color palette
|
|
9
|
+
--mdc-outlined-text-field-focus-outline-color: #0060DF;
|
|
10
|
+
--mdc-outlined-text-field-outline-color: #{mat.get-theme-color($m3-light-theme, tertiary, 90)};
|
|
11
|
+
--mdc-outlined-text-field-hover-outline-color: #{mat.get-theme-color($m3-light-theme, tertiary, 70)};
|
|
12
|
+
// Set/focused values should be a slightly darker tertiary30
|
|
13
|
+
--mat-select-focused-arrow-color: #{mat.get-theme-color($m3-light-theme, tertiary, 30)};
|
|
14
|
+
--mat-select-enabled-trigger-text-color: #{mat.get-theme-color($m3-light-theme, tertiary, 30)};
|
|
15
|
+
--mdc-filled-text-field-caret-color: #{mat.get-theme-color($m3-light-theme, tertiary, 30)};
|
|
16
|
+
--mdc-filled-text-field-focus-active-indicator-color: #{mat.get-theme-color($m3-light-theme, tertiary, 30)};
|
|
17
|
+
--mdc-filled-text-field-focus-label-text-color: #{mat.get-theme-color($m3-light-theme, tertiary, 30)};
|
|
18
|
+
--mdc-outlined-text-field-caret-color: #{mat.get-theme-color($m3-light-theme, tertiary, 30)};
|
|
19
|
+
--mdc-outlined-text-field-focus-label-text-color: #{mat.get-theme-color($m3-light-theme, tertiary, 30)};
|
|
20
|
+
--mat-form-field-focus-select-arrow-color: #{mat.get-theme-color($m3-light-theme, tertiary, 30)};
|
|
21
|
+
--mdc-outlined-text-field-input-text-color: #{mat.get-theme-color($m3-light-theme, tertiary, 30)};
|
|
22
|
+
--mdc-outlined-text-field-focus-outline-width: 3px !important;
|
|
23
|
+
--mat-form-field-subscript-text-weight: 500;
|
|
24
|
+
--mat-form-field-container-text-size: 13px;
|
|
25
|
+
--mat-form-field-container-text-weight: 500;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
mat-hint {
|
|
30
|
+
color: #{mat.get-theme-color($m3-light-theme, tertiary, 50)};
|
|
31
|
+
font-size: 11px;
|
|
32
|
+
font-weight: 500;
|
|
33
|
+
letter-spacing: 0.022px;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
mat-label:not(.meu_item_label) {
|
|
37
|
+
color: #{mat.get-theme-color($m3-light-theme, tertiary, 50)};
|
|
38
|
+
position: relative;
|
|
39
|
+
bottom: 5px;
|
|
40
|
+
padding-left: 16px;
|
|
41
|
+
font-size: 11px;
|
|
42
|
+
font-weight: 500;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.mat-mdc-menu-item {
|
|
46
|
+
--mat-menu-item-label-text-size: 13px !important;
|
|
47
|
+
--mat-menu-item-label-text-weight: 500 !important;
|
|
48
|
+
--mat-menu-item-label-text-line-height: 20px !important;
|
|
49
|
+
--mat-menu-item-label-text-tracking: 0.2px !important;
|
|
50
|
+
--mat-menu-item-label-text-color: #{mat.get-theme-color($m3-light-theme,tertiary, 30)} !important;
|
|
51
|
+
.meu_item_label {
|
|
52
|
+
text-align: left;
|
|
53
|
+
text-underline-position: from-font;
|
|
54
|
+
text-decoration-skip-ink: none;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.required-input {
|
|
59
|
+
color: #{mat.get-theme-color($m3-light-theme, error, 40)};
|
|
60
|
+
position: relative;
|
|
61
|
+
bottom: 5px;
|
|
62
|
+
font-size: 11px;
|
|
63
|
+
font-weight: 500;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.mat-form-field-invalid {
|
|
67
|
+
--mdc-outlined-text-field-outline-width: 3px !important;
|
|
68
|
+
// See if we can remove this after updating date-picker scss
|
|
69
|
+
--mdc-outlined-text-field-error-outline-color: #{mat.get-theme-color($m3-light-theme,error,40)} !important;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.default-form-icon-color {
|
|
73
|
+
color: #{mat.get-theme-color($m3-light-theme, tertiary, 50)} !important;
|
|
74
|
+
.mat-mdc-icon-button.tonal mat-icon {
|
|
75
|
+
color: #{mat.get-theme-color($m3-light-theme, tertiary, 50)} !important;
|
|
76
|
+
& svg path {
|
|
77
|
+
fill: #{mat.get-theme-color($m3-light-theme, tertiary, 50)} !important;
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
mat-form-field input::placeholder {
|
|
83
|
+
font-size: 13px;
|
|
84
|
+
font-style: normal;
|
|
85
|
+
font-weight: 500;
|
|
86
|
+
line-height: 20px;
|
|
87
|
+
letter-spacing: 0.2px;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.mat-mdc-input-element {
|
|
91
|
+
overflow: hidden;
|
|
92
|
+
color: var(--Text, #{mat.get-theme-color($m3-light-theme,tertiary, 30)});
|
|
93
|
+
text-overflow: ellipsis;
|
|
94
|
+
font-size: 13px;
|
|
95
|
+
font-style: normal;
|
|
96
|
+
font-weight: 500;
|
|
97
|
+
line-height: 24px;
|
|
98
|
+
letter-spacing: 0.5px;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
.mat-mdc-form-field-icon-suffix {
|
|
102
|
+
display: flex;
|
|
103
|
+
}
|
|
104
|
+
.mat-mdc-form-field-icon-prefix>.mat-icon {
|
|
105
|
+
padding: 0 8px !important;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.invalid-label-color {
|
|
109
|
+
color: #{mat.get-theme-color($m3-light-theme, error, 40)} !important;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
}
|
package/theme/_icon-button.scss
CHANGED
|
@@ -1,123 +1,123 @@
|
|
|
1
|
-
@use '@angular/material' as mat;
|
|
2
|
-
@import "./color_themes.scss";
|
|
3
|
-
|
|
4
|
-
body {
|
|
5
|
-
$buttonSize: 40;
|
|
6
|
-
$buttonSizeSmall: 24;
|
|
7
|
-
|
|
8
|
-
app-icon-button {
|
|
9
|
-
display: inline-block;
|
|
10
|
-
height: #{$buttonSize}px;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
app-icon-button:has(.small) {
|
|
14
|
-
height: #{$buttonSizeSmall}px;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
// ICON BUTTON SIZING
|
|
18
|
-
.mat-mdc-icon-button,.mat-mdc-fab-base {
|
|
19
|
-
width: #{$buttonSize}px;
|
|
20
|
-
height: #{$buttonSize}px;
|
|
21
|
-
--mdc-icon-button-state-layer-size: #{$buttonSize}px !important;
|
|
22
|
-
padding: calc(calc(var(--mdc-icon-button-state-layer-size, 40px) - var(--mdc-icon-button-icon-size, 24px)) / 2);
|
|
23
|
-
font-size: unset !important;
|
|
24
|
-
|
|
25
|
-
.mat-mdc-button-touch-target {
|
|
26
|
-
width: #{$buttonSize - 10 }px;
|
|
27
|
-
height: #{$buttonSize - 10 }px;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
mat-icon {
|
|
31
|
-
svg {
|
|
32
|
-
vertical-align: super;
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
.mat-mdc-icon-button.small {
|
|
39
|
-
$iconSize: 21px;
|
|
40
|
-
$buttonSize: 24;
|
|
41
|
-
width: #{$buttonSizeSmall}px;
|
|
42
|
-
height: #{$buttonSizeSmall}px;
|
|
43
|
-
--mdc-icon-button-state-layer-size: #{$buttonSizeSmall}px !important;
|
|
44
|
-
--mdc-icon-button-icon-size: #{$iconSize} !important;
|
|
45
|
-
|
|
46
|
-
mat-icon {
|
|
47
|
-
font-size: $iconSize;
|
|
48
|
-
width: $iconSize;
|
|
49
|
-
height: $iconSize;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
.mat-mdc-button-touch-target {
|
|
53
|
-
width: #{$buttonSizeSmall}px;
|
|
54
|
-
height: #{$buttonSizeSmall}px;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
.mat-mdc-fab-base.small {
|
|
60
|
-
$iconSize: 21px;
|
|
61
|
-
$buttonSize: 24;
|
|
62
|
-
width: #{$buttonSize}px;
|
|
63
|
-
height: #{$buttonSize}px;
|
|
64
|
-
--mdc-icon-button-state-layer-size: #{$buttonSize}px !important;
|
|
65
|
-
--mdc-icon-button-icon-size: #{$iconSize} !important;
|
|
66
|
-
|
|
67
|
-
mat-icon {
|
|
68
|
-
font-size: $iconSize;
|
|
69
|
-
width: $iconSize;
|
|
70
|
-
height: $iconSize;
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
.mat-mdc-button-touch-target {
|
|
74
|
-
width: #{$buttonSize}px;
|
|
75
|
-
height: #{$buttonSize}px;
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
// END OF ICON BUTTON SIZING
|
|
80
|
-
|
|
81
|
-
// BUTTON ICON TYPES
|
|
82
|
-
|
|
83
|
-
.mat-mdc-icon-button.tonal {
|
|
84
|
-
--mat-icon-button-state-layer-color: #{mat.get-theme-color($m3-light-theme, tertiary, 60)};
|
|
85
|
-
|
|
86
|
-
mat-icon {
|
|
87
|
-
color: mat.get-theme-color($m3-light-theme, tertiary, 30);
|
|
88
|
-
& svg path {
|
|
89
|
-
fill: mat.get-theme-color($m3-light-theme, tertiary, 30);
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
.mat-mdc-icon-button.standard {
|
|
95
|
-
--mat-icon-button-state-layer-color: #{mat.get-theme-color($m3-light-theme, primary, 60)};
|
|
96
|
-
|
|
97
|
-
mat-icon {
|
|
98
|
-
color: mat.get-theme-color($m3-light-theme, primary, 50);
|
|
99
|
-
& svg path {
|
|
100
|
-
fill: mat.get-theme-color($m3-light-theme, primary, 50);
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
// FILLED
|
|
106
|
-
.mat-mdc-fab-base.filled {
|
|
107
|
-
--mdc-fab-container-shape: 50% !important;
|
|
108
|
-
--mdc-fab-container-elevation-shadow: none !important;
|
|
109
|
-
--mdc-fab-hover-container-elevation-shadow: none !important;
|
|
110
|
-
--mdc-fab-pressed-container-elevation-shadow: none !important;
|
|
111
|
-
--mdc-fab-focus-container-elevation-shadow: none !important;
|
|
112
|
-
--mdc-fab-container-color: #{mat.get-theme-color($m3-light-theme, primary, 50)};
|
|
113
|
-
--mat-fab-state-layer-color: #{mat.get-theme-color($m3-light-theme, primary, 50)};
|
|
114
|
-
mat-icon {
|
|
115
|
-
color: white;
|
|
116
|
-
& svg path {
|
|
117
|
-
fill: white;
|
|
118
|
-
}
|
|
119
|
-
}
|
|
120
|
-
}
|
|
121
|
-
// END OF BUTTON ICON TYPES
|
|
122
|
-
|
|
123
|
-
}
|
|
1
|
+
@use '@angular/material' as mat;
|
|
2
|
+
@import "./color_themes.scss";
|
|
3
|
+
|
|
4
|
+
body {
|
|
5
|
+
$buttonSize: 40;
|
|
6
|
+
$buttonSizeSmall: 24;
|
|
7
|
+
|
|
8
|
+
app-icon-button {
|
|
9
|
+
display: inline-block;
|
|
10
|
+
height: #{$buttonSize}px;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
app-icon-button:has(.small) {
|
|
14
|
+
height: #{$buttonSizeSmall}px;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
// ICON BUTTON SIZING
|
|
18
|
+
.mat-mdc-icon-button,.mat-mdc-fab-base {
|
|
19
|
+
width: #{$buttonSize}px;
|
|
20
|
+
height: #{$buttonSize}px;
|
|
21
|
+
--mdc-icon-button-state-layer-size: #{$buttonSize}px !important;
|
|
22
|
+
padding: calc(calc(var(--mdc-icon-button-state-layer-size, 40px) - var(--mdc-icon-button-icon-size, 24px)) / 2);
|
|
23
|
+
font-size: unset !important;
|
|
24
|
+
|
|
25
|
+
.mat-mdc-button-touch-target {
|
|
26
|
+
width: #{$buttonSize - 10 }px;
|
|
27
|
+
height: #{$buttonSize - 10 }px;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
mat-icon {
|
|
31
|
+
svg {
|
|
32
|
+
vertical-align: super;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.mat-mdc-icon-button.small {
|
|
39
|
+
$iconSize: 21px;
|
|
40
|
+
$buttonSize: 24;
|
|
41
|
+
width: #{$buttonSizeSmall}px;
|
|
42
|
+
height: #{$buttonSizeSmall}px;
|
|
43
|
+
--mdc-icon-button-state-layer-size: #{$buttonSizeSmall}px !important;
|
|
44
|
+
--mdc-icon-button-icon-size: #{$iconSize} !important;
|
|
45
|
+
|
|
46
|
+
mat-icon {
|
|
47
|
+
font-size: $iconSize;
|
|
48
|
+
width: $iconSize;
|
|
49
|
+
height: $iconSize;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.mat-mdc-button-touch-target {
|
|
53
|
+
width: #{$buttonSizeSmall}px;
|
|
54
|
+
height: #{$buttonSizeSmall}px;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.mat-mdc-fab-base.small {
|
|
60
|
+
$iconSize: 21px;
|
|
61
|
+
$buttonSize: 24;
|
|
62
|
+
width: #{$buttonSize}px;
|
|
63
|
+
height: #{$buttonSize}px;
|
|
64
|
+
--mdc-icon-button-state-layer-size: #{$buttonSize}px !important;
|
|
65
|
+
--mdc-icon-button-icon-size: #{$iconSize} !important;
|
|
66
|
+
|
|
67
|
+
mat-icon {
|
|
68
|
+
font-size: $iconSize;
|
|
69
|
+
width: $iconSize;
|
|
70
|
+
height: $iconSize;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.mat-mdc-button-touch-target {
|
|
74
|
+
width: #{$buttonSize}px;
|
|
75
|
+
height: #{$buttonSize}px;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
// END OF ICON BUTTON SIZING
|
|
80
|
+
|
|
81
|
+
// BUTTON ICON TYPES
|
|
82
|
+
|
|
83
|
+
.mat-mdc-icon-button.tonal {
|
|
84
|
+
--mat-icon-button-state-layer-color: #{mat.get-theme-color($m3-light-theme, tertiary, 60)};
|
|
85
|
+
|
|
86
|
+
mat-icon {
|
|
87
|
+
color: mat.get-theme-color($m3-light-theme, tertiary, 30);
|
|
88
|
+
& svg path {
|
|
89
|
+
fill: mat.get-theme-color($m3-light-theme, tertiary, 30);
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.mat-mdc-icon-button.standard {
|
|
95
|
+
--mat-icon-button-state-layer-color: #{mat.get-theme-color($m3-light-theme, primary, 60)};
|
|
96
|
+
|
|
97
|
+
mat-icon {
|
|
98
|
+
color: mat.get-theme-color($m3-light-theme, primary, 50);
|
|
99
|
+
& svg path {
|
|
100
|
+
fill: mat.get-theme-color($m3-light-theme, primary, 50);
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
// FILLED
|
|
106
|
+
.mat-mdc-fab-base.filled {
|
|
107
|
+
--mdc-fab-container-shape: 50% !important;
|
|
108
|
+
--mdc-fab-container-elevation-shadow: none !important;
|
|
109
|
+
--mdc-fab-hover-container-elevation-shadow: none !important;
|
|
110
|
+
--mdc-fab-pressed-container-elevation-shadow: none !important;
|
|
111
|
+
--mdc-fab-focus-container-elevation-shadow: none !important;
|
|
112
|
+
--mdc-fab-container-color: #{mat.get-theme-color($m3-light-theme, primary, 50)};
|
|
113
|
+
--mat-fab-state-layer-color: #{mat.get-theme-color($m3-light-theme, primary, 50)};
|
|
114
|
+
mat-icon {
|
|
115
|
+
color: white;
|
|
116
|
+
& svg path {
|
|
117
|
+
fill: white;
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
// END OF BUTTON ICON TYPES
|
|
122
|
+
|
|
123
|
+
}
|