1 // We check the background color on the jump to definition links in the source code page.
2 goto: "file://" + |DOC_PATH| + "/src/link_to_definition/lib.rs.html"
5 "check-background-color",
6 (theme, background_color),
9 ("local-storage", { "rustdoc-theme": |theme|, "rustdoc-use-system-theme": "false" }),
10 // We reload the page so the local storage settings are being used.
13 "body.source .example-wrap pre.rust a",
14 {"background-color": |background_color|},
20 call-function: ("check-background-color", ("ayu", "rgb(51, 51, 51)"))
21 call-function: ("check-background-color", ("dark", "rgb(51, 51, 51)"))
22 call-function: ("check-background-color", ("light", "rgb(238, 238, 238)"))