Skip to content

Commit 381ef83

Browse files
Migrate GUI colors test to original CSS color format
1 parent 08ca824 commit 381ef83

File tree

1 file changed

+36
-36
lines changed

1 file changed

+36
-36
lines changed

tests/rustdoc-gui/links-color.goml

+36-36
Original file line numberDiff line numberDiff line change
@@ -46,53 +46,53 @@ call-function: (
4646
"check-colors",
4747
{
4848
"theme": "ayu",
49-
"mod": "rgb(57, 175, 215)",
50-
"macro": "rgb(163, 122, 204)",
51-
"struct": "rgb(255, 160, 165)",
52-
"enum": "rgb(255, 160, 165)",
53-
"trait": "rgb(57, 175, 215)",
54-
"fn": "rgb(253, 214, 135)",
55-
"type": "rgb(255, 160, 165)",
56-
"union": "rgb(255, 160, 165)",
57-
"keyword": "rgb(57, 175, 215)",
58-
"sidebar": "rgb(83, 177, 219)",
59-
"sidebar_current": "rgb(255, 180, 76)",
60-
"sidebar_current_background": "rgba(0, 0, 0, 0)",
49+
"mod": "#39afd7",
50+
"macro": "#a37acc",
51+
"struct": "#ffa0a5",
52+
"enum": "#ffa0a5",
53+
"trait": "#39afd7",
54+
"fn": "#fdd687",
55+
"type": "#ffa0a5",
56+
"union": "#ffa0a5",
57+
"keyword": "#39afd7",
58+
"sidebar": "#53b1db",
59+
"sidebar_current": "#ffb44c",
60+
"sidebar_current_background": "transparent",
6161
},
6262
)
6363
call-function: (
6464
"check-colors",
6565
{
6666
"theme": "dark",
67-
"mod": "rgb(210, 153, 29)",
68-
"macro": "rgb(9, 189, 0)",
69-
"struct": "rgb(45, 191, 184)",
70-
"enum": "rgb(45, 191, 184)",
71-
"trait": "rgb(183, 140, 242)",
72-
"fn": "rgb(43, 171, 99)",
73-
"type": "rgb(45, 191, 184)",
74-
"union": "rgb(45, 191, 184)",
75-
"keyword": "rgb(210, 153, 29)",
76-
"sidebar": "rgb(253, 191, 53)",
77-
"sidebar_current": "rgb(253, 191, 53)",
78-
"sidebar_current_background": "rgb(68, 68, 68)",
67+
"mod": "#d2991d",
68+
"macro": "#09bd00",
69+
"struct": "#2dbfb8",
70+
"enum": "#2dbfb8",
71+
"trait": "#b78cf2",
72+
"fn": "#2bab63",
73+
"type": "#2dbfb8",
74+
"union": "#2dbfb8",
75+
"keyword": "#d2991d",
76+
"sidebar": "#fdbf35",
77+
"sidebar_current": "#fdbf35",
78+
"sidebar_current_background": "#444",
7979
},
8080
)
8181
call-function: (
8282
"check-colors",
8383
{
8484
"theme": "light",
85-
"mod": "rgb(56, 115, 173)",
86-
"macro": "rgb(6, 128, 0)",
87-
"struct": "rgb(173, 55, 138)",
88-
"enum": "rgb(173, 55, 138)",
89-
"trait": "rgb(110, 79, 201)",
90-
"fn": "rgb(173, 124, 55)",
91-
"type": "rgb(173, 55, 138)",
92-
"union": "rgb(173, 55, 138)",
93-
"keyword": "rgb(56, 115, 173)",
94-
"sidebar": "rgb(53, 109, 164)",
95-
"sidebar_current": "rgb(53, 109, 164)",
96-
"sidebar_current_background": "rgb(255, 255, 255)",
85+
"mod": "#3873ad",
86+
"macro": "#068000",
87+
"struct": "#ad378a",
88+
"enum": "#ad378a",
89+
"trait": "#6e4fc9",
90+
"fn": "#ad7c37",
91+
"type": "#ad378a",
92+
"union": "#ad378a",
93+
"keyword": "#3873ad",
94+
"sidebar": "#356da4",
95+
"sidebar_current": "#356da4",
96+
"sidebar_current_background": "#fff",
9797
},
9898
)

0 commit comments

Comments
 (0)