Skip to content

Commit 245d351

Browse files
Migrate GUI colors test to original CSS color format
1 parent 611c0ea commit 245d351

File tree

1 file changed

+26
-26
lines changed

1 file changed

+26
-26
lines changed

Diff for: tests/rustdoc-gui/search-tab.goml

+26-26
Original file line numberDiff line numberDiff line change
@@ -40,37 +40,37 @@ define-function: (
4040

4141
call-function: ("check-colors", {
4242
"theme": "ayu",
43-
"background": "rgba(0, 0, 0, 0)",
44-
"background_selected": "rgb(20, 25, 32)",
45-
"background_hover": "rgba(0, 0, 0, 0)",
46-
"border_bottom": "0px none rgb(197, 197, 197)",
47-
"border_bottom_selected": "1px solid rgb(255, 180, 76)",
43+
"background": "transparent",
44+
"background_selected": "#141920",
45+
"background_hover": "transparent",
46+
"border_bottom": "0px none #c5c5c5",
47+
"border_bottom_selected": "1px solid #ffb44c",
4848
"border_bottom_hover": "1px solid rgba(242, 151, 24, 0.3)",
49-
"border_top": "0px none rgb(197, 197, 197)",
50-
"border_top_selected": "0px none rgb(197, 197, 197)",
51-
"border_top_hover": "0px none rgb(197, 197, 197)",
49+
"border_top": "0px none #c5c5c5",
50+
"border_top_selected": "0px none #c5c5c5",
51+
"border_top_hover": "0px none #c5c5c5",
5252
})
5353
call-function: ("check-colors", {
5454
"theme": "dark",
55-
"background": "rgb(37, 37, 37)",
56-
"background_selected": "rgb(53, 53, 53)",
57-
"background_hover": "rgb(53, 53, 53)",
58-
"border_bottom": "0px none rgb(221, 221, 221)",
59-
"border_bottom_selected": "0px none rgb(221, 221, 221)",
60-
"border_bottom_hover": "0px none rgb(221, 221, 221)",
61-
"border_top": "2px solid rgb(37, 37, 37)",
62-
"border_top_selected": "2px solid rgb(0, 137, 255)",
63-
"border_top_hover": "2px solid rgb(0, 137, 255)",
55+
"background": "#252525",
56+
"background_selected": "#353535",
57+
"background_hover": "#353535",
58+
"border_bottom": "0px none #ddd",
59+
"border_bottom_selected": "0px none #ddd",
60+
"border_bottom_hover": "0px none #ddd",
61+
"border_top": "2px solid #252525",
62+
"border_top_selected": "2px solid #0089ff",
63+
"border_top_hover": "2px solid #0089ff",
6464
})
6565
call-function: ("check-colors", {
6666
"theme": "light",
67-
"background": "rgb(230, 230, 230)",
68-
"background_selected": "rgb(255, 255, 255)",
69-
"background_hover": "rgb(255, 255, 255)",
70-
"border_bottom": "0px none rgb(0, 0, 0)",
71-
"border_bottom_selected": "0px none rgb(0, 0, 0)",
72-
"border_bottom_hover": "0px none rgb(0, 0, 0)",
73-
"border_top": "2px solid rgb(230, 230, 230)",
74-
"border_top_selected": "2px solid rgb(0, 137, 255)",
75-
"border_top_hover": "2px solid rgb(0, 137, 255)",
67+
"background": "#e6e6e6",
68+
"background_selected": "#fff",
69+
"background_hover": "#fff",
70+
"border_bottom": "0px none #000",
71+
"border_bottom_selected": "0px none #000",
72+
"border_bottom_hover": "0px none #000",
73+
"border_top": "2px solid #e6e6e6",
74+
"border_top_selected": "2px solid #0089ff",
75+
"border_top_hover": "2px solid #0089ff",
7676
})

0 commit comments

Comments
 (0)