qms-angular 1.0.89 → 1.0.90

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 (89) hide show
  1. package/bundles/qms-angular.umd.js +109 -63
  2. package/bundles/qms-angular.umd.js.map +1 -1
  3. package/esm2015/lib/common/themes.const.js +3 -0
  4. package/esm2015/lib/components/button/button-toggle.js +1 -1
  5. package/esm2015/lib/components/button/button.js +3 -3
  6. package/esm2015/lib/components/comment/comment.js +1 -1
  7. package/esm2015/lib/components/list/list.js +5 -3
  8. package/esm2015/lib/components/related/content/related-content.component.js +1 -1
  9. package/esm2015/lib/components/related/list-other-related/list-related.component.js +1 -1
  10. package/esm2015/lib/components/related/popup/related-popup.component.js +1 -1
  11. package/esm2015/lib/components/related/risk/analysis/analysis.component.js +1 -1
  12. package/esm2015/lib/components/related/risk/list/list.component.js +1 -1
  13. package/esm2015/lib/components/related/risk/result/result.component.js +1 -1
  14. package/esm2015/lib/components/rich-text/rich-text.js +1 -1
  15. package/esm2015/lib/components/select-dialog/select-dialog.js +1 -1
  16. package/esm2015/lib/components/select-include-children/select-include-children.component.js +1 -1
  17. package/esm2015/lib/components/select-one/select-one.component.js +1 -1
  18. package/esm2015/lib/components/select-process-document/select-process-document.component.js +1 -1
  19. package/esm2015/lib/components/table/table-action.js +2 -2
  20. package/esm2015/lib/components/tree/tree.component.js +1 -1
  21. package/esm2015/lib/components/treeNew/tree.component.js +1 -1
  22. package/esm2015/lib/qms-ckeditor-components/qms-ckeditor.component.js +1 -1
  23. package/esm2015/lib/services/theming.service.js +36 -0
  24. package/esm2015/lib/shared.module.js +1 -1
  25. package/esm2015/public-api.js +3 -1
  26. package/fesm2015/qms-angular.js +69 -32
  27. package/fesm2015/qms-angular.js.map +1 -1
  28. package/lib/common/themes.const.d.ts +2 -0
  29. package/lib/components/list/list.d.ts +1 -1
  30. package/lib/services/theming.service.d.ts +7 -0
  31. package/lib.theme.scss +11 -9
  32. package/package.json +1 -1
  33. package/public-api.d.ts +2 -0
  34. package/qms-angular.metadata.json +1 -1
  35. package/src/lib/components/breadcrumb/breadcrumb.scss +2 -1
  36. package/src/lib/components/button/_button-base.scss +45 -52
  37. package/src/lib/components/button/_button-theme.scss +4 -2
  38. package/src/lib/components/button/button-icon.scss +17 -14
  39. package/src/lib/components/button/button-toggle.scss +64 -115
  40. package/src/lib/components/comment/comment.scss +3 -2
  41. package/src/lib/components/dialog/dialog.scss +2 -1
  42. package/src/lib/components/list/_list-base.scss +2 -2
  43. package/src/lib/components/list/_list-expansion.scss +33 -7
  44. package/src/lib/components/list/list.scss +21 -4
  45. package/src/lib/components/related/content/related-content.component.scss +4 -2
  46. package/src/lib/components/related/list-other-related/list-related.component.scss +7 -6
  47. package/src/lib/components/related/popup/related-popup.component.scss +10 -9
  48. package/src/lib/components/related/risk/analysis/analysis.component.scss +4 -3
  49. package/src/lib/components/related/risk/list/list.component.scss +7 -6
  50. package/src/lib/components/related/risk/result/result.component.scss +9 -8
  51. package/src/lib/components/rich-text/rich-text.scss +3 -2
  52. package/src/lib/components/select-dialog/select-dialog.scss +5 -5
  53. package/src/lib/components/select-include-children/select-include-children.component.scss +10 -9
  54. package/src/lib/components/select-one/select-one.component.scss +5 -4
  55. package/src/lib/components/select-process-document/select-process-document.component.scss +12 -12
  56. package/src/lib/components/substance-conflict/substance-conflict.component.scss +4 -3
  57. package/src/lib/components/table/table.scss +4 -3
  58. package/src/lib/components/tooltip/tooltip.scss +3 -1
  59. package/src/lib/components/tree/tree.component.scss +12 -12
  60. package/src/lib/components/treeNew/tree.component.scss +11 -18
  61. package/src/lib/qms-ckeditor-components/qms-ckeditor.component.scss +3 -2
  62. package/src/themes/_non-bg-scrollbar.scss +4 -3
  63. package/src/themes/core/_app-bar.scss +5 -4
  64. package/src/themes/core/_button.scss +14 -12
  65. package/src/themes/core/_checkbox.scss +9 -24
  66. package/src/themes/core/_chip-input.scss +29 -27
  67. package/src/themes/core/_chip.scss +12 -10
  68. package/src/themes/core/_date-picker.scss +9 -8
  69. package/src/themes/core/_dropdown-menu.scss +12 -11
  70. package/src/themes/core/_file-upload.scss +12 -11
  71. package/src/themes/core/_form-prefix.scss +6 -4
  72. package/src/themes/core/_form.scss +28 -27
  73. package/src/themes/core/_progress.scss +5 -3
  74. package/src/themes/core/_radio.scss +13 -15
  75. package/src/themes/core/_range-slider.scss +34 -33
  76. package/src/themes/core/_scrollbar.scss +25 -34
  77. package/src/themes/core/_search-field.scss +5 -3
  78. package/src/themes/core/_select.scss +5 -2
  79. package/src/themes/core/_slide-toggle.scss +10 -11
  80. package/src/themes/core/_styles.scss +19 -17
  81. package/src/themes/core/_tab.scss +88 -87
  82. package/src/themes/core/_table.scss +18 -17
  83. package/src/themes/core/_text-block.scss +3 -1
  84. package/src/themes/theme/_mixins.scss +18 -0
  85. package/src/themes/theme/_theme.scss +17 -0
  86. package/src/themes/theme/_variable.scss +303 -0
  87. package/src/themes/_color.scss +0 -61
  88. package/src/themes/_scrollbar.scss +0 -27
  89. package/src/themes/core/_colors.scss +0 -60
@@ -1,5 +1,5 @@
1
- @import "../../../themes/color";
2
- @import "../../../themes/core/colors";
1
+ @import "../../../themes/theme/variable";
2
+ @import "../../../themes/theme/mixins";
3
3
  @import "../../../themes/core/typography";
4
4
 
5
5
  .tree__container {
@@ -11,10 +11,10 @@
11
11
  font-weight: normal;
12
12
  font-size: 0.875rem;
13
13
  line-height: 19px;
14
- color: $default-color;
14
+ color: theme-apply($default-color);
15
15
 
16
16
  .mat-tree-node {
17
- color: $tree-node-color;
17
+ color: theme-apply($tree-node-color);
18
18
  min-height: 0px;
19
19
 
20
20
  .mat-checkbox.qms-group-options {
@@ -30,12 +30,12 @@
30
30
  margin-left: 6px;
31
31
  }
32
32
  .button:hover {
33
- background-color: $tree-node-background-color;
33
+ background-color: theme-apply($tree-node-background-color);
34
34
  border-radius: 2px;
35
35
  width: auto;
36
36
  }
37
37
  .button:focus {
38
- background-color: $tree-node-background-color;
38
+ background-color: theme-apply($tree-node-background-color);
39
39
  border-radius: 2px;
40
40
  width: auto;
41
41
  outline: 0;
@@ -47,13 +47,13 @@
47
47
 
48
48
  .button-folder-boder:focus {
49
49
  outline: 0;
50
- background-color: $tree-node-boder-color;
50
+ background-color: theme-apply($tree-node-boder-color);
51
51
  border-radius: 2px;
52
52
  width: auto;
53
53
  }
54
54
 
55
55
  .button-folder-boder:hover {
56
- background-color: $tree-node-boder-color;
56
+ background-color: theme-apply($tree-node-boder-color);
57
57
  border-radius: 2px;
58
58
  width: auto;
59
59
  }
@@ -85,7 +85,7 @@
85
85
  &.bgSelected {
86
86
 
87
87
  .select-one-checked {
88
- color: $primary;
88
+ color: theme-apply($primary);
89
89
  }
90
90
  }
91
91
  }
@@ -108,7 +108,7 @@
108
108
  cursor: pointer;
109
109
 
110
110
  .select-one-checked {
111
- color: $primary;
111
+ color: theme-apply($primary);
112
112
  }
113
113
  }
114
114
 
@@ -121,7 +121,7 @@
121
121
 
122
122
  .tree-branch {
123
123
  &:hover {
124
- background-color: $primary-light-3-opacity;
124
+ background-color: theme-apply($primary-light-3-opacity);
125
125
  }
126
126
  }
127
127
 
@@ -169,7 +169,7 @@ svg {
169
169
  }
170
170
  }
171
171
 
172
- .mat-checkbox.mat-checkbox-disabled.qms-group-options.mat-checkbox-checked .mat-checkbox-background{
172
+ .mat-checkbox.mat-checkbox-disabled.qms-group-options.mat-checkbox-checked .mat-checkbox-background{
173
173
  background-color: #e0e0e0 !important;
174
174
  }
175
175
 
@@ -1,20 +1,17 @@
1
- @import "../../../themes/color";
2
- @import "../../../themes/core/colors";
1
+ @import "../../../themes/theme/variable";
2
+ @import "../../../themes/theme/mixins";
3
3
  @import "../../../themes/core/typography";
4
4
 
5
5
  .tree__container {
6
- // .mat-tree{
7
- // background: #00283A;
8
- // }
9
6
  font-family: "Open Sans";
10
7
  font-style: normal;
11
8
  font-weight: normal;
12
9
  font-size: 0.875rem;
13
10
  line-height: 19px;
14
- color: $default-color;
11
+ color: theme-apply($default-color);
15
12
 
16
13
  .mat-tree-node {
17
- color: $tree-node-color;
14
+ color: theme-apply($tree-node-color);
18
15
  min-height: 0px;
19
16
 
20
17
  .mat-checkbox.qms-group-options {
@@ -30,12 +27,12 @@
30
27
  margin-left: 6px;
31
28
  }
32
29
  .button:hover {
33
- background-color: $tree-node-background-color;
30
+ background-color: theme-apply($tree-node-background-color);
34
31
  border-radius: 2px;
35
32
  width: auto;
36
33
  }
37
34
  .button:focus {
38
- background-color: $tree-node-background-color;
35
+ background-color: theme-apply($tree-node-background-color);
39
36
  border-radius: 2px;
40
37
  width: auto;
41
38
  outline: 0;
@@ -47,13 +44,13 @@
47
44
 
48
45
  .button-folder-boder:focus {
49
46
  outline: 0;
50
- background-color: $tree-node-boder-color;
47
+ background-color: theme-apply($tree-node-boder-color);
51
48
  border-radius: 2px;
52
49
  width: auto;
53
50
  }
54
51
 
55
52
  .button-folder-boder:hover {
56
- background-color: $tree-node-boder-color;
53
+ background-color: theme-apply($tree-node-boder-color);
57
54
  border-radius: 2px;
58
55
  width: auto;
59
56
  }
@@ -85,15 +82,11 @@
85
82
  &.bgSelected {
86
83
 
87
84
  .select-one-checked {
88
- color: $primary;
85
+ color: theme-apply($primary);
89
86
  }
90
87
  }
91
88
  }
92
89
 
93
- // span.text-node {
94
- // // margin-left: 17px;
95
- // }
96
-
97
90
  .text-node-parent {
98
91
  width: 100%;
99
92
  display: flex;
@@ -108,7 +101,7 @@
108
101
  cursor: pointer;
109
102
 
110
103
  .select-one-checked {
111
- color: $primary;
104
+ color: theme-apply($primary);
112
105
  }
113
106
  }
114
107
 
@@ -121,7 +114,7 @@
121
114
 
122
115
  .tree-branch {
123
116
  &:hover {
124
- background-color: $primary-light-3-opacity;
117
+ background-color: theme-apply($primary-light-3-opacity);
125
118
  }
126
119
  }
127
120
 
@@ -1,5 +1,6 @@
1
1
  @import "./styles/style.scss";
2
- @import "../../themes/core/colors";
2
+ @import "../../themes/theme/variable";
3
+ @import "../../themes/theme/mixins";
3
4
  @import "../../themes/core/typography";
4
5
 
5
6
  .qmsckeditor_container {
@@ -81,7 +82,7 @@
81
82
  .ck.ck-editor__editable {
82
83
  &:not(.ck-editor__nested-editable).ck-focused {
83
84
  border: 1px solid #c4c4c4;
84
- border-bottom: 2px solid $primary;
85
+ border-bottom: 2px solid theme-apply($primary);
85
86
  border-radius: 4px;
86
87
  box-shadow: none;
87
88
  background-color: black(0.08);
@@ -1,10 +1,11 @@
1
- @import './core/colors';
1
+ @import './theme/variable';
2
+
2
3
  ::-webkit-scrollbar {
3
4
  width: 12px;
4
5
  }
5
6
 
6
7
  ::-webkit-scrollbar-track {
7
- background: transparent;
8
+ background: transparent;
8
9
  background-clip: content-box;
9
10
  }
10
11
 
@@ -30,4 +31,4 @@
30
31
  ::-webkit-scrollbar-track:hover {
31
32
  background: black(0.12);
32
33
  background-clip: content-box;
33
- }
34
+ }
@@ -1,14 +1,15 @@
1
1
  @import "../../lib/components/list/list.scss";
2
- @import "../../themes/core/colors";
2
+ @import "../theme/variable";
3
+ @import "../theme/mixins";
3
4
 
4
5
  .qms-app-bar-dark {
5
- background: #00324E !important;
6
+ background: theme-apply($-qms-app-bar-dark-background-color);
6
7
  width : 100% !important;
7
8
  height : 56px !important;
8
9
  }
9
10
 
10
11
  .qms-app-bar-light {
11
- background: #E4E4E4 !important;
12
+ background: theme-apply($-qms-app-bar-light-background-color);
12
13
  width : 100% !important;
13
14
  height : 56px !important;
14
- }
15
+ }
@@ -1,4 +1,6 @@
1
- @import '../color.scss';
1
+ @import "../theme/variable";
2
+ @import "../theme/mixins";
3
+
2
4
  .qms__popup {
3
5
  .button__close {
4
6
  float: right;
@@ -11,7 +13,7 @@
11
13
  .qms__danger {
12
14
  button {
13
15
  border: none;
14
- color: $text-white;
16
+ color: theme-apply($text-white);
15
17
  padding: 0;
16
18
  text-align: center;
17
19
  text-decoration: none;
@@ -27,18 +29,18 @@
27
29
  }
28
30
 
29
31
  .red {
30
- background-color: $button-red-background;
32
+ background-color: theme-apply($button-red-background);
31
33
  margin-left: 10px;
32
34
  }
33
35
 
34
36
  .yellow {
35
- background-color: $button-yellow-background;
37
+ background-color: theme-apply($button-yellow-background);
36
38
  margin-left: 10px;
37
- color: $popup-title-color;
39
+ color: theme-apply($popup-title-color);
38
40
  }
39
41
 
40
42
  .green {
41
- background-color: $button-green-background;
43
+ background-color: theme-apply($button-green-background);
42
44
  margin-left: 10px;
43
45
  }
44
46
  }
@@ -61,20 +63,20 @@
61
63
  }
62
64
 
63
65
  .confirm {
64
- background: $button-background;
66
+ background: theme-apply($button-background);
65
67
  }
66
68
  .confirm:hover {
67
- background: $primary-button-background-color;
68
- color: $primary-button-text-color;
69
+ background: theme-apply($primary-button-background-color);
70
+ color: theme-apply($primary-button-text-color);
69
71
  }
70
72
  .confirm:disabled {
71
73
  cursor: not-allowed;
72
74
  }
73
75
  .cancel {
74
- background: $button-background;
76
+ background: theme-apply($button-background);
75
77
  }
76
78
  .cancel:hover {
77
- background: $primary-button-background-color;
78
- color: $primary-button-text-color;
79
+ background: theme-apply($primary-button-background-color);
80
+ color: theme-apply($primary-button-text-color);
79
81
  }
80
82
  }
@@ -1,5 +1,6 @@
1
+ @import "../theme/variable";
2
+ @import "../theme/mixins";
1
3
  @import "typography";
2
- @import "colors";
3
4
 
4
5
  // CHECKBOX STYLES
5
6
  .mat-checkbox {
@@ -34,7 +35,7 @@
34
35
  .text-label {
35
36
  font-size: 1rem;
36
37
  line-height: 28px;
37
- color: $default-color;
38
+ color: theme-apply($default-color);
38
39
  white-space: break-spaces;
39
40
  }
40
41
 
@@ -46,7 +47,7 @@
46
47
  }
47
48
 
48
49
  .mat-error {
49
- color: $error;
50
+ color: theme-apply($error);
50
51
  }
51
52
 
52
53
  &.cdk-keyboard-focused {
@@ -54,25 +55,20 @@
54
55
  .mat-checkbox-persistent-ripple {
55
56
  opacity: 1;
56
57
  background-color: black(0.08);
57
- // border: 2px solid $primary;
58
- // background: $secondary-light-6-opacity;
59
58
  }
60
59
  }
61
60
  }
62
61
 
63
- &.cdk-keyboard-focused.ng-invalid {
62
+ &.cdk-keyboard-focused.ng-invalid {
64
63
  .mat-checkbox-persistent-ripple {
65
64
  opacity: 1;
66
65
  background-color: black(0.08);
67
- // border: 2px solid $secondary;
68
66
  }
69
67
  }
70
68
 
71
69
  &.mat-checkbox-checked.cdk-keyboard-focused
72
70
  .mat-checkbox-persistent-ripple {
73
- // opacity: 1;
74
- // border: 2px solid $secondary;
75
- background: $secondary-light-6-opacity;
71
+ background: theme-apply($secondary-light-6-opacity);
76
72
  }
77
73
 
78
74
  &.mat-checkbox-disabled:not(.mat-checkbox-checked) {
@@ -83,12 +79,6 @@
83
79
  }
84
80
  }
85
81
 
86
- &.error-form {
87
- .mat-checkbox-frame {
88
- // border: 2px solid $error;
89
- }
90
- }
91
-
92
82
  &.mat-checkbox-checked {
93
83
  background: rgba(207, 71, 20, 0.12);
94
84
  }
@@ -96,21 +86,16 @@
96
86
  &.mat-checkbox-checked {
97
87
  &:not(.mat-checkbox-disabled) {
98
88
  .mat-ripple-element {
99
- background: $secondary-light-6-opacity;
89
+ background: theme-apply($secondary-light-6-opacity);
100
90
  }
101
91
  }
102
92
  }
103
93
 
104
- &:active:not(.mat-checkbox-disabled) {
105
- .mat-ripple-element {
106
- // background: black(0.12) !important;
107
- }
108
- }
109
-
94
+
110
95
  &.mat-checkbox-indeterminate,
111
96
  &.mat-checkbox-checked {
112
97
  .mat-checkbox-background {
113
- background: $secondary;
98
+ background: theme-apply($secondary);
114
99
  }
115
100
  }
116
101
  }
@@ -1,22 +1,24 @@
1
- @import "colors";
1
+ @import "../theme/variable";
2
+ @import "../theme/mixins";
2
3
  @import "form";
4
+
3
5
  .mat-form-field{
4
6
  &.qms-chip-input, &.qms-chip-input-select{
5
7
  font-family: Open Sans;
6
8
  &.mat-form-field-disabled {
7
9
  .mat-form-field-flex {
8
- background-color: $disabled;
9
-
10
+ background-color: theme-apply($disabled);
11
+
10
12
  &:hover {
11
- background-color: $disabled;
13
+ background-color: theme-apply($disabled);
12
14
  }
13
15
  }
14
-
16
+
15
17
  mat-icon,
16
18
  .mat-input-element {
17
19
  color: black(0.38);
18
20
  }
19
-
21
+
20
22
  button {
21
23
  pointer-events: none;
22
24
  }
@@ -24,11 +26,11 @@
24
26
 
25
27
  &.mat-focused {
26
28
  .mat-form-field-label {
27
- color: $primary;
29
+ color: theme-apply($primary);
28
30
  }
29
31
  .mat-form-field-flex {
30
32
  background-color: black(0.04);
31
- border-bottom: 2px solid $primary;
33
+ border-bottom: 2px solid theme-apply($primary);
32
34
  padding: $padding-field-flex;
33
35
  .mat-form-field-flex{
34
36
  &:hover {
@@ -37,32 +39,32 @@
37
39
  }
38
40
  }
39
41
  }
40
-
42
+
41
43
  &.mat-form-field-invalid {
42
44
  .mat-form-field-label {
43
- color: $error;
45
+ color: theme-apply($error);
44
46
  }
45
-
47
+
46
48
  mat-icon,
47
49
  .material-icons {
48
50
  color: black(0.54);
49
51
  }
50
-
52
+
51
53
  .mat-form-field-ripple {
52
54
  height: 2px;
53
- background-color: $error;
55
+ background-color: theme-apply($error);
54
56
  transform: scaleX(1);
55
57
  }
56
-
58
+
57
59
  .mat-form-field-flex {
58
- border-bottom: 2px solid $error;
60
+ border-bottom: 2px solid theme-apply($error);
59
61
  }
60
62
  }
61
-
63
+
62
64
  .mat-form-field-wrapper {
63
65
  border-radius: 0.25em;
64
66
  }
65
-
67
+
66
68
  .mat-form-field-flex{
67
69
  font-weight: 600;
68
70
  padding: $padding-field-flex;
@@ -121,7 +123,7 @@
121
123
  button{
122
124
  width: 1.5rem;
123
125
  height: 1.5rem;
124
- }
126
+ }
125
127
  }
126
128
  }
127
129
  }
@@ -143,25 +145,25 @@
143
145
 
144
146
  &.mat-form-field-invalid {
145
147
  .mat-form-field-underline:before {
146
- background-color: $error;
148
+ background-color: theme-apply($error);
147
149
  }
148
150
  }
149
-
151
+
150
152
  .mat-hint {
151
153
  font-size: 0.75rem;
152
154
  line-height: 16px;
153
155
  font-style: normal;
154
156
  }
155
-
157
+
156
158
  .mat-form-field-subscript-wrapper {
157
159
  margin-top: 2px;
158
160
  }
159
-
161
+
160
162
 
161
163
  .mat-form-field-prefix {
162
164
  margin-right: 0.75rem;
163
165
  color: black(0.6);
164
-
166
+
165
167
  mat-icon > svg {
166
168
  margin-bottom: 0.5em;
167
169
  }
@@ -190,7 +192,7 @@
190
192
  .mat-chip.qms-chip.mat-standard-chip{
191
193
  margin: 2px 4px 2px 4px;
192
194
  }
193
- input{
195
+ input{
194
196
  padding: 6px 0px 6px 0px;
195
197
  }
196
198
  }
@@ -218,7 +220,7 @@
218
220
  .mat-chip.qms-chip.mat-standard-chip{
219
221
  margin: 4px;
220
222
  }
221
- input{
223
+ input{
222
224
  padding: 0px;
223
225
  }
224
226
  }
@@ -242,10 +244,10 @@
242
244
  }
243
245
  }
244
246
  .qms-dropdown-menu-item-selected{
245
- color: $active;
247
+ color: theme-apply($active);
246
248
 
247
249
  .mat-icon{
248
- color: $active;
250
+ color: theme-apply($active);
249
251
  }
250
252
  }
251
253
  }
@@ -1,10 +1,12 @@
1
- @import "colors";
1
+ @import "../theme/variable";
2
+ @import "../theme/mixins";
3
+
2
4
  .mat-chip{
3
5
  &.qms-chip{
4
6
  font-size: 0.875rem;
5
7
  font-weight: 400;
6
8
  font-family: Open Sans, Arial, Sans-Serif;
7
-
9
+
8
10
  &.mat-standard-chip{
9
11
  background-color: black(0.04);
10
12
  border-radius: 4px;
@@ -34,10 +36,10 @@
34
36
  opacity: .08;
35
37
  }
36
38
  .mat-chip-ripple{
37
- border: 2px solid $active;
39
+ border: 2px solid theme-apply($active);
38
40
  }
39
41
  }
40
-
42
+
41
43
  .mat-icon.leading-icon{
42
44
  padding: 4px;
43
45
  }
@@ -60,23 +62,23 @@
60
62
  width: 1.5rem;
61
63
  height: 1.5rem;
62
64
  }
63
-
65
+
64
66
  &.qms-chip-selected, &.mat-chip-selected.qms-chip-selected{
65
67
  &.mat-standard-chip{
66
68
  background-color: #E5EEFB;
67
- color: $active;
69
+ color: theme-apply($active);
68
70
  .mat-icon.leading-icon{
69
- color: $active;
71
+ color: theme-apply($active);
70
72
  }
71
73
  }
72
-
74
+
73
75
 
74
76
  &.mat-standard-chip:hover, &.mat-standard-chip:focus{
75
77
  &::after{
76
78
  background-color: black(0.12);
77
79
  }
78
80
  }
79
-
81
+
80
82
  &.mat-standard-chip:focus{
81
83
  .mat-chip-ripple{
82
84
  border: 1px solid black(0.12);
@@ -93,4 +95,4 @@
93
95
  padding: 4px 10px;
94
96
  font-size: 0.75em;
95
97
  }
96
- }
98
+ }
@@ -1,16 +1,17 @@
1
- @import "colors";
1
+ @import "../theme/variable";
2
+ @import "../theme/mixins";
2
3
  @import "typography";
3
4
 
4
5
  .qms-date {
5
6
  font-family: Open Sans;
6
7
 
7
8
  .mat-calendar-body-selected {
8
- background-color: $primary;
9
+ background-color: theme-apply($primary);
9
10
  }
10
11
 
11
12
  .mat-calendar-body-in-range {
12
13
  &:before {
13
- background-color: $primary-light-32-opacity;
14
+ background-color: theme-apply($primary-light-32-opacity);
14
15
  }
15
16
 
16
17
  .mat-calendar-body-cell-content,
@@ -30,7 +31,7 @@
30
31
  .mat-calendar-period-button {
31
32
  font-weight: 700;
32
33
  font-size: 1rem;
33
- color: $default-color;
34
+ color: theme-apply($default-color);
34
35
  }
35
36
 
36
37
  .mat-calendar-period-button {
@@ -62,8 +63,8 @@
62
63
  > .mat-calendar-body-cell-content {
63
64
  &:not(.mat-calendar-body-selected) {
64
65
  &:not(.mat-calendar-body-comparison-identical) {
65
- background-color: $primary-light-3-opacity;
66
- color: $primary;
66
+ background-color: theme-apply($primary-light-3-opacity);
67
+ color: theme-apply($primary);
67
68
  }
68
69
  }
69
70
  }
@@ -75,8 +76,8 @@
75
76
  > .mat-calendar-body-cell-content {
76
77
  &:not(.mat-calendar-body-selected) {
77
78
  &:not(.mat-calendar-body-comparison-identical) {
78
- background-color: $primary-light-3-opacity;
79
- color: $primary;
79
+ background-color: theme-apply($primary-light-3-opacity);
80
+ color: theme-apply($primary);
80
81
  }
81
82
  }
82
83
  }