File tree 2 files changed +9
-2
lines changed
2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 100
100
}
101
101
102
102
.item-padding {
103
- padding-block : 8px ;
103
+ padding-block : map .get ($tokens , ' top-space' )
104
+ map .get ($tokens , ' bottom-space' );
104
105
}
105
106
106
107
.has-overflow :not ([popover ]) .items {
Original file line number Diff line number Diff line change 16
16
17
17
$supported-tokens : (
18
18
// go/keep-sorted start
19
+ ' bottom-space' ,
19
20
' container-color' ,
20
21
' container-elevation' ,
21
22
' container-shadow-color' ,
22
23
' container-shape' ,
24
+ ' top-space' ,
23
25
// go/keep-sorted end
24
26
);
25
27
@@ -46,7 +48,11 @@ $_default: (
46
48
$tokens : validate .values (
47
49
md-comp-menu .values ($deps ),
48
50
$supported-tokens : $supported-tokens ,
49
- $unsupported-tokens : $unsupported-tokens
51
+ $unsupported-tokens : $unsupported-tokens ,
52
+ $new-tokens : (
53
+ ' top-space' : if ($exclude-hardcoded-values , null , 8px ),
54
+ ' bottom-space' : if ($exclude-hardcoded-values , null , 8px ),
55
+ )
50
56
);
51
57
52
58
@if not $exclude-custom-properties {
You can’t perform that action at this time.
0 commit comments