Skip to content

Commit e55ad9b

Browse files
Migrate GUI colors test to original CSS color format
1 parent 18be272 commit e55ad9b

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

tests/rustdoc-gui/warning-block.goml

+10-10
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ show-text: true
44

55
define-function: (
66
"check-warning",
7-
(theme, color, border_color, background_color),
7+
(theme, color, border_color),
88
block {
99
set-local-storage: {"rustdoc-theme": |theme|, "rustdoc-use-system-theme": "false"}
1010
reload:
@@ -27,19 +27,19 @@ define-function: (
2727

2828
call-function: ("check-warning", {
2929
"theme": "ayu",
30-
"color": "rgb(197, 197, 197)",
31-
"border_color": "rgb(255, 142, 0)",
32-
"background_color": "rgba(0, 0, 0, 0)",
30+
"color": "#c5c5c5",
31+
"border_color": "#ff8e00",
32+
"background_color": "transparent",
3333
})
3434
call-function: ("check-warning", {
3535
"theme": "dark",
36-
"color": "rgb(221, 221, 221)",
37-
"border_color": "rgb(255, 142, 0)",
38-
"background_color": "rgba(0, 0, 0, 0)",
36+
"color": "#ddd",
37+
"border_color": "#ff8e00",
38+
"background_color": "transparent",
3939
})
4040
call-function: ("check-warning", {
4141
"theme": "light",
42-
"color": "rgb(0, 0, 0)",
43-
"border_color": "rgb(255, 142, 0)",
44-
"background_color": "rgba(0, 0, 0, 0)",
42+
"color": "black",
43+
"border_color": "#ff8e00",
44+
"background_color": "transparent",
4545
})

0 commit comments

Comments
 (0)