Skip to content

Commit d70faf3

Browse files
Fix failing rustdoc GUI test
1 parent 616469a commit d70faf3

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tests/rustdoc-gui/search-result-color.goml

+4-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ define-function: (
3131
// color of the typename (struct, module, method, ...) before search results
3232
assert-css: (
3333
".result-name .typename",
34-
{"color": "#888"},
34+
{"color": |grey|},
3535
ALL,
3636
)
3737
},
@@ -75,6 +75,7 @@ store-value: (entry_color, "#0096cf") // color of the search entry
7575
store-value: (hover_entry_color, "#fff") // color of the hovered/focused search entry
7676
store-value: (background_color, "transparent") // background color
7777
store-value: (hover_background_color, "#3c3c3c") // hover background color
78+
store-value: (grey, "#999")
7879

7980
call-function: (
8081
"check-result-color", (
@@ -186,6 +187,7 @@ store-value: (entry_color, "#ddd") // color of the search entry
186187
store-value: (hover_entry_color, "#ddd") // color of the hovered/focused search entry
187188
store-value: (background_color, "transparent") // background color
188189
store-value: (hover_background_color, "#616161") // hover background color
190+
store-value: (grey, "#ccc")
189191

190192
call-function: (
191193
"check-result-color", (
@@ -282,6 +284,7 @@ store-value: (entry_color, "#000") // color of the search entry
282284
store-value: (hover_entry_color, "#000") // color of the hovered/focused search entry
283285
store-value: (background_color, "transparent") // background color
284286
store-value: (hover_background_color, "#ccc") // hover background color
287+
store-value: (grey, "#999")
285288

286289
call-function: (
287290
"check-result-color", (

0 commit comments

Comments
 (0)