Skip to content

Commit cb5b402

Browse files
Rollup merge of #111945 - GuillaumeGomez:migrate-gui-test-color-7, r=notriddle
Migrate GUI colors test to original CSS color format Follow-up of #111459. r? ``@notriddle``
2 parents 5227b68 + 223f6f5 commit cb5b402

File tree

1 file changed

+42
-42
lines changed

1 file changed

+42
-42
lines changed

tests/rustdoc-gui/highlight-colors.goml

+42-42
Original file line numberDiff line numberDiff line change
@@ -43,52 +43,52 @@ define-function: (
4343

4444
call-function: ("check-colors", {
4545
"theme": "ayu",
46-
"kw": "rgb(255, 119, 51)",
47-
"kw2": "rgb(255, 119, 51)",
48-
"prelude_ty": "rgb(105, 242, 223)",
49-
"prelude_val": "rgb(255, 119, 51)",
50-
"lifetime": "rgb(255, 119, 51)",
51-
"number": "rgb(184, 204, 82)",
52-
"string": "rgb(184, 204, 82)",
53-
"bool_val": "rgb(255, 119, 51)",
54-
"self": "rgb(54, 163, 217)",
55-
"attr": "rgb(230, 225, 207)",
56-
"macro": "rgb(163, 122, 204)",
57-
"question_mark": "rgb(255, 144, 17)",
58-
"comment": "rgb(120, 135, 151)",
59-
"doc_comment": "rgb(161, 172, 136)",
46+
"kw": "#ff7733",
47+
"kw2": "#ff7733",
48+
"prelude_ty": "#69f2df",
49+
"prelude_val": "#ff7733",
50+
"lifetime": "#ff7733",
51+
"number": "#b8cc52",
52+
"string": "#b8cc52",
53+
"bool_val": "#ff7733",
54+
"self": "#36a3d9",
55+
"attr": "#e6e1cf",
56+
"macro": "#a37acc",
57+
"question_mark": "#ff9011",
58+
"comment": "#788797",
59+
"doc_comment": "#a1ac88",
6060
})
6161
call-function: ("check-colors", {
6262
"theme": "dark",
63-
"kw": "rgb(171, 138, 193)",
64-
"kw2": "rgb(118, 154, 203)",
65-
"prelude_ty": "rgb(118, 154, 203)",
66-
"prelude_val": "rgb(238, 104, 104)",
67-
"lifetime": "rgb(217, 127, 38)",
68-
"number": "rgb(131, 163, 0)",
69-
"string": "rgb(131, 163, 0)",
70-
"bool_val": "rgb(238, 104, 104)",
71-
"self": "rgb(238, 104, 104)",
72-
"attr": "rgb(238, 104, 104)",
73-
"macro": "rgb(62, 153, 159)",
74-
"question_mark": "rgb(255, 144, 17)",
75-
"comment": "rgb(141, 141, 139)",
76-
"doc_comment": "rgb(140, 163, 117)",
63+
"kw": "#ab8ac1",
64+
"kw2": "#769acb",
65+
"prelude_ty": "#769acb",
66+
"prelude_val": "#ee6868",
67+
"lifetime": "#d97f26",
68+
"number": "#83a300",
69+
"string": "#83a300",
70+
"bool_val": "#ee6868",
71+
"self": "#ee6868",
72+
"attr": "#ee6868",
73+
"macro": "#3e999f",
74+
"question_mark": "#ff9011",
75+
"comment": "#8d8d8b",
76+
"doc_comment": "#8ca375",
7777
})
7878
call-function: ("check-colors", {
7979
"theme": "light",
80-
"kw": "rgb(137, 89, 168)",
81-
"kw2": "rgb(66, 113, 174)",
82-
"prelude_ty": "rgb(66, 113, 174)",
83-
"prelude_val": "rgb(200, 40, 41)",
84-
"lifetime": "rgb(183, 101, 20)",
85-
"number": "rgb(113, 140, 0)",
86-
"string": "rgb(113, 140, 0)",
87-
"bool_val": "rgb(200, 40, 41)",
88-
"self": "rgb(200, 40, 41)",
89-
"attr": "rgb(200, 40, 41)",
90-
"macro": "rgb(62, 153, 159)",
91-
"question_mark": "rgb(255, 144, 17)",
92-
"comment": "rgb(142, 144, 140)",
93-
"doc_comment": "rgb(77, 77, 76)",
80+
"kw": "#8959a8",
81+
"kw2": "#4271ae",
82+
"prelude_ty": "#4271ae",
83+
"prelude_val": "#c82829",
84+
"lifetime": "#b76514",
85+
"number": "#718c00",
86+
"string": "#718c00",
87+
"bool_val": "#c82829",
88+
"self": "#c82829",
89+
"attr": "#c82829",
90+
"macro": "#3e999f",
91+
"question_mark": "#ff9011",
92+
"comment": "#8e908c",
93+
"doc_comment": "#4d4d4c",
9494
})

0 commit comments

Comments
 (0)