Skip to content

Commit bfd7a47

Browse files
committed
feat(material/menu): add focus state styles for menu items
1 parent fe167d5 commit bfd7a47

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/material/menu/menu.scss

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,12 @@ mat-menu {
203203
&:hover {
204204
background-color: token-utils.slot(item-hover-state-layer-color);
205205
}
206+
207+
&.cdk-program-focused,
208+
&.cdk-keyboard-focused,
209+
&.mat-mdc-menu-item-highlighted {
210+
background-color: token-utils.slot(item-focus-state-layer-color);
211+
}
206212
}
207213
}
208214
}

0 commit comments

Comments
 (0)