Skip to content

Commit 39bc218

Browse files
committed
Tone down result hover background color
Additionally, use brand blue as the selected color for search results
1 parent d2d68a0 commit 39bc218

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

styles/theme-medium.css

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -621,11 +621,14 @@ div.warning a:focus {
621621
}
622622

623623
.search-modal__result:hover {
624-
background-color: var(--dark-blue-color);
624+
/* Simulates 33% opacity by blending --dark-blue-color with --dark-grey-color.
625+
* TODO: Use rgb(var(--dark-blue-color) / 33%) once widely supported.
626+
* More info: https://caniuse.com/mdn-css_types_color_rgb_relative_syntax */
627+
background-color: #3c4053;
625628
}
626629

627630
.search-modal__result[aria-selected="true"] {
628-
background-color: var(--dark-magenta-color);
631+
background-color: var(--dark-blue-color);
629632
}
630633

631634
.search-modal__result-content {

0 commit comments

Comments
 (0)