@onemrvapublic/design-system-theme 20.7.0-develop.11 → 20.7.0-develop.12

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.
@@ -1,14 +1,43 @@
1
1
  @use '@angular/material' as mat;
2
2
 
3
3
  @mixin override() {
4
+ $size: 24px;
5
+ $handleSize: calc($size - 4px);
6
+ $margin: 0 4px;
7
+
4
8
  @include mat.slide-toggle-overrides(
5
9
  (
10
+ //unselected-track-color: var(--mat-sys-outline),
11
+ unselected-icon-color: white,
6
12
  track-outline-color: var(--mat-sys-surface-variant),
7
13
  selected-track-outline-color: var(--mat-sys-secondary),
8
14
  label-text-font: var(--mat-sys-body-medium-font),
9
15
  label-text-size: var(--mat-sys-body-medium-size),
10
16
  label-text-weight: var(--mat-sys-body-medium-weight),
11
17
  label-text-line-height: var(--mat-sys-body-medium-line-height),
18
+ track-height: $size,
19
+ handle-height: $size,
20
+
21
+ touch-target-size: $size,
22
+ state-layer-size: $size,
23
+ handle-width: $size,
24
+ track-width: 42px,
25
+
26
+ selected-icon-size: $handleSize,
27
+ pressed-handle-size: $handleSize,
28
+ unselected-handle-size: $handleSize,
29
+ with-icon-handle-size: $handleSize,
30
+
31
+ selected-handle-horizontal-margin: $margin,
32
+ unselected-pressed-handle-horizontal-margin: $margin,
33
+ selected-with-icon-handle-horizontal-margin: 0,
34
+ selected-pressed-handle-horizontal-margin: 0,
35
+ unselected-handle-horizontal-margin: $margin,
36
+ unselected-with-icon-handle-horizontal-margin: $margin,
37
+
38
+ track-outline-width: 0,
39
+ selected-track-outline-width: 0,
40
+ disabled-unselected-track-outline-width: 0
12
41
  )
13
42
  );
14
43
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onemrvapublic/design-system-theme",
3
- "version": "v20.7.0-develop.11",
3
+ "version": "v20.7.0-develop.12",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -24,13 +24,14 @@
24
24
  --paginator-height: 37px;
25
25
  --page-size-width: 80px;
26
26
 
27
- --quad-spacer: 2rem;
28
- --triple-spacer: 1.5rem;
29
- --double-spacer: 1rem;
30
- --spacer-and-half: 0.75rem;
31
- --spacer: 0.5rem;
32
- --half-spacer: 0.25rem;
33
- --quarter-spacer: 0.125rem;
27
+ // Sizes based on 16px base rem
28
+ --quad-spacer: 2rem; // 32px
29
+ --triple-spacer: 1.5rem; // 24px
30
+ --double-spacer: 1rem; // 16px
31
+ --spacer-and-half: 0.75rem; // 12px
32
+ --spacer: 0.5rem; // 8px
33
+ --half-spacer: 0.25rem; // 4px
34
+ --quarter-spacer: 0.125rem; // 2px
34
35
 
35
36
  --text-font: Source Sans Pro, sans-serif;
36
37
  --brand-font: Poppins, sans-serif;