@ngx-stoui/core 15.0.0 → 16.0.0

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.
Files changed (67) hide show
  1. package/README.md +7 -7
  2. package/{esm2020 → esm2022}/index.mjs +1 -1
  3. package/{esm2020 → esm2022}/lib/abstract-and-interfaces/keyPress.enum.mjs +1 -1
  4. package/esm2022/lib/sto-directives/context-menu.directive.mjs +36 -0
  5. package/esm2022/lib/sto-directives/date-form-field-click.directive.mjs +46 -0
  6. package/esm2022/lib/sto-directives/directives.module.mjs +64 -0
  7. package/{esm2020 → esm2022}/lib/sto-directives/index.mjs +1 -1
  8. package/esm2022/lib/sto-directives/menu-overlay.directive.mjs +48 -0
  9. package/{esm2020 → esm2022}/lib/sto-directives/quick-keys.directive.mjs +4 -4
  10. package/{esm2020 → esm2022}/lib/sto-directives/sto-grid.directive.mjs +10 -10
  11. package/{esm2020 → esm2022}/lib/sto-directives/sto-select-text-on-focus.directive.mjs +4 -4
  12. package/{esm2020 → esm2022}/lib/sto-pipes/currency-format.pipe.mjs +4 -4
  13. package/{esm2020 → esm2022}/lib/sto-pipes/date-format.pipe.mjs +4 -4
  14. package/{esm2020 → esm2022}/lib/sto-pipes/keys.pipe.mjs +4 -4
  15. package/{esm2020 → esm2022}/lib/sto-pipes/number-format.pipe.mjs +4 -4
  16. package/{esm2020 → esm2022}/lib/sto-pipes/sto-pipes.module.mjs +17 -17
  17. package/{esm2020 → esm2022}/lib/sto-pipes/with-unit.mjs +7 -7
  18. package/{esm2020 → esm2022}/lib/sto-pipes/yes-no.mjs +4 -4
  19. package/{fesm2020 → fesm2022}/ngx-stoui-core.mjs +83 -84
  20. package/fesm2022/ngx-stoui-core.mjs.map +1 -0
  21. package/lib/sto-directives/context-menu.directive.d.ts +2 -2
  22. package/lib/sto-directives/date-form-field-click.directive.d.ts +2 -2
  23. package/lib/sto-directives/menu-overlay.directive.d.ts +1 -1
  24. package/lib/sto-directives/quick-keys.directive.d.ts +1 -1
  25. package/lib/sto-directives/sto-grid.directive.d.ts +2 -2
  26. package/ngx-datatable.css +26 -9
  27. package/ngx-stoui.css +3290 -3555
  28. package/package.json +18 -18
  29. package/style/_fonts.scss +3 -3
  30. package/style/datatable/_ngx-datatable-compact.scss +144 -144
  31. package/style/datatable/_ngx-datatable-form.scss +94 -95
  32. package/style/datatable/_ngx-datatable-variables.scss +10 -10
  33. package/style/datatable/ngx-datatable.scss +404 -398
  34. package/style/form/sto-form.scss +348 -342
  35. package/style/grid.scss +20 -20
  36. package/style/sto-dialog.scss +73 -73
  37. package/style/sto-grid.scss +67 -67
  38. package/style/theme/_action-footer.scss +20 -20
  39. package/style/theme/_appheader.scss +121 -122
  40. package/style/theme/_card.scss +28 -26
  41. package/style/theme/_colors.scss +170 -170
  42. package/style/theme/_datatable.scss +231 -224
  43. package/style/theme/_daterange.scss +47 -51
  44. package/style/theme/_dialog.scss +25 -25
  45. package/style/theme/_filterpanel.scss +88 -88
  46. package/style/theme/_input-overrides.scss +119 -117
  47. package/style/theme/_message-panel.scss +89 -89
  48. package/style/theme/_number-input.scss +23 -23
  49. package/style/theme/_number-unit-input.scss +34 -34
  50. package/style/theme/_select-filter.scss +16 -16
  51. package/style/theme/_sto-indicators.scss +89 -89
  52. package/style/theme/_theme-variables.scss +63 -61
  53. package/style/theme/_theme.scss +22 -16
  54. package/style/theme/_typography.scss +44 -41
  55. package/style/theme/_wysiwyg.scss +38 -38
  56. package/style/theme/components.scss +16 -16
  57. package/style/theme/preference-manager.scss +50 -50
  58. package/style/theme.scss +41 -35
  59. package/esm2020/lib/sto-directives/context-menu.directive.mjs +0 -36
  60. package/esm2020/lib/sto-directives/date-form-field-click.directive.mjs +0 -46
  61. package/esm2020/lib/sto-directives/directives.module.mjs +0 -64
  62. package/esm2020/lib/sto-directives/menu-overlay.directive.mjs +0 -48
  63. package/fesm2015/ngx-stoui-core.mjs +0 -829
  64. package/fesm2015/ngx-stoui-core.mjs.map +0 -1
  65. package/fesm2020/ngx-stoui-core.mjs.map +0 -1
  66. package/license.md +0 -21
  67. /package/{esm2020 → esm2022}/ngx-stoui-core.mjs +0 -0
@@ -1,88 +1,88 @@
1
- @use '@angular/material' as mat;
2
- @import "theme";
3
- @import "typography";
4
-
5
- @mixin sto-filterpanel-theme($theme, $variables) {
6
- $primary: map_get($variables, primary);
7
- $color: map_get($variables, color);
8
- $secondary: map_get($variables, secondary);
9
- $border-color: map_get($variables, border-color);
10
- $background-color: map_get($variables, app-bar);
11
- $icon-color: map_get($variables, icon);
12
- $icon-hover: map-get($variables, icon-hover);
13
- $hover-color: map_get($variables, hover-bg);
14
- $selected-color: map_get($variables, selected-bg);
15
-
16
- .sto-filter.mat-expansion-panel {
17
- .mat-expansion-panel-header {
18
- background-color: $background-color;
19
-
20
- &[aria-disabled=true] {
21
- color: $color;
22
- }
23
-
24
- .mat-icon-button, .mat-button {
25
- color: $icon-color;
26
-
27
- &:hover {
28
- color: $icon-hover;
29
- }
30
- }
31
-
32
- .mat-button-toggle-standalone.mat-button-toggle-appearance-standard {
33
- background-color: transparent;
34
- }
35
-
36
- .mat-button-toggle-standalone.mat-button-toggle-appearance-standard.mat-button-toggle-checked {
37
- background-color: $selected-color;
38
- }
39
-
40
- &:not(.mat-expanded) {
41
- border-bottom: solid 1px $border-color;
42
- }
43
-
44
- &.mat-expanded:hover {
45
- // Y THO? Looks shit.
46
- //background-color: $hover-color;
47
- background-color: $background-color;
48
- }
49
-
50
- &.mat-expanded:focus {
51
- // Y THO? Looks shit.
52
- //background-color: $selected-color;
53
- background-color: $background-color;
54
- }
55
- }
56
-
57
- .separator {
58
- background-color: $border-color;
59
- }
60
- }
61
-
62
- }
63
-
64
- // Include theme styles for your custom components.
65
- body {
66
- @include sto-filterpanel-theme($sto-theme, $variables);
67
- }
68
-
69
- @mixin sto-filter-panel-typography($config) {
70
- .sto-filter {
71
- .mat-expansion-panel-header {
72
- font-size: mat.font-size($config, subheading-2);
73
- line-height: mat.line-height($config, subheading-2);
74
- }
75
- }
76
- }
77
-
78
- .mat-typography:not(.sto-sm-typography):not(.sto-l-typography) {
79
- @include sto-filter-panel-typography($sto-typography);
80
- }
81
-
82
- .mat-typography.sto-sm-typography {
83
- @include sto-filter-panel-typography($sto-sm-typography);
84
- }
85
-
86
- .mat-typography.sto-l-typography {
87
- @include sto-filter-panel-typography($sto-l-typography);
88
- }
1
+ @use '@angular/material' as mat;
2
+ @import 'theme';
3
+ @import 'typography';
4
+
5
+ @mixin sto-filterpanel-theme($theme, $variables) {
6
+ $primary: map_get($variables, primary);
7
+ $color: map_get($variables, color);
8
+ $secondary: map_get($variables, secondary);
9
+ $border-color: map_get($variables, border-color);
10
+ $background-color: map_get($variables, app-bar);
11
+ $icon-color: map_get($variables, icon);
12
+ $icon-hover: map-get($variables, icon-hover);
13
+ $hover-color: map_get($variables, hover-bg);
14
+ $selected-color: map_get($variables, selected-bg);
15
+
16
+ .sto-filter.mat-expansion-panel {
17
+ .mat-expansion-panel-header {
18
+ background-color: $background-color;
19
+
20
+ &[aria-disabled='true'] {
21
+ color: $color;
22
+ }
23
+
24
+ .mat-icon-button,
25
+ .mat-button {
26
+ color: $icon-color;
27
+
28
+ &:hover {
29
+ color: $icon-hover;
30
+ }
31
+ }
32
+
33
+ .mat-button-toggle-standalone.mat-button-toggle-appearance-standard {
34
+ background-color: transparent;
35
+ }
36
+
37
+ .mat-button-toggle-standalone.mat-button-toggle-appearance-standard.mat-button-toggle-checked {
38
+ background-color: $selected-color;
39
+ }
40
+
41
+ &:not(.mat-expanded) {
42
+ border-bottom: solid 1px $border-color;
43
+ }
44
+
45
+ &.mat-expanded:hover {
46
+ // Y THO? Looks shit.
47
+ //background-color: $hover-color;
48
+ background-color: $background-color;
49
+ }
50
+
51
+ &.mat-expanded:focus {
52
+ // Y THO? Looks shit.
53
+ //background-color: $selected-color;
54
+ background-color: $background-color;
55
+ }
56
+ }
57
+
58
+ .separator {
59
+ background-color: $border-color;
60
+ }
61
+ }
62
+ }
63
+
64
+ // Include theme styles for your custom components.
65
+ body {
66
+ @include sto-filterpanel-theme($sto-theme, $variables);
67
+ }
68
+
69
+ @mixin sto-filter-panel-typography($config) {
70
+ .sto-filter {
71
+ .mat-expansion-panel-header {
72
+ font-size: mat.font-size($config, subtitle-2);
73
+ line-height: mat.line-height($config, subtitle-2);
74
+ }
75
+ }
76
+ }
77
+
78
+ .mat-typography:not(.sto-sm-typography):not(.sto-l-typography) {
79
+ @include sto-filter-panel-typography($sto-typography);
80
+ }
81
+
82
+ .mat-typography.sto-sm-typography {
83
+ @include sto-filter-panel-typography($sto-sm-typography);
84
+ }
85
+
86
+ .mat-typography.sto-l-typography {
87
+ @include sto-filter-panel-typography($sto-l-typography);
88
+ }
@@ -1,117 +1,119 @@
1
- @use '@angular/material' as mat;
2
- @import "theme";
3
- @import "typography";
4
-
5
- @mixin sto-input-override-theme($theme, $variables) {
6
- $color: map_get($variables, color);
7
- $form-field-bg: var(--bg-light);
8
- $border-radius: 4px;
9
- $icon-color: map_get($variables, icon);
10
- $icon-hover: map_get($variables, icon-hover);
11
-
12
- .sto-form__field, .sto-form__field.mat-form-field {
13
- .mat-form-field-flex {
14
- background-color: $form-field-bg;
15
-
16
- .mat-form-field-infix {
17
- //line-height: 14px; // TODO: Proper fix.
18
- }
19
- .mat-input {
20
- color: $color;
21
- }
22
- }
23
-
24
- &.sto-form__field--readonly, &.sto-form__field--disabled {
25
- .mat-form-field-flex {
26
- background-color: transparent;
27
-
28
- .mat-form-field-infix {
29
- //line-height: 14px; // TODO: Proper fix.
30
- }
31
-
32
- .mat-select-value {
33
- color: $color;
34
- }
35
- }
36
- }
37
-
38
- &.sto-form__field--readonly .mat-form-field-flex {
39
- background-color: transparent;
40
- }
41
-
42
- .mat-form-field-flex:hover ~ .mat-form-field-underline {
43
- }
44
-
45
- &.mat-focused .mat-form-field-infix .mat-form-field-label {
46
- color: $color;
47
- }
48
-
49
- .mat-form-field-flex:hover {
50
- .mat-form-field-suffix > .mat-icon {
51
- color: $icon-hover;
52
- }
53
- }
54
-
55
- .mat-form-field-suffix > .mat-icon {
56
- color: $icon-color;
57
- }
58
- }
59
- }
60
-
61
- // Include theme styles for your custom components.
62
- body {
63
- @include sto-input-override-theme($sto-theme, $variables);
64
- }
65
-
66
- @import "typography";
67
-
68
- @mixin sto-input-typography($config) {
69
- $base: mat.font-size($config, body-1);
70
-
71
- .sto-form-field, .sto-form__field.mat-form-field {
72
- line-height: $base;
73
-
74
- .mat-select-trigger {
75
- height: $base;
76
- }
77
- }
78
-
79
-
80
- .sto-form__field.mat-form-field-can-float.mat-form-field-should-float {
81
-
82
- .mat-form-field-label-wrapper {
83
- top: -1.3em;
84
- }
85
-
86
- .mat-form-field-label {
87
- transform: translateY(-1em) perspective(100px) translateZ(0.001px) !important;
88
- @if $base == 16px {
89
- font-size: $base - 3px;
90
- } @else {
91
- font-size: $base - 2px;
92
- }
93
- }
94
-
95
- .cdk-overlay-container .mat-option {
96
- font-size: mat.font-size($config, body-1);
97
- line-height: mat.line-height($config, body-1);
98
- }
99
- }
100
-
101
- .mat-option, .mat-option .mat-option-text {
102
- font-size: $base;
103
- }
104
- }
105
-
106
- .mat-typography:not(.sto-sm-typography):not(.sto-l-typography) {
107
- @include sto-input-typography($sto-typography);
108
- }
109
-
110
-
111
- .mat-typography.sto-sm-typography {
112
- @include sto-input-typography($sto-sm-typography);
113
- }
114
-
115
- .mat-typography.sto-l-typography {
116
- @include sto-input-typography($sto-l-typography);
117
- }
1
+ @use '@angular/material' as mat;
2
+ @import 'theme';
3
+ @import 'typography';
4
+
5
+ @mixin sto-input-override-theme($theme, $variables) {
6
+ $color: map_get($variables, color);
7
+ $form-field-bg: var(--bg-light);
8
+ $border-radius: 4px;
9
+ $icon-color: map_get($variables, icon);
10
+ $icon-hover: map_get($variables, icon-hover);
11
+
12
+ .sto-form__field,
13
+ .sto-form__field.mat-mdc-form-field {
14
+ --mdc-filled-text-field-container-color: #{$form-field-bg};
15
+ .mat-mdc-form-field-flex {
16
+ // background-color: $form-field-bg;
17
+
18
+ .mat-mdc-form-field-infix {
19
+ //line-height: 14px; // TODO: Proper fix.
20
+ }
21
+ .mat-input {
22
+ color: $color;
23
+ }
24
+ }
25
+
26
+ &.sto-form__field--readonly,
27
+ &.sto-form__field--disabled {
28
+ .mat-mdc-form-field-flex {
29
+ background-color: transparent;
30
+
31
+ .mat-mdc-form-field-infix {
32
+ //line-height: 14px; // TODO: Proper fix.
33
+ }
34
+
35
+ .mat-select-value {
36
+ color: $color;
37
+ }
38
+ }
39
+ }
40
+
41
+ &.sto-form__field--readonly .mat-mdc-form-field-flex {
42
+ background-color: transparent;
43
+ }
44
+
45
+ .mat-mdc-form-field-flex:hover ~ .mat-form-field-underline {
46
+ }
47
+
48
+ &.mat-focused .mat-mdc-form-field-infix .mat-mdc-floating-label {
49
+ color: $color;
50
+ }
51
+
52
+ .mat-mdc-form-field-flex:hover {
53
+ .mat-mdc-form-field-icon-suffix > .mat-icon {
54
+ color: $icon-hover;
55
+ }
56
+ }
57
+
58
+ .mat-mdc-form-field-icon-suffix > .mat-icon {
59
+ color: $icon-color;
60
+ }
61
+ }
62
+ }
63
+
64
+ // Include theme styles for your custom components.
65
+ body {
66
+ @include sto-input-override-theme($sto-theme, $variables);
67
+ }
68
+
69
+ @import 'typography';
70
+
71
+ @mixin sto-input-typography($config) {
72
+ $base: mat.font-size($config, body-1);
73
+
74
+ .sto-form-field,
75
+ .sto-form__field.mat-form-field {
76
+ line-height: $base;
77
+
78
+ .mat-select-trigger {
79
+ height: $base;
80
+ }
81
+ }
82
+
83
+ .sto-form__field.mat-form-field-can-float.mat-form-field-should-float {
84
+ .mat-mdc-floating-label-wrapper {
85
+ top: -1.3em;
86
+ }
87
+
88
+ .mat-mdc-floating-label {
89
+ transform: translateY(-1em) perspective(100px) translateZ(0.001px) !important;
90
+ @if $base == 16px {
91
+ font-size: $base - 3px;
92
+ } @else {
93
+ font-size: $base - 2px;
94
+ }
95
+ }
96
+
97
+ .cdk-overlay-container .mat-option {
98
+ font-size: mat.font-size($config, body-1);
99
+ line-height: mat.line-height($config, body-1);
100
+ }
101
+ }
102
+
103
+ .mat-option,
104
+ .mat-option .mat-option-text {
105
+ font-size: $base;
106
+ }
107
+ }
108
+
109
+ .mat-typography:not(.sto-sm-typography):not(.sto-l-typography) {
110
+ @include sto-input-typography($sto-typography);
111
+ }
112
+
113
+ .mat-typography.sto-sm-typography {
114
+ @include sto-input-typography($sto-sm-typography);
115
+ }
116
+
117
+ .mat-typography.sto-l-typography {
118
+ @include sto-input-typography($sto-l-typography);
119
+ }
@@ -1,89 +1,89 @@
1
- @use '@angular/material' as mat;
2
- @import "theme";
3
- @import "typography";
4
-
5
- @mixin sto-message-panel-theme($theme, $variables) {
6
- $primary: map_get($variables, primary);
7
- $warn: map_get($variables, warn);
8
- $accent: map_get($variables, accent);
9
- $primary-contrast: map_get($variables, primary-contrast);
10
- $warn-contrast: map_get($variables, warn-contrast);
11
- $accent-contrast: map_get($variables, accent-contrast);
12
- $color: map_get($variables, color);
13
-
14
- $indicators: map-get($theme, indicators);
15
- $success-palette: map-get($indicators, success);
16
- $success: mat.get-color-from-palette($success-palette, highlight);
17
- $success-contrast: mat.get-color-from-palette($success-palette, highlight-contrast);
18
- $success-icon: mat.get-color-from-palette($success-palette, resting);
19
- $success-border: $success-icon;
20
-
21
- $danger-palette: map-get($indicators, danger);
22
- $danger: mat.get-color-from-palette($danger-palette, highlight);
23
- $danger-contrast: mat.get-color-from-palette($danger-palette, highlight-contrast);
24
- $danger-icon: mat.get-color-from-palette($danger-palette, resting);
25
- $danger-border: $danger-icon;
26
-
27
- $warning-palette: map-get($indicators, warning);
28
- $warning: mat.get-color-from-palette($warning-palette, highlight);
29
- $warning-contrast: mat.get-color-from-palette($warning-palette, highlight-contrast);
30
- $warning-icon: mat.get-color-from-palette($warning-palette, resting);
31
- $warning-border: $warning-icon;
32
-
33
- .sto-message-panel {
34
- color: $color;
35
-
36
- &.mat-primary {
37
- background-color: $primary;
38
- color: $primary-contrast;
39
- }
40
-
41
- &.mat-accent {
42
- background-color: $accent;
43
- color: $accent-contrast;
44
- }
45
-
46
- &.mat-warn {
47
- background-color: $warn;
48
- color: $warn-contrast;
49
- }
50
-
51
- &.mat-success {
52
- background-color: $success;
53
- color: $success-contrast;
54
- border-color: $success-border;
55
-
56
- .mat-icon {
57
- color: $success-icon;
58
- }
59
- }
60
-
61
- &.mat-danger {
62
- background-color: $danger;
63
- color: $danger-contrast;
64
- border-color: $danger-border;
65
-
66
- .mat-icon {
67
- color: $danger-icon;
68
- }
69
- }
70
-
71
- &.mat-warning {
72
- background-color: $warning;
73
- color: $warning-contrast;
74
- border-color: $warning-border;
75
-
76
- .mat-icon {
77
- color: $warning-icon;
78
- }
79
- }
80
-
81
- }
82
- }
83
-
84
-
85
- // Include theme styles for your custom components.
86
- body {
87
- @include sto-message-panel-theme($sto-theme, $variables);
88
- }
89
-
1
+ @use '@angular/material' as mat;
2
+ @import "theme";
3
+ @import "typography";
4
+
5
+ @mixin sto-message-panel-theme($theme, $variables) {
6
+ $primary: map_get($variables, primary);
7
+ $warn: map_get($variables, warn);
8
+ $accent: map_get($variables, accent);
9
+ $primary-contrast: map_get($variables, primary-contrast);
10
+ $warn-contrast: map_get($variables, warn-contrast);
11
+ $accent-contrast: map_get($variables, accent-contrast);
12
+ $color: map_get($variables, color);
13
+
14
+ $indicators: map-get($theme, indicators);
15
+ $success-palette: map-get($indicators, success);
16
+ $success: mat.get-color-from-palette($success-palette, highlight);
17
+ $success-contrast: mat.get-color-from-palette($success-palette, highlight-contrast);
18
+ $success-icon: mat.get-color-from-palette($success-palette, resting);
19
+ $success-border: $success-icon;
20
+
21
+ $danger-palette: map-get($indicators, danger);
22
+ $danger: mat.get-color-from-palette($danger-palette, highlight);
23
+ $danger-contrast: mat.get-color-from-palette($danger-palette, highlight-contrast);
24
+ $danger-icon: mat.get-color-from-palette($danger-palette, resting);
25
+ $danger-border: $danger-icon;
26
+
27
+ $warning-palette: map-get($indicators, warning);
28
+ $warning: mat.get-color-from-palette($warning-palette, highlight);
29
+ $warning-contrast: mat.get-color-from-palette($warning-palette, highlight-contrast);
30
+ $warning-icon: mat.get-color-from-palette($warning-palette, resting);
31
+ $warning-border: $warning-icon;
32
+
33
+ .sto-message-panel {
34
+ color: $color;
35
+
36
+ &.mat-primary {
37
+ background-color: $primary;
38
+ color: $primary-contrast;
39
+ }
40
+
41
+ &.mat-accent {
42
+ background-color: $accent;
43
+ color: $accent-contrast;
44
+ }
45
+
46
+ &.mat-warn {
47
+ background-color: $warn;
48
+ color: $warn-contrast;
49
+ }
50
+
51
+ &.mat-success {
52
+ background-color: $success;
53
+ color: $success-contrast;
54
+ border-color: $success-border;
55
+
56
+ .mat-icon {
57
+ color: $success-icon;
58
+ }
59
+ }
60
+
61
+ &.mat-danger {
62
+ background-color: $danger;
63
+ color: $danger-contrast;
64
+ border-color: $danger-border;
65
+
66
+ .mat-icon {
67
+ color: $danger-icon;
68
+ }
69
+ }
70
+
71
+ &.mat-warning {
72
+ background-color: $warning;
73
+ color: $warning-contrast;
74
+ border-color: $warning-border;
75
+
76
+ .mat-icon {
77
+ color: $warning-icon;
78
+ }
79
+ }
80
+
81
+ }
82
+ }
83
+
84
+
85
+ // Include theme styles for your custom components.
86
+ body {
87
+ @include sto-message-panel-theme($sto-theme, $variables);
88
+ }
89
+
@@ -1,23 +1,23 @@
1
- @import "./theme";
2
- @import "./typography";
3
-
4
- @mixin sto-number-input-theme($theme, $variables) {
5
- $color: map_get($variables, color);
6
- $secondary-color: map_get($variables, secondary);
7
-
8
- .mat-form-field.sto-form__field {
9
- .sto-number-input {
10
- color: $color;
11
-
12
- &::placeholder {
13
- color: $secondary-color;
14
- }
15
- }
16
-
17
- }
18
- }
19
-
20
- // Include theme styles for your custom components.
21
- body {
22
- @include sto-number-input-theme($sto-theme, $variables);
23
- }
1
+ @import "./theme";
2
+ @import "./typography";
3
+
4
+ @mixin sto-number-input-theme($theme, $variables) {
5
+ $color: map_get($variables, color);
6
+ $secondary-color: map_get($variables, secondary);
7
+
8
+ .mat-form-field.sto-form__field {
9
+ .sto-number-input {
10
+ color: $color;
11
+
12
+ &::placeholder {
13
+ color: $secondary-color;
14
+ }
15
+ }
16
+
17
+ }
18
+ }
19
+
20
+ // Include theme styles for your custom components.
21
+ body {
22
+ @include sto-number-input-theme($sto-theme, $variables);
23
+ }