File tree Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change 49
49
chip- selected- label- text- color: map .get ($system , on-secondary-container ),
50
50
chip- selected- trailing- action- state- layer- color: map .get ($system , on-secondary-container ),
51
51
chip- selected- trailing- icon- color: map .get ($system , on-secondary-container ),
52
- chip- trailing- action- focus- state- layer- opacity: map .get ($system , focus-state-layer-opacity ),
53
- chip- trailing- action- hover- state- layer- opacity: map .get ($system , hover-state-layer-opacity ),
52
+ // The parent chips will show hover state as well so need stronger hover styling here
53
+ chip- trailing- action- focus- state- layer- opacity:
54
+ calc (map .get ($system , focus-state-layer-opacity ) * 2 ),
55
+ chip- trailing- action- hover- state- layer- opacity:
56
+ calc (map .get ($system , hover-state-layer-opacity ) * 2 ),
54
57
chip- trailing- action- state- layer- color: map .get ($system , on-surface-variant ),
55
58
chip- with- icon- disabled- icon- color: map .get ($system , on-surface ),
56
59
chip- with- icon- icon- color: map .get ($system , on-surface-variant ),
Original file line number Diff line number Diff line change @@ -530,14 +530,12 @@ $fallbacks: m3-chip.get-tokens();
530
530
background-color : token-utils .slot (chip-trailing-action-state-layer-color , $fallbacks );
531
531
}
532
532
533
- // The parent chips will show hover state as well so need stronger hover styling here
534
533
& :hover ::after {
535
- opacity : calc ( token-utils .slot (chip-trailing-action-hover-state-layer-opacity , $fallbacks ) * 2 );
534
+ opacity : token-utils .slot (chip-trailing-action-hover-state-layer-opacity , $fallbacks );
536
535
}
537
536
538
- // The parent chips will show focus state as well so need stronger focus styling here
539
537
& :focus ::after {
540
- opacity : calc ( token-utils .slot (chip-trailing-action-focus-state-layer-opacity , $fallbacks ) * 2 );
538
+ opacity : token-utils .slot (chip-trailing-action-focus-state-layer-opacity , $fallbacks );
541
539
}
542
540
}
543
541
You can’t perform that action at this time.
0 commit comments