Rollup merge of #111765 - GuillaumeGomez:migrate-gui-test-color, r=notriddle

Migrate GUI colors test to original CSS color format

Follow-up of https://github.com/rust-lang/rust/pull/111459.

r? `@notriddle`
This commit is contained in:
Guillaume Gomez 2023-05-20 15:37:24 +02:00 committed by GitHub
commit 0d8a2e58a3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -33,30 +33,30 @@ define-function: (
call-function: ("check-colors", {
"theme": "ayu",
"highlight": "rgb(91, 59, 1)",
"highlight_focus": "rgb(124, 75, 15)",
"help_border": "rgb(170, 170, 170)",
"help_color": "rgb(238, 238, 238)",
"help_hover_border": "rgb(255, 255, 255)",
"help_hover_color": "rgb(255, 255, 255)",
"highlight": "#5b3b01",
"highlight_focus": "#7c4b0f",
"help_border": "#aaa",
"help_color": "#eee",
"help_hover_border": "#fff",
"help_hover_color": "#fff",
})
call-function: ("check-colors", {
"theme": "dark",
"highlight": "rgb(91, 59, 1)",
"highlight_focus": "rgb(124, 75, 15)",
"help_border": "rgb(170, 170, 170)",
"help_color": "rgb(238, 238, 238)",
"help_hover_border": "rgb(255, 255, 255)",
"help_hover_color": "rgb(255, 255, 255)",
"highlight": "#5b3b01",
"highlight_focus": "#7c4b0f",
"help_border": "#aaa",
"help_color": "#eee",
"help_hover_border": "#fff",
"help_hover_color": "#fff",
})
call-function: ("check-colors", {
"theme": "light",
"highlight": "rgb(252, 255, 214)",
"highlight_focus": "rgb(246, 253, 176)",
"help_border": "rgb(85, 85, 85)",
"help_color": "rgb(51, 51, 51)",
"help_hover_border": "rgb(0, 0, 0)",
"help_hover_color": "rgb(0, 0, 0)",
"highlight": "#fcffd6",
"highlight_focus": "#f6fdb0",
"help_border": "#555",
"help_color": "#333",
"help_hover_border": "#000",
"help_hover_color": "#000",
})
// Now testing the top and bottom background in case there is only one scraped examples.