@onemrvapublic/design-system-theme 20.7.0-develop.18 → 20.7.0-develop.19

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.
@@ -93,22 +93,6 @@
93
93
  padding: var(--spacer);
94
94
  //margin-bottom: var(--spacer);
95
95
 
96
- &.force-warn {
97
- $warn-40-color: map-get(palettes.$warn-palette, 40);
98
-
99
- @include mat.form-field-overrides(
100
- (
101
- outlined-caret-color: $warn-40-color,
102
- outlined-focus-outline-color: $warn-40-color,
103
- outlined-focus-label-text-color: $warn-40-color,
104
- outlined-hover-label-text-color: $warn-40-color,
105
- outlined-hover-outline-color: $warn-40-color,
106
- outlined-label-text-color: $warn-40-color,
107
- outlined-outline-color: $warn-40-color,
108
- )
109
- );
110
- }
111
-
112
96
  .mat-mdc-form-field-subscript-wrapper {
113
97
  @include formFieldSubscript(error);
114
98
  @include formFieldSubscript(hint);
@@ -141,7 +125,8 @@
141
125
  }
142
126
  }
143
127
 
144
- &.mat-warn {
128
+ &.mat-warn,
129
+ &.force-warn {
145
130
  .mat-mdc-form-field-subscript-wrapper {
146
131
  .mat-mdc-form-field-error-wrapper {
147
132
  mat-error {
@@ -3,17 +3,17 @@
3
3
  @mixin override() {
4
4
  @include mat.tooltip-overrides(
5
5
  (
6
- supporting-text-font: 'Source Sans Pro',
7
- supporting-text-size: 12px,
6
+ supporting-text-font: var(--mat-sys-label-small-font),
7
+ supporting-text-size: var(--mat-sys-label-small-size),
8
8
  container-color: var(--mat-sys-surface),
9
9
  supporting-text-color: var(--mat-sys-on-surface),
10
- supporting-text-line-height: 18px,
11
- supporting-text-weight: 400,
10
+ supporting-text-line-height: var(--mat-sys-label-small-line-height),
11
+ supporting-text-weight: var(--mat-sys-label-small-weight),
12
12
  )
13
13
  );
14
14
 
15
15
  .mat-mdc-tooltip-surface {
16
- padding: 8px;
17
- box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.32) !important;
16
+ padding: var(--spacer);
17
+ box-shadow: var(--mat-sys-level3) !important;
18
18
  }
19
19
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onemrvapublic/design-system-theme",
3
- "version": "v20.7.0-develop.18",
3
+ "version": "v20.7.0-develop.19",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },