Skip to content

Commit a7f0900

Browse files
Rollup merge of #114475 - GuillaumeGomez:migrate-gui-test-color-27, r=notriddle
Migrate GUI colors test to original CSS color format Follow-up of #111459. r? `@notriddle`
2 parents 097a498 + 85ed2fe commit a7f0900

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

Diff for: src/librustdoc/html/static/css/themes/dark.css

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868
--test-arrow-color: #dedede;
6969
--test-arrow-background-color: rgba(78, 139, 202, 0.2);
7070
--test-arrow-hover-color: #dedede;
71-
--test-arrow-hover-background-color: #4e8bca;
71+
--test-arrow-hover-background-color: rgb(78, 139, 202);
7272
--target-background-color: #494a3d;
7373
--target-border-color: #bb7410;
7474
--kbd-color: #000;

Diff for: src/librustdoc/html/static/css/themes/light.css

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868
--test-arrow-color: #f5f5f5;
6969
--test-arrow-background-color: rgba(78, 139, 202, 0.2);
7070
--test-arrow-hover-color: #f5f5f5;
71-
--test-arrow-hover-background-color: #4e8bca;
71+
--test-arrow-hover-background-color: rgb(78, 139, 202);
7272
--target-background-color: #fdffd3;
7373
--target-border-color: #ad7c37;
7474
--kbd-color: #000;

Diff for: tests/rustdoc-gui/run-on-hover.goml

+6-6
Original file line numberDiff line numberDiff line change
@@ -33,22 +33,22 @@ define-function: (
3333

3434
call-function: ("check-run-button", {
3535
"theme": "ayu",
36-
"color": "rgb(120, 135, 151)",
36+
"color": "#788797",
3737
"background": "rgba(57, 175, 215, 0.09)",
38-
"hover_color": "rgb(197, 197, 197)",
38+
"hover_color": "#c5c5c5",
3939
"hover_background": "rgba(57, 175, 215, 0.37)",
4040
})
4141
call-function: ("check-run-button", {
4242
"theme": "dark",
43-
"color": "rgb(222, 222, 222)",
43+
"color": "#dedede",
4444
"background": "rgba(78, 139, 202, 0.2)",
45-
"hover_color": "rgb(222, 222, 222)",
45+
"hover_color": "#dedede",
4646
"hover_background": "rgb(78, 139, 202)",
4747
})
4848
call-function: ("check-run-button", {
4949
"theme": "light",
50-
"color": "rgb(245, 245, 245)",
50+
"color": "#f5f5f5",
5151
"background": "rgba(78, 139, 202, 0.2)",
52-
"hover_color": "rgb(245, 245, 245)",
52+
"hover_color": "#f5f5f5",
5353
"hover_background": "rgb(78, 139, 202)",
5454
})

0 commit comments

Comments
 (0)