Skip to content

Commit c7847e9

Browse files
Migrate GUI colors test to original CSS color format
1 parent b4591cb commit c7847e9

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

tests/rustdoc-gui/notable-trait.goml

+15-15
Original file line numberDiff line numberDiff line change
@@ -175,35 +175,35 @@ call-function: (
175175
"check-colors",
176176
{
177177
"theme": "ayu",
178-
"link_color": "rgb(57, 175, 215)",
179-
"content_color": "rgb(230, 225, 207)",
180-
"header_color": "rgb(255, 255, 255)",
181-
"type_color": "rgb(255, 160, 165)",
182-
"trait_color": "rgb(57, 175, 215)",
178+
"link_color": "#39afd7",
179+
"content_color": "#e6e1cf",
180+
"header_color": "#fff",
181+
"type_color": "#ffa0a5",
182+
"trait_color": "#39afd7",
183183
},
184184
)
185185

186186
call-function: (
187187
"check-colors",
188188
{
189189
"theme": "dark",
190-
"link_color": "rgb(210, 153, 29)",
191-
"content_color": "rgb(221, 221, 221)",
192-
"header_color": "rgb(221, 221, 221)",
193-
"type_color": "rgb(45, 191, 184)",
194-
"trait_color": "rgb(183, 140, 242)",
190+
"link_color": "#d2991d",
191+
"content_color": "#ddd",
192+
"header_color": "#ddd",
193+
"type_color": "#2dbfb8",
194+
"trait_color": "#b78cf2",
195195
},
196196
)
197197

198198
call-function: (
199199
"check-colors",
200200
{
201201
"theme": "light",
202-
"link_color": "rgb(56, 115, 173)",
203-
"content_color": "rgb(0, 0, 0)",
204-
"header_color": "rgb(0, 0, 0)",
205-
"type_color": "rgb(173, 55, 138)",
206-
"trait_color": "rgb(110, 79, 201)",
202+
"link_color": "#3873ad",
203+
"content_color": "black",
204+
"header_color": "black",
205+
"type_color": "#ad378a",
206+
"trait_color": "#6e4fc9",
207207
},
208208
)
209209

0 commit comments

Comments
 (0)