@onemrvapublic/design-system-theme 18.2.4-develop.12 → 18.2.4-develop.13
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/components/_lists.scss +0 -14
- package/package.json +1 -1
- package/utilities/_fonts.scss +29 -35
- package/utilities/_variables.scss +1 -1
package/components/_lists.scss
CHANGED
|
@@ -5,18 +5,4 @@
|
|
|
5
5
|
@mixin theme($theme) {
|
|
6
6
|
@include mat.list-base($theme);
|
|
7
7
|
@include mat.list-theme($theme);
|
|
8
|
-
|
|
9
|
-
.mat-mdc-list-base {
|
|
10
|
-
.mat-mdc-list-item {
|
|
11
|
-
@include µ.body-1($theme);
|
|
12
|
-
font-family: mat.m2-font-family(
|
|
13
|
-
map.get($theme, 'typography'),
|
|
14
|
-
body-1
|
|
15
|
-
); // HWKTMP For some reason, the font family is not taken into account from configuration
|
|
16
|
-
|
|
17
|
-
.mat-mdc-list-item-content {
|
|
18
|
-
gap: 4px;
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
8
|
}
|
package/package.json
CHANGED
package/utilities/_fonts.scss
CHANGED
|
@@ -4,53 +4,47 @@
|
|
|
4
4
|
|
|
5
5
|
@mixin theme($onemrva-theme, $production: true) {
|
|
6
6
|
& {
|
|
7
|
-
|
|
8
|
-
--mat-form-field-container-text-weight: 400;
|
|
9
|
-
--mdc-outlined-text-field-label-text-weight: 500;
|
|
10
|
-
--mat-form-field-container-height: 44px;
|
|
11
|
-
--mat-form-field-outlined-label-text-populated-size: 12px;
|
|
12
|
-
|
|
13
|
-
--mat-option-label-text-size: mat.m2-font-size(
|
|
7
|
+
$normal-font-size: mat.m2-font-size(
|
|
14
8
|
map.get($onemrva-theme, 'typography'),
|
|
15
9
|
'subtitle-2'
|
|
16
10
|
);
|
|
17
|
-
|
|
11
|
+
$normal-line-height: mat.m2-line-height(
|
|
18
12
|
map.get($onemrva-theme, 'typography'),
|
|
19
13
|
'subtitle-2'
|
|
20
14
|
);
|
|
21
|
-
|
|
15
|
+
$normal-font-weight: mat.m2-font-weight(
|
|
22
16
|
map.get($onemrva-theme, 'typography'),
|
|
23
17
|
'subtitle-2'
|
|
24
18
|
);
|
|
25
|
-
|
|
26
|
-
--mat-menu-item-label-text-font: mat.m2-font-family(
|
|
27
|
-
map.get($onemrva-theme, 'typography'),
|
|
28
|
-
'button'
|
|
29
|
-
);
|
|
30
|
-
--mat-app-label-large-font: mat.m2-font-family(
|
|
19
|
+
$button-font-family: mat.m2-font-family(
|
|
31
20
|
map.get($onemrva-theme, 'typography'),
|
|
32
21
|
'button'
|
|
33
22
|
);
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
--mat-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
--mat-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
--mat-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
--mat-menu-item-label-text-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
23
|
+
|
|
24
|
+
--mdc-outlined-text-field-label-text-weight: $normal-font-weight;
|
|
25
|
+
|
|
26
|
+
--mat-form-field-container-height: 44px;
|
|
27
|
+
--mat-form-field-outlined-label-text-populated-size: 12px;
|
|
28
|
+
--mat-form-field-container-text-size: $normal-font-size;
|
|
29
|
+
--mat-form-field-container-text-weight: $normal-font-weight;
|
|
30
|
+
|
|
31
|
+
--mat-select-trigger-text-size: $normal-font-size;
|
|
32
|
+
--mat-select-trigger-text-weight: $normal-font-weight;
|
|
33
|
+
|
|
34
|
+
--mat-option-label-text-size: $normal-font-size;
|
|
35
|
+
--mat-option-label-text-line-height: $normal-line-height;
|
|
36
|
+
--mat-option-label-text-weight: $normal-font-weight;
|
|
37
|
+
|
|
38
|
+
--mat-menu-item-label-text-font: $button-font-family;
|
|
39
|
+
--mat-menu-item-label-text-line-height: $normal-line-height;
|
|
40
|
+
--mat-menu-item-label-text-size: $normal-font-size;
|
|
41
|
+
--mat-menu-item-label-text-weight: $normal-font-weight;
|
|
42
|
+
|
|
43
|
+
--mat-app-label-large-font: $button-font-family;
|
|
44
|
+
--mat-app-label-large-line-height: $normal-line-height;
|
|
45
|
+
--mat-app-label-large-size: $normal-font-size;
|
|
46
|
+
|
|
47
|
+
--mdc-list-list-item-label-text-size: $normal-font-size;
|
|
54
48
|
|
|
55
49
|
color: µ.grayscale($onemrva-theme, 900);
|
|
56
50
|
}
|
|
@@ -74,7 +74,7 @@ $onemrva-typography: mat.m2-define-typography-config(
|
|
|
74
74
|
mat.m2-define-typography-level(23px, 40px, 600, $header-font-family),
|
|
75
75
|
// H3
|
|
76
76
|
$subtitle-2:
|
|
77
|
-
mat.m2-define-typography-level(16px, 26px,
|
|
77
|
+
mat.m2-define-typography-level(16px, 26px, 600, $default-font-family),
|
|
78
78
|
// body
|
|
79
79
|
// Define body text
|
|
80
80
|
$body-1: mat.m2-define-typography-level(20px, 35px, 700, $header-font-family),
|