Skip to content

Commit

Permalink
Rollup merge of #115503 - GuillaumeGomez:migrate-gui-test-color-38, 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.

r? `@notriddle`
  • Loading branch information
GuillaumeGomez authored Sep 3, 2023
2 parents dbeef45 + 8e5dff1 commit 38a2d5f
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions tests/rustdoc-gui/code-color.goml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,18 @@ define-function: (
},
)

call-function: ("check-colors", ("ayu", "rgb(230, 225, 207)", "rgb(255, 180, 84)"))
call-function: ("check-colors", ("dark", "rgb(221, 221, 221)", "rgb(221, 221, 221)"))
call-function: ("check-colors", ("light", "rgb(0, 0, 0)", "rgb(0, 0, 0)"))
call-function: ("check-colors", {
"theme": "ayu",
"doc_code_color": "#e6e1cf",
"doc_inline_code_color": "#ffb454",
})
call-function: ("check-colors", {
"theme": "dark",
"doc_code_color": "#ddd",
"doc_inline_code_color": "#ddd",
})
call-function: ("check-colors", {
"theme": "light",
"doc_code_color": "black",
"doc_inline_code_color": "black",
})

0 comments on commit 38a2d5f

Please sign in to comment.