2
2
goto: file://|DOC_PATH|/test_docs/index.html
3
3
4
4
// First we start with the dark theme.
5
- local-storage: {
6
- "rustdoc-theme": "dark",
7
- "rustdoc-preferred-dark-theme": "dark",
8
- "rustdoc-use-system-theme": "false",
9
- }
5
+ local-storage: {"rustdoc-theme": "dark"}
10
6
reload:
11
7
12
8
assert-css: (
@@ -17,11 +13,7 @@ assert-css: (
17
13
// In the source view page now.
18
14
goto: file://|DOC_PATH|/src/test_docs/lib.rs.html
19
15
20
- local-storage: {
21
- "rustdoc-theme": "dark",
22
- "rustdoc-preferred-dark-theme": "dark",
23
- "rustdoc-use-system-theme": "false",
24
- }
16
+ local-storage: {"rustdoc-theme": "dark"}
25
17
reload:
26
18
27
19
assert-css: (
@@ -30,11 +22,7 @@ assert-css: (
30
22
)
31
23
32
24
// Then with the ayu theme.
33
- local-storage: {
34
- "rustdoc-theme": "ayu",
35
- "rustdoc-preferred-dark-theme": "ayu",
36
- "rustdoc-use-system-theme": "false",
37
- }
25
+ local-storage: {"rustdoc-theme": "ayu"}
38
26
reload:
39
27
40
28
assert-css: (
@@ -45,11 +33,7 @@ assert-css: (
45
33
// In the source view page now.
46
34
goto: file://|DOC_PATH|/src/test_docs/lib.rs.html
47
35
48
- local-storage: {
49
- "rustdoc-theme": "ayu",
50
- "rustdoc-preferred-dark-theme": "ayu",
51
- "rustdoc-use-system-theme": "false",
52
- }
36
+ local-storage: {"rustdoc-theme": "ayu"}
53
37
reload:
54
38
55
39
assert-css: (
@@ -58,7 +42,7 @@ assert-css: (
58
42
)
59
43
60
44
// And finally with the light theme.
61
- local-storage: {"rustdoc-theme": "light", "rustdoc-use-system-theme": "false" }
45
+ local-storage: {"rustdoc-theme": "light"}
62
46
reload:
63
47
64
48
assert-css: (
@@ -69,7 +53,7 @@ assert-css: (
69
53
// In the source view page now.
70
54
goto: file://|DOC_PATH|/src/test_docs/lib.rs.html
71
55
72
- local-storage: {"rustdoc-theme": "light", "rustdoc-use-system-theme": "false" }
56
+ local-storage: {"rustdoc-theme": "light"}
73
57
reload:
74
58
75
59
assert-css: (
0 commit comments