Skip to content

Commit cb0c299

Browse files
committed
Auto merge of #114755 - GuillaumeGomez:migrate-gui-test-color-31, r=notriddle
Migrate GUI colors test to original CSS color format Follow-up of #111459. r? `@notriddle`
2 parents 49af618 + 611c0ea commit cb0c299

File tree

1 file changed

+63
-63
lines changed

1 file changed

+63
-63
lines changed

Diff for: tests/rustdoc-gui/sidebar-links-color.goml

+63-63
Original file line numberDiff line numberDiff line change
@@ -92,80 +92,80 @@ call-function: (
9292
"check-colors",
9393
{
9494
"theme": "ayu",
95-
"struct": "rgb(83, 177, 219)",
96-
"struct_hover": "rgb(255, 180, 76)",
97-
"struct_hover_background": "rgba(0, 0, 0, 0)",
98-
"enum": "rgb(83, 177, 219)",
99-
"enum_hover": "rgb(255, 180, 76)",
100-
"enum_hover_background": "rgba(0, 0, 0, 0)",
101-
"union": "rgb(83, 177, 219)",
102-
"union_hover": "rgb(255, 180, 76)",
103-
"union_hover_background": "rgba(0, 0, 0, 0)",
104-
"trait": "rgb(83, 177, 219)",
105-
"trait_hover": "rgb(255, 180, 76)",
106-
"trait_hover_background": "rgba(0, 0, 0, 0)",
107-
"fn": "rgb(83, 177, 219)",
108-
"fn_hover": "rgb(255, 180, 76)",
109-
"fn_hover_background": "rgba(0, 0, 0, 0)",
110-
"type": "rgb(83, 177, 219)",
111-
"type_hover": "rgb(255, 180, 76)",
112-
"type_hover_background": "rgba(0, 0, 0, 0)",
113-
"keyword": "rgb(83, 177, 219)",
114-
"keyword_hover": "rgb(255, 180, 76)",
115-
"keyword_hover_background": "rgba(0, 0, 0, 0)",
95+
"struct": "#53b1db",
96+
"struct_hover": "#ffb44c",
97+
"struct_hover_background": "transparent",
98+
"enum": "#53b1db",
99+
"enum_hover": "#ffb44c",
100+
"enum_hover_background": "transparent",
101+
"union": "#53b1db",
102+
"union_hover": "#ffb44c",
103+
"union_hover_background": "transparent",
104+
"trait": "#53b1db",
105+
"trait_hover": "#ffb44c",
106+
"trait_hover_background": "transparent",
107+
"fn": "#53b1db",
108+
"fn_hover": "#ffb44c",
109+
"fn_hover_background": "transparent",
110+
"type": "#53b1db",
111+
"type_hover": "#ffb44c",
112+
"type_hover_background": "transparent",
113+
"keyword": "#53b1db",
114+
"keyword_hover": "#ffb44c",
115+
"keyword_hover_background": "transparent",
116116
}
117117
)
118118
call-function: (
119119
"check-colors",
120120
{
121121
"theme": "dark",
122-
"struct": "rgb(253, 191, 53)",
123-
"struct_hover": "rgb(253, 191, 53)",
124-
"struct_hover_background": "rgb(68, 68, 68)",
125-
"enum": "rgb(253, 191, 53)",
126-
"enum_hover": "rgb(253, 191, 53)",
127-
"enum_hover_background": "rgb(68, 68, 68)",
128-
"union": "rgb(253, 191, 53)",
129-
"union_hover": "rgb(253, 191, 53)",
130-
"union_hover_background": "rgb(68, 68, 68)",
131-
"trait": "rgb(253, 191, 53)",
132-
"trait_hover": "rgb(253, 191, 53)",
133-
"trait_hover_background": "rgb(68, 68, 68)",
134-
"fn": "rgb(253, 191, 53)",
135-
"fn_hover": "rgb(253, 191, 53)",
136-
"fn_hover_background": "rgb(68, 68, 68)",
137-
"type": "rgb(253, 191, 53)",
138-
"type_hover": "rgb(253, 191, 53)",
139-
"type_hover_background": "rgb(68, 68, 68)",
140-
"keyword": "rgb(253, 191, 53)",
141-
"keyword_hover": "rgb(253, 191, 53)",
142-
"keyword_hover_background": "rgb(68, 68, 68)",
122+
"struct": "#fdbf35",
123+
"struct_hover": "#fdbf35",
124+
"struct_hover_background": "#444",
125+
"enum": "#fdbf35",
126+
"enum_hover": "#fdbf35",
127+
"enum_hover_background": "#444",
128+
"union": "#fdbf35",
129+
"union_hover": "#fdbf35",
130+
"union_hover_background": "#444",
131+
"trait": "#fdbf35",
132+
"trait_hover": "#fdbf35",
133+
"trait_hover_background": "#444",
134+
"fn": "#fdbf35",
135+
"fn_hover": "#fdbf35",
136+
"fn_hover_background": "#444",
137+
"type": "#fdbf35",
138+
"type_hover": "#fdbf35",
139+
"type_hover_background": "#444",
140+
"keyword": "#fdbf35",
141+
"keyword_hover": "#fdbf35",
142+
"keyword_hover_background": "#444",
143143
}
144144
)
145145
call-function: (
146146
"check-colors",
147147
{
148148
"theme": "light",
149-
"struct": "rgb(53, 109, 164)",
150-
"struct_hover": "rgb(53, 109, 164)",
151-
"struct_hover_background": "rgb(255, 255, 255)",
152-
"enum": "rgb(53, 109, 164)",
153-
"enum_hover": "rgb(53, 109, 164)",
154-
"enum_hover_background": "rgb(255, 255, 255)",
155-
"union": "rgb(53, 109, 164)",
156-
"union_hover": "rgb(53, 109, 164)",
157-
"union_hover_background": "rgb(255, 255, 255)",
158-
"trait": "rgb(53, 109, 164)",
159-
"trait_hover": "rgb(53, 109, 164)",
160-
"trait_hover_background": "rgb(255, 255, 255)",
161-
"fn": "rgb(53, 109, 164)",
162-
"fn_hover": "rgb(53, 109, 164)",
163-
"fn_hover_background": "rgb(255, 255, 255)",
164-
"type": "rgb(53, 109, 164)",
165-
"type_hover": "rgb(53, 109, 164)",
166-
"type_hover_background": "rgb(255, 255, 255)",
167-
"keyword": "rgb(53, 109, 164)",
168-
"keyword_hover": "rgb(53, 109, 164)",
169-
"keyword_hover_background": "rgb(255, 255, 255)",
149+
"struct": "#356da4",
150+
"struct_hover": "#356da4",
151+
"struct_hover_background": "#fff",
152+
"enum": "#356da4",
153+
"enum_hover": "#356da4",
154+
"enum_hover_background": "#fff",
155+
"union": "#356da4",
156+
"union_hover": "#356da4",
157+
"union_hover_background": "#fff",
158+
"trait": "#356da4",
159+
"trait_hover": "#356da4",
160+
"trait_hover_background": "#fff",
161+
"fn": "#356da4",
162+
"fn_hover": "#356da4",
163+
"fn_hover_background": "#fff",
164+
"type": "#356da4",
165+
"type_hover": "#356da4",
166+
"type_hover_background": "#fff",
167+
"keyword": "#356da4",
168+
"keyword_hover": "#356da4",
169+
"keyword_hover_background": "#fff",
170170
}
171171
)

0 commit comments

Comments
 (0)