@@ -18,7 +18,10 @@ goto: file://|DOC_PATH|/test_docs/struct.Foo.html#method.must_use
1818assert-css: ("#method\.must_use", {"color": "rgb(197, 197, 197)", "background-color": "rgba(255, 236, 164, 0.06)"}, ALL)
1919
2020goto: 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)
2225
2326// Dark theme
2427local-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
3437assert-css: ("#method\.must_use", {"color": "rgb(221, 221, 221)", "background-color": "rgb(73, 74, 61)"}, ALL)
3538
3639goto: 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)
3844
3945// Light theme
4046local-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
5258assert-css: ("#method\.must_use", {"color": "rgb(0, 0, 0)", "background-color": "rgb(253, 255, 211)"}, ALL)
5359
5460goto: 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