Skip to content

Commit

Permalink
tests: add test for color of item kind
Browse files Browse the repository at this point in the history
  • Loading branch information
poliorcetics committed Jun 20, 2023
1 parent 1a94b06 commit c3cdf85
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/rustdoc-gui/search-result-color.goml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,12 @@ define-function: (
".result-" + |result_kind| + ":focus ." + |result_kind|,
{"color": |hover_color|},
)
// color of the typename (struct, module, method, ...) before search results
assert-css: (
".result-name .typename",
{"color": "#888"},
ALL,
)
},
)

Expand Down

0 comments on commit c3cdf85

Please sign in to comment.