Auto merge of #114755 - GuillaumeGomez:migrate-gui-test-color-31, 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:
bors 2023-08-13 03:32:46 +00:00
commit cb0c29978b

View File

@ -92,80 +92,80 @@ call-function: (
"check-colors", "check-colors",
{ {
"theme": "ayu", "theme": "ayu",
"struct": "rgb(83, 177, 219)", "struct": "#53b1db",
"struct_hover": "rgb(255, 180, 76)", "struct_hover": "#ffb44c",
"struct_hover_background": "rgba(0, 0, 0, 0)", "struct_hover_background": "transparent",
"enum": "rgb(83, 177, 219)", "enum": "#53b1db",
"enum_hover": "rgb(255, 180, 76)", "enum_hover": "#ffb44c",
"enum_hover_background": "rgba(0, 0, 0, 0)", "enum_hover_background": "transparent",
"union": "rgb(83, 177, 219)", "union": "#53b1db",
"union_hover": "rgb(255, 180, 76)", "union_hover": "#ffb44c",
"union_hover_background": "rgba(0, 0, 0, 0)", "union_hover_background": "transparent",
"trait": "rgb(83, 177, 219)", "trait": "#53b1db",
"trait_hover": "rgb(255, 180, 76)", "trait_hover": "#ffb44c",
"trait_hover_background": "rgba(0, 0, 0, 0)", "trait_hover_background": "transparent",
"fn": "rgb(83, 177, 219)", "fn": "#53b1db",
"fn_hover": "rgb(255, 180, 76)", "fn_hover": "#ffb44c",
"fn_hover_background": "rgba(0, 0, 0, 0)", "fn_hover_background": "transparent",
"type": "rgb(83, 177, 219)", "type": "#53b1db",
"type_hover": "rgb(255, 180, 76)", "type_hover": "#ffb44c",
"type_hover_background": "rgba(0, 0, 0, 0)", "type_hover_background": "transparent",
"keyword": "rgb(83, 177, 219)", "keyword": "#53b1db",
"keyword_hover": "rgb(255, 180, 76)", "keyword_hover": "#ffb44c",
"keyword_hover_background": "rgba(0, 0, 0, 0)", "keyword_hover_background": "transparent",
} }
) )
call-function: ( call-function: (
"check-colors", "check-colors",
{ {
"theme": "dark", "theme": "dark",
"struct": "rgb(253, 191, 53)", "struct": "#fdbf35",
"struct_hover": "rgb(253, 191, 53)", "struct_hover": "#fdbf35",
"struct_hover_background": "rgb(68, 68, 68)", "struct_hover_background": "#444",
"enum": "rgb(253, 191, 53)", "enum": "#fdbf35",
"enum_hover": "rgb(253, 191, 53)", "enum_hover": "#fdbf35",
"enum_hover_background": "rgb(68, 68, 68)", "enum_hover_background": "#444",
"union": "rgb(253, 191, 53)", "union": "#fdbf35",
"union_hover": "rgb(253, 191, 53)", "union_hover": "#fdbf35",
"union_hover_background": "rgb(68, 68, 68)", "union_hover_background": "#444",
"trait": "rgb(253, 191, 53)", "trait": "#fdbf35",
"trait_hover": "rgb(253, 191, 53)", "trait_hover": "#fdbf35",
"trait_hover_background": "rgb(68, 68, 68)", "trait_hover_background": "#444",
"fn": "rgb(253, 191, 53)", "fn": "#fdbf35",
"fn_hover": "rgb(253, 191, 53)", "fn_hover": "#fdbf35",
"fn_hover_background": "rgb(68, 68, 68)", "fn_hover_background": "#444",
"type": "rgb(253, 191, 53)", "type": "#fdbf35",
"type_hover": "rgb(253, 191, 53)", "type_hover": "#fdbf35",
"type_hover_background": "rgb(68, 68, 68)", "type_hover_background": "#444",
"keyword": "rgb(253, 191, 53)", "keyword": "#fdbf35",
"keyword_hover": "rgb(253, 191, 53)", "keyword_hover": "#fdbf35",
"keyword_hover_background": "rgb(68, 68, 68)", "keyword_hover_background": "#444",
} }
) )
call-function: ( call-function: (
"check-colors", "check-colors",
{ {
"theme": "light", "theme": "light",
"struct": "rgb(53, 109, 164)", "struct": "#356da4",
"struct_hover": "rgb(53, 109, 164)", "struct_hover": "#356da4",
"struct_hover_background": "rgb(255, 255, 255)", "struct_hover_background": "#fff",
"enum": "rgb(53, 109, 164)", "enum": "#356da4",
"enum_hover": "rgb(53, 109, 164)", "enum_hover": "#356da4",
"enum_hover_background": "rgb(255, 255, 255)", "enum_hover_background": "#fff",
"union": "rgb(53, 109, 164)", "union": "#356da4",
"union_hover": "rgb(53, 109, 164)", "union_hover": "#356da4",
"union_hover_background": "rgb(255, 255, 255)", "union_hover_background": "#fff",
"trait": "rgb(53, 109, 164)", "trait": "#356da4",
"trait_hover": "rgb(53, 109, 164)", "trait_hover": "#356da4",
"trait_hover_background": "rgb(255, 255, 255)", "trait_hover_background": "#fff",
"fn": "rgb(53, 109, 164)", "fn": "#356da4",
"fn_hover": "rgb(53, 109, 164)", "fn_hover": "#356da4",
"fn_hover_background": "rgb(255, 255, 255)", "fn_hover_background": "#fff",
"type": "rgb(53, 109, 164)", "type": "#356da4",
"type_hover": "rgb(53, 109, 164)", "type_hover": "#356da4",
"type_hover_background": "rgb(255, 255, 255)", "type_hover_background": "#fff",
"keyword": "rgb(53, 109, 164)", "keyword": "#356da4",
"keyword_hover": "rgb(53, 109, 164)", "keyword_hover": "#356da4",
"keyword_hover_background": "rgb(255, 255, 255)", "keyword_hover_background": "#fff",
} }
) )