@@ -25,24 +25,24 @@ call-function: (
2525 "check-colors",
2626 {
2727 "theme": "ayu",
28- "color": "rgb(197, 197, 197) ",
29- "background_color": "rgb(20, 25, 31) ",
28+ "color": "#c5c5c5 ",
29+ "background_color": "#14191f ",
3030 }
3131)
3232call-function: (
3333 "check-colors",
3434 {
3535 "theme": "dark",
36- "color": "rgb(221, 221, 221) ",
37- "background_color": "rgb(80, 80, 80) ",
36+ "color": "#ddd ",
37+ "background_color": "#505050 ",
3838 }
3939)
4040call-function: (
4141 "check-colors",
4242 {
4343 "theme": "light",
44- "color": "rgb(0, 0, 0) ",
45- "background_color": "rgb(245, 245, 245) ",
44+ "color": "black ",
45+ "background_color": "#f5f5f5 ",
4646 }
4747)
4848
@@ -55,7 +55,7 @@ assert-text: (".sidebar > .location", "Crate test_docs")
5555assert-count: (".sidebar .location", 1)
5656assert-count: (".sidebar h2", 1)
5757assert-text: ("#all-types", "All Items")
58- assert-css: ("#all-types", {"color": "rgb(53, 109, 164) "})
58+ assert-css: ("#all-types", {"color": "#356da4 "})
5959// We check that we have the crates list and that the "current" on is "test_docs".
6060assert-text: (".sidebar-elems ul.crate > li > a.current", "test_docs")
6161// And we're also supposed to have the list of items in the current module.
@@ -88,7 +88,7 @@ assert-property: ("html", {"scrollTop": "0"})
8888// We now go back to the crate page to click on the "lib2" crate link.
8989go-to: "file://" + |DOC_PATH| + "/test_docs/index.html"
9090assert-property: (".sidebar", {"clientWidth": "200"})
91- assert-css: (".sidebar-elems ul.crate > li:first-child > a", {"color": "rgb(53, 109, 164) "})
91+ assert-css: (".sidebar-elems ul.crate > li:first-child > a", {"color": "#356da4 "})
9292click: ".sidebar-elems ul.crate > li:first-child > a"
9393
9494// PAGE: lib2/index.html
@@ -140,7 +140,7 @@ go-to: "file://" + |DOC_PATH| + "/test_docs/struct.Foo.html"
140140assert-property: (".sidebar", {"clientWidth": "200"})
141141click: "//ul[@class='block mod']/preceding-sibling::h3/a"
142142// PAGE: index.html
143- assert-css: ("#modules", {"background-color": "rgb(253, 255, 211) "})
143+ assert-css: ("#modules", {"background-color": "#fdffd3 "})
144144
145145// Finally, assert that the `[+]/[−]` toggle doesn't affect sidebar width.
146146click: "#toggle-all-docs"
0 commit comments