mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 23:04:33 +00:00
Migrate GUI colors test to original CSS color format
This commit is contained in:
parent
18be2728bd
commit
e55ad9b0eb
@ -4,7 +4,7 @@ show-text: true
|
|||||||
|
|
||||||
define-function: (
|
define-function: (
|
||||||
"check-warning",
|
"check-warning",
|
||||||
(theme, color, border_color, background_color),
|
(theme, color, border_color),
|
||||||
block {
|
block {
|
||||||
set-local-storage: {"rustdoc-theme": |theme|, "rustdoc-use-system-theme": "false"}
|
set-local-storage: {"rustdoc-theme": |theme|, "rustdoc-use-system-theme": "false"}
|
||||||
reload:
|
reload:
|
||||||
@ -27,19 +27,19 @@ define-function: (
|
|||||||
|
|
||||||
call-function: ("check-warning", {
|
call-function: ("check-warning", {
|
||||||
"theme": "ayu",
|
"theme": "ayu",
|
||||||
"color": "rgb(197, 197, 197)",
|
"color": "#c5c5c5",
|
||||||
"border_color": "rgb(255, 142, 0)",
|
"border_color": "#ff8e00",
|
||||||
"background_color": "rgba(0, 0, 0, 0)",
|
"background_color": "transparent",
|
||||||
})
|
})
|
||||||
call-function: ("check-warning", {
|
call-function: ("check-warning", {
|
||||||
"theme": "dark",
|
"theme": "dark",
|
||||||
"color": "rgb(221, 221, 221)",
|
"color": "#ddd",
|
||||||
"border_color": "rgb(255, 142, 0)",
|
"border_color": "#ff8e00",
|
||||||
"background_color": "rgba(0, 0, 0, 0)",
|
"background_color": "transparent",
|
||||||
})
|
})
|
||||||
call-function: ("check-warning", {
|
call-function: ("check-warning", {
|
||||||
"theme": "light",
|
"theme": "light",
|
||||||
"color": "rgb(0, 0, 0)",
|
"color": "black",
|
||||||
"border_color": "rgb(255, 142, 0)",
|
"border_color": "#ff8e00",
|
||||||
"background_color": "rgba(0, 0, 0, 0)",
|
"background_color": "transparent",
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user