Skip to content

Commit 03a3d24

Browse files
Migrate GUI colors test to original CSS color format
1 parent 87a0efb commit 03a3d24

File tree

1 file changed

+24
-24
lines changed

1 file changed

+24
-24
lines changed

tests/rustdoc-gui/search-form-elements.goml

+24-24
Original file line numberDiff line numberDiff line change
@@ -99,41 +99,41 @@ call-function: (
9999
"check-search-colors",
100100
{
101101
"theme": "ayu",
102-
"border": "rgb(92, 103, 115)",
103-
"background": "rgb(20, 25, 32)",
104-
"search_input_color": "rgb(255, 255, 255)",
105-
"search_input_border_focus": "rgb(92, 103, 115)",
106-
"menu_button_border": "rgb(197, 197, 197)",
107-
"menu_button_a_color": "rgb(255, 255, 255)",
108-
"menu_button_a_border_hover": "rgb(224, 224, 224)",
109-
"menu_a_color": "rgb(57, 175, 215)",
102+
"border": "#5c6773",
103+
"background": "#141920",
104+
"search_input_color": "#fff",
105+
"search_input_border_focus": "#5c6773",
106+
"menu_button_border": "#c5c5c5",
107+
"menu_button_a_color": "#fff",
108+
"menu_button_a_border_hover": "#e0e0e0",
109+
"menu_a_color": "#39afd7",
110110
}
111111
)
112112
call-function: (
113113
"check-search-colors",
114114
{
115115
"theme": "dark",
116-
"border": "rgb(224, 224, 224)",
117-
"background": "rgb(240, 240, 240)",
118-
"search_input_color": "rgb(17, 17, 17)",
119-
"search_input_border_focus": "rgb(0, 141, 253)",
120-
"menu_button_border": "rgb(221, 221, 221)",
121-
"menu_button_a_color": "rgb(0, 0, 0)",
122-
"menu_button_a_border_hover": "rgb(255, 185, 0)",
123-
"menu_a_color": "rgb(210, 153, 29)",
116+
"border": "#e0e0e0",
117+
"background": "#f0f0f0",
118+
"search_input_color": "#111",
119+
"search_input_border_focus": "#008dfd",
120+
"menu_button_border": "#ddd",
121+
"menu_button_a_color": "#000",
122+
"menu_button_a_border_hover": "#ffb900",
123+
"menu_a_color": "#d2991d",
124124
}
125125
)
126126
call-function: (
127127
"check-search-colors",
128128
{
129129
"theme": "light",
130-
"border": "rgb(224, 224, 224)",
131-
"background": "rgb(255, 255, 255)",
132-
"search_input_color": "rgb(0, 0, 0)",
133-
"search_input_border_focus": "rgb(102, 175, 233)",
134-
"menu_button_border": "rgb(0, 0, 0)",
135-
"menu_button_a_color": "rgb(0, 0, 0)",
136-
"menu_button_a_border_hover": "rgb(113, 113, 113)",
137-
"menu_a_color": "rgb(56, 115, 173)",
130+
"border": "#e0e0e0",
131+
"background": "#fff",
132+
"search_input_color": "#000",
133+
"search_input_border_focus": "#66afe9",
134+
"menu_button_border": "#000",
135+
"menu_button_a_color": "#000",
136+
"menu_button_a_border_hover": "#717171",
137+
"menu_a_color": "#3873ad",
138138
}
139139
)

0 commit comments

Comments
 (0)