Skip to content

Commit

Permalink
Rollup merge of #112274 - GuillaumeGomez:migrate-gui-test-color-11, r…
Browse files Browse the repository at this point in the history
…=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`
  • Loading branch information
matthiaskrgr authored Jun 4, 2023
2 parents ef2c64b + d67e00e commit 97b702f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.16.5
0.16.6
12 changes: 6 additions & 6 deletions tests/rustdoc-gui/sidebar-mobile.goml
Original file line number Diff line number Diff line change
Expand Up @@ -73,16 +73,16 @@ define-function: (

call-function: ("check-colors", {
"theme": "ayu",
"color": "rgb(197, 197, 197)",
"background": "rgb(20, 25, 31)",
"color": "#c5c5c5",
"background": "#14191f",
})
call-function: ("check-colors", {
"theme": "dark",
"color": "rgb(221, 221, 221)",
"background": "rgb(80, 80, 80)",
"color": "#ddd",
"background": "#505050",
})
call-function: ("check-colors", {
"theme": "light",
"color": "rgb(0, 0, 0)",
"background": "rgb(245, 245, 245)",
"color": "black",
"background": "#F5F5F5",
})

0 comments on commit 97b702f

Please sign in to comment.