@angular/material 20.1.0-next.1 → 20.1.0-next.2
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/_index.scss +1 -2
- package/autocomplete/_autocomplete-theme.scss +28 -37
- package/badge/_badge-theme.scss +35 -44
- package/badge/_m2-badge.scss +3 -2
- package/bottom-sheet/_bottom-sheet-theme.scss +28 -40
- package/bottom-sheet/_m2-bottom-sheet.scss +6 -9
- package/button/_button-theme.scss +37 -55
- package/button/_fab-theme.scss +42 -56
- package/button/_icon-button-theme.scss +30 -48
- package/button/_m2-button.scss +21 -25
- package/button/_m2-fab.scss +5 -5
- package/button/testing/index.d.ts +1 -0
- package/button-toggle/_button-toggle-theme.scss +29 -44
- package/button-toggle/_m2-button-toggle.scss +11 -17
- package/card/_card-theme.scss +28 -36
- package/card/_m2-card.scss +11 -13
- package/checkbox/_checkbox-theme.scss +35 -50
- package/checkbox/_m2-checkbox.scss +6 -5
- package/chips/_chips-theme.scss +24 -30
- package/chips/_m2-chip.scss +6 -5
- package/core/_core-theme.scss +48 -67
- package/core/focus-indicators/_private.scss +2 -5
- package/core/m2/_theming.scss +32 -41
- package/core/option/_m2-optgroup.scss +6 -6
- package/core/option/_m2-option.scss +6 -5
- package/core/option/_optgroup-theme.scss +28 -30
- package/core/option/_option-theme.scss +35 -34
- package/core/ripple/_ripple-theme.scss +28 -33
- package/core/selection/pseudo-checkbox/_pseudo-checkbox-theme.scss +55 -45
- package/core/theming/_all-theme.scss +38 -42
- package/core/theming/_definition.scss +20 -13
- package/core/theming/_inspection.scss +0 -12
- package/core/theming/_m2-inspection.scss +0 -33
- package/core/theming/_theming.scss +4 -172
- package/core/tokens/_m2-utils.scss +5 -65
- package/core/tokens/_m3-utils.scss +2 -14
- package/core/tokens/_token-utils.scss +7 -27
- package/core/tokens/m2/_index.scss +6 -0
- package/core/tokens/m2/_md-sys-color.scss +123 -0
- package/core/tokens/m2/_md-sys-elevation.scss +16 -0
- package/core/tokens/m2/_md-sys-motion.scss +36 -0
- package/core/tokens/m2/_md-sys-shape.scss +22 -0
- package/core/tokens/m2/_md-sys-state.scss +15 -0
- package/core/tokens/m2/_md-sys-typescale.scss +68 -0
- package/core/tokens/m3/_md-sys-color.scss +2 -2
- package/core/tokens/m3/_md-sys-typescale.scss +1 -1
- package/core/tokens/m3/_theme.scss +14 -26
- package/datepicker/_datepicker-theme.scss +38 -40
- package/datepicker/_m2-datepicker.scss +7 -14
- package/dialog/_dialog-theme.scss +28 -34
- package/dialog/_m2-dialog.scss +11 -13
- package/divider/_divider-theme.scss +28 -30
- package/expansion/_expansion-theme.scss +28 -39
- package/expansion/_m2-expansion.scss +11 -10
- package/expansion/_m3-expansion.scss +2 -0
- package/fesm2022/animation-DfMFjxHu.mjs.map +1 -1
- package/fesm2022/autocomplete/testing.mjs.map +1 -1
- package/fesm2022/autocomplete.mjs +1 -1
- package/fesm2022/autocomplete.mjs.map +1 -1
- package/fesm2022/badge/testing.mjs.map +1 -1
- package/fesm2022/badge.mjs.map +1 -1
- package/fesm2022/bottom-sheet/testing.mjs.map +1 -1
- package/fesm2022/bottom-sheet.mjs.map +1 -1
- package/fesm2022/button/testing.mjs +7 -4
- package/fesm2022/button/testing.mjs.map +1 -1
- package/fesm2022/button-toggle/testing.mjs.map +1 -1
- package/fesm2022/button-toggle.mjs.map +1 -1
- package/fesm2022/button.mjs.map +1 -1
- package/fesm2022/card/testing.mjs.map +1 -1
- package/fesm2022/card.mjs.map +1 -1
- package/fesm2022/checkbox/testing.mjs.map +1 -1
- package/fesm2022/checkbox.mjs.map +1 -1
- package/fesm2022/chips/testing.mjs.map +1 -1
- package/fesm2022/chips.mjs +1 -1
- package/fesm2022/chips.mjs.map +1 -1
- package/fesm2022/common-module-cKSwHniA.mjs.map +1 -1
- package/fesm2022/core/testing.mjs.map +1 -1
- package/fesm2022/core.mjs +1 -1
- package/fesm2022/core.mjs.map +1 -1
- package/fesm2022/date-formats-K6TQue-Y.mjs.map +1 -1
- package/fesm2022/date-range-input-harness-DEyfkeOs.mjs.map +1 -1
- package/fesm2022/datepicker/testing.mjs.map +1 -1
- package/fesm2022/datepicker.mjs +1 -1
- package/fesm2022/datepicker.mjs.map +1 -1
- package/fesm2022/dialog/testing.mjs.map +1 -1
- package/fesm2022/dialog.mjs.map +1 -1
- package/fesm2022/divider/testing.mjs.map +1 -1
- package/fesm2022/divider.mjs.map +1 -1
- package/fesm2022/error-options-DCNQlTOA.mjs.map +1 -1
- package/fesm2022/error-state-Dtb1IHM-.mjs.map +1 -1
- package/fesm2022/expansion/testing.mjs.map +1 -1
- package/fesm2022/expansion.mjs +2 -2
- package/fesm2022/expansion.mjs.map +1 -1
- package/fesm2022/form-field/testing/control.mjs.map +1 -1
- package/fesm2022/form-field/testing.mjs.map +1 -1
- package/fesm2022/{form-field-C9DZXojn.mjs → form-field-CFbrnFED.mjs} +3 -3
- package/fesm2022/form-field-CFbrnFED.mjs.map +1 -0
- package/fesm2022/form-field.mjs +2 -2
- package/fesm2022/form-field.mjs.map +1 -1
- package/fesm2022/grid-list/testing.mjs.map +1 -1
- package/fesm2022/grid-list.mjs.map +1 -1
- package/fesm2022/icon/testing.mjs.map +1 -1
- package/fesm2022/icon-button-DxiIc1ex.mjs.map +1 -1
- package/fesm2022/icon-registry-CwOTJ7YM.mjs.map +1 -1
- package/fesm2022/icon.mjs.map +1 -1
- package/fesm2022/index-BFRo2fUq.mjs.map +1 -1
- package/fesm2022/index-DwiL-HGk.mjs.map +1 -1
- package/fesm2022/input/testing.mjs.map +1 -1
- package/fesm2022/input-harness-C5Msdc4-.mjs.map +1 -1
- package/fesm2022/input-value-accessor-D1GvPuqO.mjs.map +1 -1
- package/fesm2022/input.mjs +3 -27
- package/fesm2022/input.mjs.map +1 -1
- package/fesm2022/internal-form-field-D5iFxU6d.mjs.map +1 -1
- package/fesm2022/line-Bz5f9Cyx.mjs.map +1 -1
- package/fesm2022/list/testing.mjs.map +1 -1
- package/fesm2022/list.mjs.map +1 -1
- package/fesm2022/material.mjs.map +1 -1
- package/fesm2022/menu/testing.mjs +97 -13
- package/fesm2022/menu/testing.mjs.map +1 -1
- package/fesm2022/menu.mjs +343 -122
- package/fesm2022/menu.mjs.map +1 -1
- package/fesm2022/{module-BDiw_nWS.mjs → module-B0CLRw5e.mjs} +3 -3
- package/fesm2022/module-B0CLRw5e.mjs.map +1 -0
- package/fesm2022/{module-DzZHEh7B.mjs → module-B62K-792.mjs} +2 -2
- package/fesm2022/module-B62K-792.mjs.map +1 -0
- package/fesm2022/module-CWxMD37a.mjs.map +1 -1
- package/fesm2022/module-Ce6F7TNm.mjs.map +1 -1
- package/fesm2022/option-BzhYL_xC.mjs.map +1 -1
- package/fesm2022/option-harness-BFcc-M_4.mjs.map +1 -1
- package/fesm2022/paginator/testing.mjs.map +1 -1
- package/fesm2022/paginator.mjs +3 -3
- package/fesm2022/paginator.mjs.map +1 -1
- package/fesm2022/progress-bar/testing.mjs.map +1 -1
- package/fesm2022/progress-bar.mjs.map +1 -1
- package/fesm2022/progress-spinner/testing.mjs.map +1 -1
- package/fesm2022/progress-spinner.mjs.map +1 -1
- package/fesm2022/pseudo-checkbox-DDmgx3P4.mjs.map +1 -1
- package/fesm2022/pseudo-checkbox-module-4F8Up4PL.mjs.map +1 -1
- package/fesm2022/public-api-BoO5eSq-.mjs.map +1 -1
- package/fesm2022/radio/testing.mjs.map +1 -1
- package/fesm2022/radio.mjs.map +1 -1
- package/fesm2022/ripple-BYgV4oZC.mjs.map +1 -1
- package/fesm2022/ripple-loader-BnMiRtmT.mjs.map +1 -1
- package/fesm2022/select/testing.mjs.map +1 -1
- package/fesm2022/select.mjs +3 -3
- package/fesm2022/select.mjs.map +1 -1
- package/fesm2022/sidenav/testing.mjs.map +1 -1
- package/fesm2022/sidenav.mjs.map +1 -1
- package/fesm2022/slide-toggle/testing.mjs.map +1 -1
- package/fesm2022/slide-toggle.mjs +2 -2
- package/fesm2022/slide-toggle.mjs.map +1 -1
- package/fesm2022/slider/testing.mjs.map +1 -1
- package/fesm2022/slider.mjs.map +1 -1
- package/fesm2022/snack-bar/testing.mjs.map +1 -1
- package/fesm2022/snack-bar.mjs +2 -2
- package/fesm2022/snack-bar.mjs.map +1 -1
- package/fesm2022/sort/testing.mjs.map +1 -1
- package/fesm2022/sort.mjs.map +1 -1
- package/fesm2022/stepper/testing.mjs.map +1 -1
- package/fesm2022/stepper.mjs.map +1 -1
- package/fesm2022/structural-styles-CObeNzjn.mjs.map +1 -1
- package/fesm2022/table/testing.mjs.map +1 -1
- package/fesm2022/table.mjs.map +1 -1
- package/fesm2022/tabs/testing.mjs.map +1 -1
- package/fesm2022/tabs.mjs.map +1 -1
- package/fesm2022/timepicker/testing.mjs.map +1 -1
- package/fesm2022/timepicker.mjs +1 -1
- package/fesm2022/timepicker.mjs.map +1 -1
- package/fesm2022/toolbar/testing.mjs.map +1 -1
- package/fesm2022/toolbar.mjs.map +1 -1
- package/fesm2022/tooltip/testing.mjs.map +1 -1
- package/fesm2022/tooltip.mjs.map +1 -1
- package/fesm2022/tree/testing.mjs.map +1 -1
- package/fesm2022/tree.mjs.map +1 -1
- package/form-field/_form-field-theme.scss +35 -51
- package/form-field/_m2-form-field.scss +21 -29
- package/grid-list/_grid-list-theme.scss +28 -28
- package/grid-list/_m2-grid-list.scss +7 -9
- package/icon/_icon-theme.scss +40 -41
- package/input/_input-theme.scss +1 -4
- package/input/index.d.ts +0 -11
- package/list/_list-theme.scss +55 -53
- package/list/_m2-list.scss +16 -26
- package/menu/_m2-menu.scss +6 -6
- package/menu/_menu-theme.scss +28 -33
- package/menu/index.d.ts +145 -61
- package/menu/testing/index.d.ts +50 -2
- package/package.json +2 -2
- package/paginator/_m2-paginator.scss +7 -8
- package/paginator/_paginator-theme.scss +28 -33
- package/prebuilt-themes/deeppurple-amber.css +1 -1
- package/prebuilt-themes/indigo-pink.css +1 -1
- package/prebuilt-themes/pink-bluegrey.css +1 -1
- package/prebuilt-themes/purple-green.css +1 -1
- package/progress-bar/_progress-bar-theme.scss +35 -43
- package/progress-spinner/_progress-spinner-theme.scss +42 -43
- package/radio/_m2-radio.scss +6 -5
- package/radio/_radio-theme.scss +33 -46
- package/schematics/ng-add/index.js +1 -1
- package/select/_m2-select.scss +6 -5
- package/select/_select-theme.scss +38 -51
- package/sidenav/_sidenav-theme.scss +28 -30
- package/slide-toggle/_m2-slide-toggle.scss +45 -58
- package/slide-toggle/_m3-slide-toggle.scss +1 -0
- package/slide-toggle/_slide-toggle-theme.scss +41 -79
- package/slider/_m2-slider.scss +6 -9
- package/slider/_slider-theme.scss +38 -45
- package/snack-bar/_m2-snack-bar.scss +5 -5
- package/snack-bar/_snack-bar-theme.scss +28 -31
- package/sort/_sort-theme.scss +28 -33
- package/stepper/_m2-stepper.scss +10 -13
- package/stepper/_stepper-theme.scss +41 -49
- package/table/_m2-table.scss +16 -23
- package/table/_table-theme.scss +28 -36
- package/tabs/_m2-tabs.scss +6 -5
- package/tabs/_tabs-theme.scss +35 -43
- package/timepicker/_timepicker-theme.scss +28 -46
- package/toolbar/_m2-toolbar.scss +6 -7
- package/toolbar/_toolbar-theme.scss +55 -46
- package/tooltip/_m2-tooltip.scss +5 -6
- package/tooltip/_tooltip-theme.scss +28 -37
- package/tree/_m2-tree.scss +4 -3
- package/tree/_tree-theme.scss +28 -38
- package/core/tokens/_format-tokens.scss +0 -5
- package/fesm2022/form-field-C9DZXojn.mjs.map +0 -1
- package/fesm2022/module-BDiw_nWS.mjs.map +0 -1
- package/fesm2022/module-DzZHEh7B.mjs.map +0 -1
package/card/_m2-card.scss
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
@use '../core/theming/inspection';
|
|
2
1
|
@use '../core/style/elevation';
|
|
3
2
|
@use '../core/tokens/m2-utils';
|
|
4
3
|
@use 'sass:map';
|
|
@@ -32,19 +31,18 @@
|
|
|
32
31
|
|
|
33
32
|
// Tokens that can be configured through Angular Material's typography theming API.
|
|
34
33
|
@function get-typography-tokens($theme) {
|
|
34
|
+
$system: m2-utils.get-system($theme);
|
|
35
35
|
@return (
|
|
36
|
-
card-title-text-font:
|
|
37
|
-
card-title-text-line-height:
|
|
38
|
-
card-title-text-size:
|
|
39
|
-
card-title-text-tracking:
|
|
40
|
-
card-title-text-weight:
|
|
41
|
-
card-subtitle-text-font:
|
|
42
|
-
card-subtitle-text-line-height:
|
|
43
|
-
|
|
44
|
-
card-subtitle-text-
|
|
45
|
-
card-subtitle-text-
|
|
46
|
-
inspection.get-theme-typography($theme, subtitle-2, letter-spacing),
|
|
47
|
-
card-subtitle-text-weight: inspection.get-theme-typography($theme, subtitle-2, font-weight),
|
|
36
|
+
card-title-text-font: map.get($system, title-small-font),
|
|
37
|
+
card-title-text-line-height: map.get($system, title-small-line-height),
|
|
38
|
+
card-title-text-size: map.get($system, title-small-size),
|
|
39
|
+
card-title-text-tracking: map.get($system, title-small-tracking),
|
|
40
|
+
card-title-text-weight: map.get($system, title-small-weight),
|
|
41
|
+
card-subtitle-text-font: map.get($system, label-medium-font),
|
|
42
|
+
card-subtitle-text-line-height: map.get($system, label-medium-line-height),
|
|
43
|
+
card-subtitle-text-size: map.get($system, label-medium-size),
|
|
44
|
+
card-subtitle-text-tracking: map.get($system, label-medium-tracking),
|
|
45
|
+
card-subtitle-text-weight: map.get($system, label-medium-weight),
|
|
48
46
|
);
|
|
49
47
|
}
|
|
50
48
|
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
@use '../core/style/sass-utils';
|
|
2
|
-
@use '../core/theming/theming';
|
|
3
1
|
@use '../core/theming/inspection';
|
|
4
2
|
@use '../core/tokens/token-utils';
|
|
5
3
|
@use '../core/typography/typography';
|
|
@@ -11,69 +9,58 @@
|
|
|
11
9
|
/// for the mat-checkbox.
|
|
12
10
|
/// @param {Map} $theme The theme to generate base styles for.
|
|
13
11
|
@mixin base($theme) {
|
|
12
|
+
$tokens: m2-checkbox.get-unthemable-tokens($theme);
|
|
14
13
|
@if inspection.get-theme-version($theme) == 1 {
|
|
15
|
-
|
|
16
|
-
} @else {
|
|
17
|
-
@include sass-utils.current-selector-or-root() {
|
|
18
|
-
@include token-utils.create-token-values-mixed(m2-checkbox.get-unthemable-tokens($theme));
|
|
19
|
-
}
|
|
14
|
+
$tokens: map.get(m3-checkbox.get-tokens($theme), base);
|
|
20
15
|
}
|
|
16
|
+
|
|
17
|
+
@include token-utils.values($tokens);
|
|
21
18
|
}
|
|
22
19
|
|
|
23
20
|
/// Outputs color theme styles for the mat-checkbox.
|
|
24
21
|
/// @param {Map} $theme The theme to generate color styles for.
|
|
25
22
|
/// @param {String} $color-variant The color variant to use for the component
|
|
26
23
|
@mixin color($theme, $color-variant: null) {
|
|
24
|
+
$tokens: m2-checkbox.get-color-tokens($theme, secondary);
|
|
27
25
|
@if inspection.get-theme-version($theme) == 1 {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
@include token-utils.create-token-values-mixed(
|
|
33
|
-
m2-checkbox.get-color-tokens($theme, secondary));
|
|
34
|
-
}
|
|
26
|
+
$tokens: map.get(m3-checkbox.get-tokens($theme, $color-variant), color);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
@include token-utils.values($tokens);
|
|
35
30
|
|
|
31
|
+
@if inspection.get-theme-version($theme) != 1 {
|
|
36
32
|
.mat-mdc-checkbox {
|
|
37
33
|
&.mat-primary {
|
|
38
|
-
@include token-utils.
|
|
39
|
-
|
|
40
|
-
$exclude: (checkbox-disabled-label-color, checkbox-label-text-color))
|
|
34
|
+
@include token-utils.values(m2-checkbox.get-color-tokens($theme, primary,
|
|
35
|
+
$exclude: (checkbox-disabled-label-color, checkbox-label-text-color))
|
|
41
36
|
);
|
|
42
37
|
}
|
|
43
38
|
|
|
44
39
|
&.mat-warn {
|
|
45
|
-
@include token-utils.
|
|
46
|
-
|
|
47
|
-
$exclude: (checkbox-disabled-label-color, checkbox-label-text-color))
|
|
40
|
+
@include token-utils.values(m2-checkbox.get-color-tokens($theme, error,
|
|
41
|
+
$exclude: (checkbox-disabled-label-color, checkbox-label-text-color))
|
|
48
42
|
);
|
|
49
43
|
}
|
|
50
44
|
}
|
|
51
45
|
}
|
|
52
46
|
}
|
|
53
47
|
|
|
54
|
-
/// Outputs typography theme styles for the mat-checkbox.
|
|
55
|
-
/// @param {Map} $theme The theme to generate typography styles for.
|
|
56
48
|
@mixin typography($theme) {
|
|
49
|
+
$tokens: m2-checkbox.get-typography-tokens($theme);
|
|
57
50
|
@if inspection.get-theme-version($theme) == 1 {
|
|
58
|
-
|
|
59
|
-
map.get(m3-checkbox.get-tokens($theme), typography));
|
|
60
|
-
} @else {
|
|
61
|
-
@include sass-utils.current-selector-or-root() {
|
|
62
|
-
@include token-utils.create-token-values-mixed(m2-checkbox.get-typography-tokens($theme));
|
|
63
|
-
}
|
|
51
|
+
$tokens: map.get(m3-checkbox.get-tokens($theme), typography);
|
|
64
52
|
}
|
|
53
|
+
|
|
54
|
+
@include token-utils.values($tokens);
|
|
65
55
|
}
|
|
66
56
|
|
|
67
|
-
/// Outputs density theme styles for the mat-checkbox.
|
|
68
|
-
/// @param {Map} $theme The theme to generate density styles for.
|
|
69
57
|
@mixin density($theme) {
|
|
58
|
+
$tokens: m2-checkbox.get-density-tokens($theme);
|
|
70
59
|
@if inspection.get-theme-version($theme) == 1 {
|
|
71
|
-
|
|
72
|
-
} @else {
|
|
73
|
-
@include sass-utils.current-selector-or-root() {
|
|
74
|
-
@include token-utils.create-token-values-mixed(m2-checkbox.get-density-tokens($theme));
|
|
75
|
-
}
|
|
60
|
+
$tokens: map.get(m3-checkbox.get-tokens($theme), density);
|
|
76
61
|
}
|
|
62
|
+
|
|
63
|
+
@include token-utils.values($tokens);
|
|
77
64
|
}
|
|
78
65
|
|
|
79
66
|
/// Defines the tokens that will be available in the `overrides` mixin and for docs extraction.
|
|
@@ -96,23 +83,21 @@
|
|
|
96
83
|
/// @param {Map} $theme The theme to generate styles for.
|
|
97
84
|
/// @param {String} $color-variant The color variant to use for the component (M3 only)
|
|
98
85
|
@mixin theme($theme, $color-variant: null) {
|
|
99
|
-
@
|
|
100
|
-
@
|
|
101
|
-
|
|
102
|
-
|
|
86
|
+
@if inspection.get-theme-version($theme) == 1 {
|
|
87
|
+
@include base($theme);
|
|
88
|
+
@include color($theme, $color-variant);
|
|
89
|
+
@include density($theme);
|
|
90
|
+
@include typography($theme);
|
|
91
|
+
} @else {
|
|
92
|
+
@include base($theme);
|
|
93
|
+
@if inspection.theme-has($theme, color) {
|
|
94
|
+
@include color($theme);
|
|
95
|
+
}
|
|
96
|
+
@if inspection.theme-has($theme, density) {
|
|
103
97
|
@include density($theme);
|
|
98
|
+
}
|
|
99
|
+
@if inspection.theme-has($theme, typography) {
|
|
104
100
|
@include typography($theme);
|
|
105
|
-
} @else {
|
|
106
|
-
@include base($theme);
|
|
107
|
-
@if inspection.theme-has($theme, color) {
|
|
108
|
-
@include color($theme);
|
|
109
|
-
}
|
|
110
|
-
@if inspection.theme-has($theme, density) {
|
|
111
|
-
@include density($theme);
|
|
112
|
-
}
|
|
113
|
-
@if inspection.theme-has($theme, typography) {
|
|
114
|
-
@include typography($theme);
|
|
115
|
-
}
|
|
116
101
|
}
|
|
117
102
|
}
|
|
118
103
|
}
|
|
@@ -57,12 +57,13 @@
|
|
|
57
57
|
|
|
58
58
|
// Tokens that can be configured through Angular Material's typography theming API.
|
|
59
59
|
@function get-typography-tokens($theme) {
|
|
60
|
+
$system: m2-utils.get-system($theme);
|
|
60
61
|
@return (
|
|
61
|
-
checkbox-label-text-font:
|
|
62
|
-
checkbox-label-text-line-height:
|
|
63
|
-
checkbox-label-text-size:
|
|
64
|
-
checkbox-label-text-tracking:
|
|
65
|
-
checkbox-label-text-weight:
|
|
62
|
+
checkbox-label-text-font: map.get($system, body-medium-font),
|
|
63
|
+
checkbox-label-text-line-height: map.get($system, body-medium-line-height),
|
|
64
|
+
checkbox-label-text-size: map.get($system, body-medium-size),
|
|
65
|
+
checkbox-label-text-tracking: map.get($system, body-medium-tracking),
|
|
66
|
+
checkbox-label-text-weight: map.get($system, body-medium-weight)
|
|
66
67
|
);
|
|
67
68
|
}
|
|
68
69
|
|
package/chips/_chips-theme.scss
CHANGED
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
@use './m2-chip';
|
|
3
3
|
@use './m3-chip';
|
|
4
4
|
@use '../core/tokens/token-utils';
|
|
5
|
-
@use '../core/theming/theming';
|
|
6
5
|
@use '../core/theming/inspection';
|
|
7
6
|
@use '../core/typography/typography';
|
|
8
7
|
@use 'sass:map';
|
|
@@ -12,10 +11,10 @@
|
|
|
12
11
|
/// @param {Map} $theme The theme to generate base styles for.
|
|
13
12
|
@mixin base($theme) {
|
|
14
13
|
@if inspection.get-theme-version($theme) == 1 {
|
|
15
|
-
@include token-utils.
|
|
14
|
+
@include token-utils.values(map.get(m3-chip.get-tokens($theme), base));
|
|
16
15
|
} @else {
|
|
17
16
|
.mat-mdc-standard-chip {
|
|
18
|
-
@include token-utils.
|
|
17
|
+
@include token-utils.values(m2-chip.get-unthemable-tokens($theme));
|
|
19
18
|
}
|
|
20
19
|
}
|
|
21
20
|
}
|
|
@@ -25,27 +24,24 @@
|
|
|
25
24
|
/// @param {String} $color-variant The color variant to use for the component (M3 only)
|
|
26
25
|
@mixin color($theme, $color-variant: null) {
|
|
27
26
|
@if inspection.get-theme-version($theme) == 1 {
|
|
28
|
-
@include token-utils.
|
|
27
|
+
@include token-utils.values(
|
|
29
28
|
map.get(m3-chip.get-tokens($theme, $color-variant), color));
|
|
30
29
|
} @else {
|
|
31
30
|
.mat-mdc-standard-chip {
|
|
32
|
-
@include token-utils.
|
|
31
|
+
@include token-utils.values(m2-chip.get-color-tokens($theme));
|
|
33
32
|
|
|
34
33
|
&.mat-mdc-chip-selected,
|
|
35
34
|
&.mat-mdc-chip-highlighted {
|
|
36
35
|
&.mat-primary {
|
|
37
|
-
@include token-utils.
|
|
38
|
-
m2-chip.get-color-tokens($theme, primary));
|
|
36
|
+
@include token-utils.values(m2-chip.get-color-tokens($theme, primary));
|
|
39
37
|
}
|
|
40
38
|
|
|
41
39
|
&.mat-accent {
|
|
42
|
-
@include token-utils.
|
|
43
|
-
m2-chip.get-color-tokens($theme, secondary));
|
|
40
|
+
@include token-utils.values(m2-chip.get-color-tokens($theme, secondary));
|
|
44
41
|
}
|
|
45
42
|
|
|
46
43
|
&.mat-warn {
|
|
47
|
-
@include token-utils.
|
|
48
|
-
m2-chip.get-color-tokens($theme, error));
|
|
44
|
+
@include token-utils.values(m2-chip.get-color-tokens($theme, error));
|
|
49
45
|
}
|
|
50
46
|
}
|
|
51
47
|
}
|
|
@@ -56,10 +52,10 @@
|
|
|
56
52
|
/// @param {Map} $theme The theme to generate typography styles for.
|
|
57
53
|
@mixin typography($theme) {
|
|
58
54
|
@if inspection.get-theme-version($theme) == 1 {
|
|
59
|
-
@include token-utils.
|
|
55
|
+
@include token-utils.values(map.get(m3-chip.get-tokens($theme), typography));
|
|
60
56
|
} @else {
|
|
61
57
|
.mat-mdc-standard-chip {
|
|
62
|
-
@include token-utils.
|
|
58
|
+
@include token-utils.values(m2-chip.get-typography-tokens($theme));
|
|
63
59
|
}
|
|
64
60
|
}
|
|
65
61
|
}
|
|
@@ -68,10 +64,10 @@
|
|
|
68
64
|
/// @param {Map} $theme The theme to generate density styles for.
|
|
69
65
|
@mixin density($theme) {
|
|
70
66
|
@if inspection.get-theme-version($theme) == 1 {
|
|
71
|
-
@include token-utils.
|
|
67
|
+
@include token-utils.values(map.get(m3-chip.get-tokens($theme), density));
|
|
72
68
|
} @else {
|
|
73
69
|
.mat-mdc-chip.mat-mdc-standard-chip {
|
|
74
|
-
@include token-utils.
|
|
70
|
+
@include token-utils.values(m2-chip.get-density-tokens($theme));
|
|
75
71
|
}
|
|
76
72
|
}
|
|
77
73
|
}
|
|
@@ -96,23 +92,21 @@
|
|
|
96
92
|
/// @param {Map} $theme The theme to generate styles for.
|
|
97
93
|
/// @param {String} $color-variant The color variant to use for the component (M3 only)
|
|
98
94
|
@mixin theme($theme, $color-variant: null) {
|
|
99
|
-
@
|
|
100
|
-
@
|
|
101
|
-
|
|
102
|
-
|
|
95
|
+
@if inspection.get-theme-version($theme) == 1 {
|
|
96
|
+
@include base($theme);
|
|
97
|
+
@include color($theme, $color-variant);
|
|
98
|
+
@include density($theme);
|
|
99
|
+
@include typography($theme);
|
|
100
|
+
} @else {
|
|
101
|
+
@include base($theme);
|
|
102
|
+
@if inspection.theme-has($theme, color) {
|
|
103
|
+
@include color($theme);
|
|
104
|
+
}
|
|
105
|
+
@if inspection.theme-has($theme, density) {
|
|
103
106
|
@include density($theme);
|
|
107
|
+
}
|
|
108
|
+
@if inspection.theme-has($theme, typography) {
|
|
104
109
|
@include typography($theme);
|
|
105
|
-
} @else {
|
|
106
|
-
@include base($theme);
|
|
107
|
-
@if inspection.theme-has($theme, color) {
|
|
108
|
-
@include color($theme);
|
|
109
|
-
}
|
|
110
|
-
@if inspection.theme-has($theme, density) {
|
|
111
|
-
@include density($theme);
|
|
112
|
-
}
|
|
113
|
-
@if inspection.theme-has($theme, typography) {
|
|
114
|
-
@include typography($theme);
|
|
115
|
-
}
|
|
116
110
|
}
|
|
117
111
|
}
|
|
118
112
|
}
|
package/chips/_m2-chip.scss
CHANGED
|
@@ -72,12 +72,13 @@
|
|
|
72
72
|
|
|
73
73
|
// Tokens that can be configured through Angular Material's typography theming API.
|
|
74
74
|
@function get-typography-tokens($theme) {
|
|
75
|
+
$system: m2-utils.get-system($theme);
|
|
75
76
|
@return (
|
|
76
|
-
chip-label-text-font:
|
|
77
|
-
chip-label-text-line-height:
|
|
78
|
-
chip-label-text-size:
|
|
79
|
-
chip-label-text-tracking:
|
|
80
|
-
chip-label-text-weight:
|
|
77
|
+
chip-label-text-font: map.get($system, body-medium-font),
|
|
78
|
+
chip-label-text-line-height: map.get($system, body-medium-line-height),
|
|
79
|
+
chip-label-text-size: map.get($system, body-medium-size),
|
|
80
|
+
chip-label-text-tracking: map.get($system, body-medium-tracking),
|
|
81
|
+
chip-label-text-weight: map.get($system, body-medium-weight)
|
|
81
82
|
);
|
|
82
83
|
}
|
|
83
84
|
|
package/core/_core-theme.scss
CHANGED
|
@@ -1,10 +1,8 @@
|
|
|
1
|
-
@use './theming/theming';
|
|
2
1
|
@use './theming/inspection';
|
|
3
2
|
@use './ripple/ripple-theme';
|
|
4
3
|
@use './option/option-theme';
|
|
5
4
|
@use './option/optgroup-theme';
|
|
6
5
|
@use './selection/pseudo-checkbox/pseudo-checkbox-theme';
|
|
7
|
-
@use './style/sass-utils';
|
|
8
6
|
@use './typography/typography';
|
|
9
7
|
@use './tokens/token-utils';
|
|
10
8
|
@use './m2-app';
|
|
@@ -16,71 +14,59 @@
|
|
|
16
14
|
@use 'sass:map';
|
|
17
15
|
|
|
18
16
|
@mixin base($theme) {
|
|
17
|
+
$tokens: m2-app.get-unthemable-tokens();
|
|
19
18
|
@if inspection.get-theme-version($theme) == 1 {
|
|
20
|
-
|
|
21
|
-
@include token-utils.create-token-values(map.get(m3-ripple.get-tokens($theme), base));
|
|
22
|
-
@include token-utils.create-token-values(map.get(m3-option.get-tokens($theme), base));
|
|
23
|
-
@include token-utils.create-token-values(map.get(m3-optgroup.get-tokens($theme), base));
|
|
24
|
-
@include token-utils.create-token-values(map.get(m3-pseudo-checkbox.get-tokens($theme), base));
|
|
25
|
-
} @else {
|
|
26
|
-
@include ripple-theme.base($theme);
|
|
27
|
-
@include option-theme.base($theme);
|
|
28
|
-
@include optgroup-theme.base($theme);
|
|
29
|
-
@include pseudo-checkbox-theme.base($theme);
|
|
30
|
-
@include sass-utils.current-selector-or-root() {
|
|
31
|
-
@include token-utils.create-token-values-mixed(m2-app.get-unthemable-tokens());
|
|
32
|
-
}
|
|
19
|
+
$tokens: map.get(m3-app.get-tokens($theme), base);
|
|
33
20
|
}
|
|
21
|
+
|
|
22
|
+
@include token-utils.values($tokens);
|
|
23
|
+
|
|
24
|
+
@include ripple-theme.base($theme);
|
|
25
|
+
@include option-theme.base($theme);
|
|
26
|
+
@include optgroup-theme.base($theme);
|
|
27
|
+
@include pseudo-checkbox-theme.base($theme);
|
|
34
28
|
}
|
|
35
29
|
|
|
36
30
|
@mixin color($theme) {
|
|
31
|
+
$tokens: m2-app.get-color-tokens($theme);
|
|
37
32
|
@if inspection.get-theme-version($theme) == 1 {
|
|
38
|
-
|
|
39
|
-
@include token-utils.create-token-values(map.get(m3-ripple.get-tokens($theme), color));
|
|
40
|
-
@include token-utils.create-token-values(map.get(m3-option.get-tokens($theme), color));
|
|
41
|
-
@include token-utils.create-token-values(map.get(m3-optgroup.get-tokens($theme), color));
|
|
42
|
-
@include token-utils.create-token-values(map.get(m3-pseudo-checkbox.get-tokens($theme), color));
|
|
43
|
-
} @else {
|
|
44
|
-
@include ripple-theme.color($theme);
|
|
45
|
-
@include option-theme.color($theme);
|
|
46
|
-
@include optgroup-theme.color($theme);
|
|
47
|
-
@include pseudo-checkbox-theme.color($theme);
|
|
48
|
-
@include sass-utils.current-selector-or-root() {
|
|
49
|
-
@include token-utils.create-token-values-mixed(m2-app.get-color-tokens($theme));
|
|
50
|
-
}
|
|
33
|
+
$tokens: map.get(m3-app.get-tokens($theme), color);
|
|
51
34
|
}
|
|
35
|
+
|
|
36
|
+
@include token-utils.values($tokens);
|
|
37
|
+
|
|
38
|
+
@include ripple-theme.color($theme);
|
|
39
|
+
@include option-theme.color($theme);
|
|
40
|
+
@include optgroup-theme.color($theme);
|
|
41
|
+
@include pseudo-checkbox-theme.color($theme);
|
|
52
42
|
}
|
|
53
43
|
|
|
54
44
|
@mixin typography($theme) {
|
|
45
|
+
$tokens: m2-app.get-typography-tokens($theme);
|
|
55
46
|
@if inspection.get-theme-version($theme) == 1 {
|
|
56
|
-
|
|
57
|
-
@include token-utils.create-token-values(map.get(m3-ripple.get-tokens($theme), typography));
|
|
58
|
-
@include token-utils.create-token-values(map.get(m3-option.get-tokens($theme), typography));
|
|
59
|
-
@include token-utils.create-token-values(map.get(m3-optgroup.get-tokens($theme), typography));
|
|
60
|
-
@include token-utils.create-token-values(
|
|
61
|
-
map.get(m3-pseudo-checkbox.get-tokens($theme), typography));
|
|
62
|
-
} @else {
|
|
63
|
-
@include option-theme.typography($theme);
|
|
64
|
-
@include optgroup-theme.typography($theme);
|
|
65
|
-
@include pseudo-checkbox-theme.typography($theme);
|
|
66
|
-
@include ripple-theme.typography($theme);
|
|
47
|
+
$tokens: map.get(m3-app.get-tokens($theme), typography);
|
|
67
48
|
}
|
|
49
|
+
|
|
50
|
+
@include token-utils.values($tokens);
|
|
51
|
+
|
|
52
|
+
@include ripple-theme.typography($theme);
|
|
53
|
+
@include option-theme.typography($theme);
|
|
54
|
+
@include optgroup-theme.typography($theme);
|
|
55
|
+
@include pseudo-checkbox-theme.typography($theme);
|
|
68
56
|
}
|
|
69
57
|
|
|
70
58
|
@mixin density($theme) {
|
|
59
|
+
$tokens: m2-app.get-density-tokens($theme);
|
|
71
60
|
@if inspection.get-theme-version($theme) == 1 {
|
|
72
|
-
|
|
73
|
-
@include token-utils.create-token-values(map.get(m3-ripple.get-tokens($theme), density));
|
|
74
|
-
@include token-utils.create-token-values(map.get(m3-option.get-tokens($theme), density));
|
|
75
|
-
@include token-utils.create-token-values(map.get(m3-optgroup.get-tokens($theme), density));
|
|
76
|
-
@include token-utils.create-token-values(
|
|
77
|
-
map.get(m3-pseudo-checkbox.get-tokens($theme), density));
|
|
78
|
-
} @else {
|
|
79
|
-
@include option-theme.density($theme);
|
|
80
|
-
@include optgroup-theme.density($theme);
|
|
81
|
-
@include pseudo-checkbox-theme.density($theme);
|
|
82
|
-
@include ripple-theme.density($theme);
|
|
61
|
+
$tokens: map.get(m3-app.get-tokens($theme), density);
|
|
83
62
|
}
|
|
63
|
+
|
|
64
|
+
@include token-utils.values($tokens);
|
|
65
|
+
|
|
66
|
+
@include ripple-theme.density($theme);
|
|
67
|
+
@include option-theme.density($theme);
|
|
68
|
+
@include optgroup-theme.density($theme);
|
|
69
|
+
@include pseudo-checkbox-theme.density($theme);
|
|
84
70
|
}
|
|
85
71
|
|
|
86
72
|
@function _define-overrides() {
|
|
@@ -119,26 +105,21 @@
|
|
|
119
105
|
|
|
120
106
|
// Mixin that renders all of the core styles that depend on the theme.
|
|
121
107
|
@mixin theme($theme) {
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
@
|
|
127
|
-
|
|
108
|
+
@if inspection.get-theme-version($theme) == 1 {
|
|
109
|
+
@include base($theme);
|
|
110
|
+
@include color($theme);
|
|
111
|
+
@include density($theme);
|
|
112
|
+
@include typography($theme);
|
|
113
|
+
} @else {
|
|
114
|
+
@include base($theme);
|
|
115
|
+
@if inspection.theme-has($theme, color) {
|
|
128
116
|
@include color($theme);
|
|
117
|
+
}
|
|
118
|
+
@if inspection.theme-has($theme, density) {
|
|
129
119
|
@include density($theme);
|
|
120
|
+
}
|
|
121
|
+
@if inspection.theme-has($theme, typography) {
|
|
130
122
|
@include typography($theme);
|
|
131
|
-
} @else {
|
|
132
|
-
@include base($theme);
|
|
133
|
-
@if inspection.theme-has($theme, color) {
|
|
134
|
-
@include color($theme);
|
|
135
|
-
}
|
|
136
|
-
@if inspection.theme-has($theme, density) {
|
|
137
|
-
@include density($theme);
|
|
138
|
-
}
|
|
139
|
-
@if inspection.theme-has($theme, typography) {
|
|
140
|
-
@include typography($theme);
|
|
141
|
-
}
|
|
142
123
|
}
|
|
143
124
|
}
|
|
144
125
|
}
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
@use 'sass:meta';
|
|
3
3
|
@use '@angular/cdk';
|
|
4
4
|
@use '../style/layout-common';
|
|
5
|
-
@use '../theming/theming';
|
|
6
5
|
@use '../theming/inspection';
|
|
7
6
|
|
|
8
7
|
// Private sass variables that will be used as reference throughout component stylesheets.
|
|
@@ -104,10 +103,8 @@ $default-border-radius: 4px;
|
|
|
104
103
|
@include _customize-focus-indicators((border-color: $theme-or-color));
|
|
105
104
|
}
|
|
106
105
|
@else {
|
|
107
|
-
@
|
|
108
|
-
@
|
|
109
|
-
@include strong-focus-indicators-color($theme-or-color);
|
|
110
|
-
}
|
|
106
|
+
@if inspection.theme-has($theme-or-color, color) {
|
|
107
|
+
@include strong-focus-indicators-color($theme-or-color);
|
|
111
108
|
}
|
|
112
109
|
}
|
|
113
110
|
}
|
package/core/m2/_theming.scss
CHANGED
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
@use 'sass:meta';
|
|
4
4
|
@use 'sass:color';
|
|
5
5
|
@use '../theming/theming';
|
|
6
|
+
@use '../tokens/m2';
|
|
6
7
|
@use './palette';
|
|
7
8
|
|
|
8
9
|
/// Extracts a color from a palette or throws an error if it doesn't exist.
|
|
@@ -113,45 +114,26 @@
|
|
|
113
114
|
@return $theme;
|
|
114
115
|
}
|
|
115
116
|
|
|
116
|
-
@function _define-system($primary, $accent, $warn, $is-dark) {
|
|
117
|
-
$
|
|
118
|
-
primary:
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
on-secondary: map.get($accent, default-contrast),
|
|
122
|
-
error: map.get($warn, default),
|
|
123
|
-
on-error: map.get($warn, default-contrast),
|
|
124
|
-
shadow: black,
|
|
125
|
-
hover-state-layer-opacity: 0.04,
|
|
126
|
-
focus-state-layer-opacity: 0.12,
|
|
127
|
-
pressed-state-layer-opacity: 0.12,
|
|
117
|
+
@function _define-system($primary, $accent, $warn, $is-dark, $typography) {
|
|
118
|
+
$palettes: (
|
|
119
|
+
primary: $primary,
|
|
120
|
+
accent: $accent,
|
|
121
|
+
warn: $warn,
|
|
128
122
|
);
|
|
129
123
|
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
outline-variant: rgba(white, 0.38),
|
|
141
|
-
));
|
|
142
|
-
} @else {
|
|
143
|
-
@return map.merge($system, (
|
|
144
|
-
surface: white,
|
|
145
|
-
surface-variant: #f6f6f6,
|
|
146
|
-
on-surface: rgba(black, 0.87),
|
|
147
|
-
on-surface-variant: rgba(black, 0.54),
|
|
148
|
-
background: map.get(palette.$grey-palette, 50),
|
|
149
|
-
inverse-surface: map.get(palette.$grey-palette, 800),
|
|
150
|
-
inverse-on-surface: white,
|
|
151
|
-
outline: rgba(black, 0.12),
|
|
152
|
-
outline-variant: rgba(black, 0.38),
|
|
153
|
-
));
|
|
124
|
+
$sys-color: if(
|
|
125
|
+
$is-dark,
|
|
126
|
+
m2.md-sys-color-values-dark($palettes),
|
|
127
|
+
m2.md-sys-color-values-light($palettes));
|
|
128
|
+
$sys-state: m2.md-sys-state-values();
|
|
129
|
+
$sys-typography: m2.md-sys-typescale-values($typography);
|
|
130
|
+
|
|
131
|
+
$system: ();
|
|
132
|
+
@each $map in ($sys-color, $sys-state, $sys-typography) {
|
|
133
|
+
$system: map.merge($system, $map);
|
|
154
134
|
}
|
|
135
|
+
|
|
136
|
+
@return $system;
|
|
155
137
|
}
|
|
156
138
|
|
|
157
139
|
// Creates a color configuration from the specified
|
|
@@ -201,7 +183,13 @@
|
|
|
201
183
|
);
|
|
202
184
|
|
|
203
185
|
$theme: _internalize-theme(theming.private-create-backwards-compatibility-theme($theme));
|
|
204
|
-
$
|
|
186
|
+
$system: _define-system(
|
|
187
|
+
$primary: $primary,
|
|
188
|
+
$accent: $accent,
|
|
189
|
+
$warn: $warn,
|
|
190
|
+
$is-dark: $is-dark,
|
|
191
|
+
$typography: ());
|
|
192
|
+
$theme: map.set($theme, _mat-system, $system);
|
|
205
193
|
@return $theme;
|
|
206
194
|
}
|
|
207
195
|
// If the map pattern is used (1), we just pass-through the configurations for individual
|
|
@@ -223,10 +211,13 @@
|
|
|
223
211
|
$theme: _internalize-theme(
|
|
224
212
|
theming.private-create-backwards-compatibility-theme(_mat-validate-theme($result))
|
|
225
213
|
);
|
|
226
|
-
$
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
214
|
+
$system: _define-system(
|
|
215
|
+
$primary: map.get($result, primary) or map.get($result, color, primary) or (),
|
|
216
|
+
$accent: map.get($result, accent) or map.get($result, color, accent) or (),
|
|
217
|
+
$warn: map.get($result, warn) or map.get($result, color, warn) or (),
|
|
218
|
+
$is-dark: $is-dark,
|
|
219
|
+
$typography: map.get($result, typography) or ());
|
|
220
|
+
$theme: map.set($theme, _mat-system, $system);
|
|
230
221
|
@return $theme;
|
|
231
222
|
}
|
|
232
223
|
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
@use '../theming/inspection';
|
|
2
1
|
@use '../tokens/m2-utils';
|
|
3
2
|
@use 'sass:map';
|
|
4
3
|
|
|
@@ -18,12 +17,13 @@
|
|
|
18
17
|
|
|
19
18
|
// Tokens that can be configured through Angular Material's typography theming API.
|
|
20
19
|
@function get-typography-tokens($theme) {
|
|
20
|
+
$system: m2-utils.get-system($theme);
|
|
21
21
|
@return (
|
|
22
|
-
optgroup-label-text-font:
|
|
23
|
-
optgroup-label-text-line-height:
|
|
24
|
-
optgroup-label-text-size:
|
|
25
|
-
optgroup-label-text-tracking:
|
|
26
|
-
optgroup-label-text-weight:
|
|
22
|
+
optgroup-label-text-font: map.get($system, body-large-font),
|
|
23
|
+
optgroup-label-text-line-height: map.get($system, body-large-line-height),
|
|
24
|
+
optgroup-label-text-size: map.get($system, body-large-size),
|
|
25
|
+
optgroup-label-text-tracking: map.get($system, body-large-tracking),
|
|
26
|
+
optgroup-label-text-weight: map.get($system, body-large-weight)
|
|
27
27
|
);
|
|
28
28
|
}
|
|
29
29
|
|
|
@@ -29,12 +29,13 @@
|
|
|
29
29
|
|
|
30
30
|
// Tokens that can be configured through Angular Material's typography theming API.
|
|
31
31
|
@function get-typography-tokens($theme) {
|
|
32
|
+
$system: m2-utils.get-system($theme);
|
|
32
33
|
@return (
|
|
33
|
-
option-label-text-font:
|
|
34
|
-
option-label-text-line-height:
|
|
35
|
-
option-label-text-size:
|
|
36
|
-
option-label-text-tracking:
|
|
37
|
-
option-label-text-weight:
|
|
34
|
+
option-label-text-font: map.get($system, body-large-font),
|
|
35
|
+
option-label-text-line-height: map.get($system, body-large-line-height),
|
|
36
|
+
option-label-text-size: map.get($system, body-large-size),
|
|
37
|
+
option-label-text-tracking: map.get($system, body-large-tracking),
|
|
38
|
+
option-label-text-weight: map.get($system, body-large-weight)
|
|
38
39
|
);
|
|
39
40
|
}
|
|
40
41
|
|