Rollup merge of #111945 - GuillaumeGomez:migrate-gui-test-color-7, 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:
Michael Goulet 2023-05-25 13:58:01 -07:00 committed by GitHub
commit cb5b40269f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -43,52 +43,52 @@ define-function: (
call-function: ("check-colors", {
"theme": "ayu",
"kw": "rgb(255, 119, 51)",
"kw2": "rgb(255, 119, 51)",
"prelude_ty": "rgb(105, 242, 223)",
"prelude_val": "rgb(255, 119, 51)",
"lifetime": "rgb(255, 119, 51)",
"number": "rgb(184, 204, 82)",
"string": "rgb(184, 204, 82)",
"bool_val": "rgb(255, 119, 51)",
"self": "rgb(54, 163, 217)",
"attr": "rgb(230, 225, 207)",
"macro": "rgb(163, 122, 204)",
"question_mark": "rgb(255, 144, 17)",
"comment": "rgb(120, 135, 151)",
"doc_comment": "rgb(161, 172, 136)",
"kw": "#ff7733",
"kw2": "#ff7733",
"prelude_ty": "#69f2df",
"prelude_val": "#ff7733",
"lifetime": "#ff7733",
"number": "#b8cc52",
"string": "#b8cc52",
"bool_val": "#ff7733",
"self": "#36a3d9",
"attr": "#e6e1cf",
"macro": "#a37acc",
"question_mark": "#ff9011",
"comment": "#788797",
"doc_comment": "#a1ac88",
})
call-function: ("check-colors", {
"theme": "dark",
"kw": "rgb(171, 138, 193)",
"kw2": "rgb(118, 154, 203)",
"prelude_ty": "rgb(118, 154, 203)",
"prelude_val": "rgb(238, 104, 104)",
"lifetime": "rgb(217, 127, 38)",
"number": "rgb(131, 163, 0)",
"string": "rgb(131, 163, 0)",
"bool_val": "rgb(238, 104, 104)",
"self": "rgb(238, 104, 104)",
"attr": "rgb(238, 104, 104)",
"macro": "rgb(62, 153, 159)",
"question_mark": "rgb(255, 144, 17)",
"comment": "rgb(141, 141, 139)",
"doc_comment": "rgb(140, 163, 117)",
"kw": "#ab8ac1",
"kw2": "#769acb",
"prelude_ty": "#769acb",
"prelude_val": "#ee6868",
"lifetime": "#d97f26",
"number": "#83a300",
"string": "#83a300",
"bool_val": "#ee6868",
"self": "#ee6868",
"attr": "#ee6868",
"macro": "#3e999f",
"question_mark": "#ff9011",
"comment": "#8d8d8b",
"doc_comment": "#8ca375",
})
call-function: ("check-colors", {
"theme": "light",
"kw": "rgb(137, 89, 168)",
"kw2": "rgb(66, 113, 174)",
"prelude_ty": "rgb(66, 113, 174)",
"prelude_val": "rgb(200, 40, 41)",
"lifetime": "rgb(183, 101, 20)",
"number": "rgb(113, 140, 0)",
"string": "rgb(113, 140, 0)",
"bool_val": "rgb(200, 40, 41)",
"self": "rgb(200, 40, 41)",
"attr": "rgb(200, 40, 41)",
"macro": "rgb(62, 153, 159)",
"question_mark": "rgb(255, 144, 17)",
"comment": "rgb(142, 144, 140)",
"doc_comment": "rgb(77, 77, 76)",
"kw": "#8959a8",
"kw2": "#4271ae",
"prelude_ty": "#4271ae",
"prelude_val": "#c82829",
"lifetime": "#b76514",
"number": "#718c00",
"string": "#718c00",
"bool_val": "#c82829",
"self": "#c82829",
"attr": "#c82829",
"macro": "#3e999f",
"question_mark": "#ff9011",
"comment": "#8e908c",
"doc_comment": "#4d4d4c",
})