@@ -18,7 +18,10 @@ goto: file://|DOC_PATH|/test_docs/struct.Foo.html#method.must_use
18
18
assert-css: ("#method\.must_use", {"color": "rgb(197, 197, 197)", "background-color": "rgba(255, 236, 164, 0.06)"}, ALL)
19
19
20
20
goto: file://|DOC_PATH|/test_docs/index.html
21
- assert-css: (".section-header a", {"color": "rgb(197, 197, 197)"}, ALL)
21
+ assert-css: (".small-section-header a", {"color": "rgb(197, 197, 197)"}, ALL)
22
+
23
+ goto: file://|DOC_PATH|/test_docs/struct.HeavilyDocumentedStruct.html
24
+ assert-css: (".section-header a", {"color": "rgb(57, 175, 215)"}, ALL)
22
25
23
26
// Dark theme
24
27
local-storage: {"rustdoc-theme": "dark", "rustdoc-preferred-dark-theme": "dark", "rustdoc-use-system-theme": "false"}
@@ -34,7 +37,10 @@ goto: file://|DOC_PATH|/test_docs/struct.Foo.html#method.must_use
34
37
assert-css: ("#method\.must_use", {"color": "rgb(221, 221, 221)", "background-color": "rgb(73, 74, 61)"}, ALL)
35
38
36
39
goto: file://|DOC_PATH|/test_docs/index.html
37
- assert-css: (".section-header a", {"color": "rgb(221, 221, 221)"}, ALL)
40
+ assert-css: (".small-section-header a", {"color": "rgb(221, 221, 221)"}, ALL)
41
+
42
+ goto: file://|DOC_PATH|/test_docs/struct.HeavilyDocumentedStruct.html
43
+ assert-css: (".section-header a", {"color": "rgb(210, 153, 29)"}, ALL)
38
44
39
45
// Light theme
40
46
local-storage: {"rustdoc-theme": "light", "rustdoc-use-system-theme": "false"}
@@ -52,4 +58,7 @@ goto: file://|DOC_PATH|/test_docs/struct.Foo.html#method.must_use
52
58
assert-css: ("#method\.must_use", {"color": "rgb(0, 0, 0)", "background-color": "rgb(253, 255, 211)"}, ALL)
53
59
54
60
goto: file://|DOC_PATH|/test_docs/index.html
55
- assert-css: (".section-header a", {"color": "rgb(0, 0, 0)"}, ALL)
61
+ assert-css: (".small-section-header a", {"color": "rgb(0, 0, 0)"}, ALL)
62
+
63
+ goto: file://|DOC_PATH|/test_docs/struct.HeavilyDocumentedStruct.html
64
+ assert-css: (".section-header a", {"color": "rgb(56, 115, 173)"}, ALL)
0 commit comments