Skip to content

Commit ead52de

Browse files
committed
Updated _search colors
1 parent ac34f4d commit ead52de

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

pkg/web_css/lib/src/_search.scss

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@
112112
width: 25ex;
113113
border: 1px solid #000;
114114
max-height: 20em;
115-
background-color: #fff;
115+
background-color: var(--pub-default-background-color);
116116
font-size: 16px;
117117
margin-left: 48px; // counter padding-left on .search-bar>.input
118118
margin-top: -14px; // counter padding-top on .search-bar>.input
@@ -124,10 +124,10 @@
124124
}
125125

126126
>.completion-option-selected {
127-
background-color: #ccc;
127+
background-color: var(--pub-search_completition_selected-background-color);
128128

129129
&:hover {
130-
background-color: #ccc;
130+
background-color: var(--pub-search_completition_selected-background-color);
131131
}
132132
}
133133
}

pkg/web_css/lib/src/_variables.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@
5252
--pub-report-hover-background-color: #f0f0f0;
5353
--pub-score_label-text-color: #6d7278;
5454
--pub-score_value-text-color: var(--pub-link-text-color);
55+
--pub-search_completition_selected-background-color: #ccc;
5556
--pub-session_warning-background-color: #ffffaa;
5657
--pub-sort_control-background-color: #ffffff;
5758
--pub-sort_control-text-color: var(--pub-default-text-color);

0 commit comments

Comments
 (0)