File tree Expand file tree Collapse file tree 4 files changed +16
-24
lines changed
src/librustdoc/html/static/css Expand file tree Collapse file tree 4 files changed +16
-24
lines changed Original file line number Diff line number Diff line change @@ -906,6 +906,13 @@ so that we can apply CSS-filters to change the arrow color in themes */
906
906
background-color : var (--search-result-link-focus-background-color );
907
907
}
908
908
909
+ .search-results .result-name span .alias {
910
+ color : var (--search-results-alias-color );
911
+ }
912
+ .search-results .result-name span .grey {
913
+ color : var (--search-results-grey-color );
914
+ }
915
+
909
916
.popover {
910
917
position : absolute;
911
918
right : 0 ;
Original file line number Diff line number Diff line change @@ -41,9 +41,11 @@ Original by Dempfi (https://github.com/dempfi/ayu)
41
41
--sidebar-current-link-background-color : transparent;
42
42
--search-result-link-focus-background-color : # 3c3c3c ;
43
43
--search-result-border-color : # aaa3 ;
44
+ --search-color : # fff ;
45
+ --search-results-alias-color : # c5c5c5 ;
46
+ --search-results-grey-color : # 999 ;
44
47
--stab-background-color : # 314559 ;
45
48
--stab-code-color : # e6e1cf ;
46
- --search-color : # fff ;
47
49
--code-highlight-kw-color : # ff7733 ;
48
50
--code-highlight-kw-2-color : # ff7733 ;
49
51
--code-highlight-lifetime-color : # ff7733 ;
@@ -202,13 +204,6 @@ pre.rust .kw-2, pre.rust .prelude-ty {}
202
204
filter : invert (100 );
203
205
}
204
206
205
- .search-results .result-name span .alias {
206
- color : # c5c5c5 ;
207
- }
208
- .search-results .result-name span .grey {
209
- color : # 999 ;
210
- }
211
-
212
207
# source-sidebar > .title {
213
208
color : # fff ;
214
209
}
Original file line number Diff line number Diff line change 36
36
--sidebar-current-link-background-color : # 444 ;
37
37
--search-result-link-focus-background-color : # 616161 ;
38
38
--search-result-border-color : # aaa3 ;
39
+ --search-color : # 111 ;
40
+ --search-results-alias-color : # fff ;
41
+ --search-results-grey-color : # ccc ;
39
42
--stab-background-color : # 314559 ;
40
43
--stab-code-color : # e6e1cf ;
41
- --search-color : # 111 ;
42
44
--code-highlight-kw-color : # ab8ac1 ;
43
45
--code-highlight-kw-2-color : # 769acb ;
44
46
--code-highlight-lifetime-color : # d97f26 ;
@@ -103,13 +105,6 @@ details.rustdoc-toggle > summary::before {
103
105
color : # 888 ;
104
106
}
105
107
106
- .search-results .result-name span .alias {
107
- color : # fff ;
108
- }
109
- .search-results .result-name span .grey {
110
- color : # ccc ;
111
- }
112
-
113
108
# source-sidebar div .files > a : hover , details .dir-entry summary : hover ,
114
109
# source-sidebar div .files > a : focus , details .dir-entry summary : focus {
115
110
background-color : # 444 ;
Original file line number Diff line number Diff line change 36
36
--sidebar-current-link-background-color : # fff ;
37
37
--search-result-link-focus-background-color : # ccc ;
38
38
--search-result-border-color : # aaa3 ;
39
+ --search-color : # 000 ;
40
+ --search-results-alias-color : # 000 ;
41
+ --search-results-grey-color : # 999 ;
39
42
--stab-background-color : # fff5d6 ;
40
43
--stab-code-color : # 000 ;
41
- --search-color : # 000 ;
42
44
--code-highlight-kw-color : # 8959a8 ;
43
45
--code-highlight-kw-2-color : # 4271ae ;
44
46
--code-highlight-lifetime-color : # b76514 ;
@@ -96,13 +98,6 @@ body.source .example-wrap pre.rust a {
96
98
color : # 888 ;
97
99
}
98
100
99
- .search-results .result-name span .alias {
100
- color : # 000 ;
101
- }
102
- .search-results .result-name span .grey {
103
- color : # 999 ;
104
- }
105
-
106
101
# source-sidebar div .files > a : hover , details .dir-entry summary : hover ,
107
102
# source-sidebar div .files > a : focus , details .dir-entry summary : focus {
108
103
background-color : # E0E0E0 ;
You can’t perform that action at this time.
0 commit comments