Skip to content

Commit ad5955b

Browse files
Migrate GUI colors test to original CSS color format
1 parent c2ccc85 commit ad5955b

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

tests/rustdoc-gui/source-code-page.goml

+11-11
Original file line numberDiff line numberDiff line change
@@ -40,24 +40,24 @@ define-function: (
4040

4141
call-function: ("check-colors", {
4242
"theme": "ayu",
43-
"color": "rgb(92, 103, 115)",
44-
"background_color": "rgba(0, 0, 0, 0)",
45-
"highlight_color": "rgb(112, 128, 144)",
43+
"color": "#5c6773",
44+
"background_color": "transparent",
45+
"highlight_color": "#708090",
4646
"highlight_background_color": "rgba(255, 236, 164, 0.06)",
4747
})
4848
call-function: ("check-colors", {
4949
"theme": "dark",
50-
"color": "rgb(59, 145, 226)",
51-
"background_color": "rgba(0, 0, 0, 0)",
52-
"highlight_color": "rgb(59, 145, 226)",
53-
"highlight_background_color": "rgb(10, 4, 47)",
50+
"color": "#3b91e2",
51+
"background_color": "transparent",
52+
"highlight_color": "#3b91e2",
53+
"highlight_background_color": "#0a042f",
5454
})
5555
call-function: ("check-colors", {
5656
"theme": "light",
57-
"color": "rgb(198, 126, 45)",
58-
"background_color": "rgba(0, 0, 0, 0)",
59-
"highlight_color": "rgb(198, 126, 45)",
60-
"highlight_background_color": "rgb(253, 255, 211)",
57+
"color": "#c67e2d",
58+
"background_color": "transparent",
59+
"highlight_color": "#c67e2d",
60+
"highlight_background_color": "#fdffd3",
6161
})
6262

6363
// This is to ensure that the content is correctly align with the line numbers.

0 commit comments

Comments
 (0)