Migrate GUI colors test to original CSS color format
This commit is contained in:
parent
bacf5bcbc7
commit
2778b71155
@ -194,27 +194,27 @@ call-function: (
|
|||||||
"check-colors",
|
"check-colors",
|
||||||
{
|
{
|
||||||
"theme": "ayu",
|
"theme": "ayu",
|
||||||
"heading_color": "rgb(255, 255, 255)",
|
"heading_color": "#fff",
|
||||||
"small_heading_color": "rgb(197, 197, 197)",
|
"small_heading_color": "#c5c5c5",
|
||||||
"heading_border_color": "rgb(92, 103, 115)",
|
"heading_border_color": "#5c6773",
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
call-function: (
|
call-function: (
|
||||||
"check-colors",
|
"check-colors",
|
||||||
{
|
{
|
||||||
"theme": "dark",
|
"theme": "dark",
|
||||||
"heading_color": "rgb(221, 221, 221)",
|
"heading_color": "#ddd",
|
||||||
"small_heading_color": "rgb(221, 221, 221)",
|
"small_heading_color": "#ddd",
|
||||||
"heading_border_color": "rgb(210, 210, 210)",
|
"heading_border_color": "#d2d2d2",
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
call-function: (
|
call-function: (
|
||||||
"check-colors",
|
"check-colors",
|
||||||
{
|
{
|
||||||
"theme": "light",
|
"theme": "light",
|
||||||
"heading_color": "rgb(0, 0, 0)",
|
"heading_color": "black",
|
||||||
"small_heading_color": "rgb(0, 0, 0)",
|
"small_heading_color": "black",
|
||||||
"heading_border_color": "rgb(221, 221, 221)",
|
"heading_border_color": "#ddd",
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -224,7 +224,7 @@ define-function: (
|
|||||||
block {
|
block {
|
||||||
set-local-storage: {"rustdoc-theme": |theme|}
|
set-local-storage: {"rustdoc-theme": |theme|}
|
||||||
reload:
|
reload:
|
||||||
assert-css: (".since", {"color": "rgb(128, 128, 128)"}, ALL)
|
assert-css: (".since", {"color": "#808080"}, ALL)
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user