We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5b40271 commit f953e89Copy full SHA for f953e89
src/material/core/option/option.scss
@@ -6,6 +6,7 @@
6
@use '../style/layout-common';
7
8
$fallbacks: m3-option.get-tokens();
9
+$list-fallbacks: m3-list.get-tokens();
10
11
$_side-padding: 16px;
12
@@ -40,6 +41,11 @@ $_side-padding: 16px;
40
41
outline: 0;
42
}
43
44
+ &.mat-mdc-option-active.mdc-list-item::before {
45
+ background-color: token-utils.slot(list-list-item-focus-state-layer-color, $list-fallbacks);
46
+ opacity: token-utils.slot(list-list-item-focus-state-layer-opacity, $list-fallbacks);
47
+ }
48
+
49
&.mdc-list-item--selected:not(.mdc-list-item--disabled) {
50
// We don't change the background & text color in multiple mode since
51
// it has the checkbox to show the selected state.
0 commit comments