Skip to content
This repository was archived by the owner on Sep 5, 2024. It is now read-only.

Commit d5863b8

Browse files
committed
fix(select): in popup, hover and focus background colors are the same
- use a similar approach to the one used by MDC - the opacity values are slightly different because they use `#000` and we use `rgba(0, 0, 0, 0.87)` Fixes #9851
1 parent 3cf78a7 commit d5863b8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/components/select/select-theme.scss

+3-1
Original file line numberDiff line numberDiff line change
@@ -153,8 +153,10 @@ md-select-menu.md-THEME_NAME-theme {
153153
}
154154

155155
&:not([disabled]) {
156+
&:hover {
157+
background-color: '{{background-500-0.10}}'
158+
}
156159
&:focus,
157-
&:hover,
158160
&.md-focused {
159161
background-color: '{{background-500-0.18}}'
160162
}

0 commit comments

Comments
 (0)