Skip to content

Commit 97b702f

Browse files
authored
Rollup merge of #112274 - GuillaumeGomez:migrate-gui-test-color-11, r=notriddle
Migrate GUI colors test to original CSS color format Follow-up of #111459. The update for `browser-ui-test` version is because for hex color conversions, it used a precision of 1 instead of 2, which was problematic. r? `@notriddle`
2 parents ef2c64b + d67e00e commit 97b702f

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.16.5
1+
0.16.6

tests/rustdoc-gui/sidebar-mobile.goml

+6-6
Original file line numberDiff line numberDiff line change
@@ -73,16 +73,16 @@ define-function: (
7373

7474
call-function: ("check-colors", {
7575
"theme": "ayu",
76-
"color": "rgb(197, 197, 197)",
77-
"background": "rgb(20, 25, 31)",
76+
"color": "#c5c5c5",
77+
"background": "#14191f",
7878
})
7979
call-function: ("check-colors", {
8080
"theme": "dark",
81-
"color": "rgb(221, 221, 221)",
82-
"background": "rgb(80, 80, 80)",
81+
"color": "#ddd",
82+
"background": "#505050",
8383
})
8484
call-function: ("check-colors", {
8585
"theme": "light",
86-
"color": "rgb(0, 0, 0)",
87-
"background": "rgb(245, 245, 245)",
86+
"color": "black",
87+
"background": "#F5F5F5",
8888
})

0 commit comments

Comments
 (0)