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 */
906906 background-color : var (--search-result-link-focus-background-color );
907907}
908908
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+
909916.popover {
910917 position : absolute;
911918 right : 0 ;
Original file line number Diff line number Diff line change @@ -41,9 +41,11 @@ Original by Dempfi (https://github.com/dempfi/ayu)
4141 --sidebar-current-link-background-color : transparent;
4242 --search-result-link-focus-background-color : # 3c3c3c ;
4343 --search-result-border-color : # aaa3 ;
44+ --search-color : # fff ;
45+ --search-results-alias-color : # c5c5c5 ;
46+ --search-results-grey-color : # 999 ;
4447 --stab-background-color : # 314559 ;
4548 --stab-code-color : # e6e1cf ;
46- --search-color : # fff ;
4749 --code-highlight-kw-color : # ff7733 ;
4850 --code-highlight-kw-2-color : # ff7733 ;
4951 --code-highlight-lifetime-color : # ff7733 ;
@@ -202,13 +204,6 @@ pre.rust .kw-2, pre.rust .prelude-ty {}
202204 filter : invert (100 );
203205}
204206
205- .search-results .result-name span .alias {
206- color : # c5c5c5 ;
207- }
208- .search-results .result-name span .grey {
209- color : # 999 ;
210- }
211-
212207# source-sidebar > .title {
213208 color : # fff ;
214209}
Original file line number Diff line number Diff line change 3636 --sidebar-current-link-background-color : # 444 ;
3737 --search-result-link-focus-background-color : # 616161 ;
3838 --search-result-border-color : # aaa3 ;
39+ --search-color : # 111 ;
40+ --search-results-alias-color : # fff ;
41+ --search-results-grey-color : # ccc ;
3942 --stab-background-color : # 314559 ;
4043 --stab-code-color : # e6e1cf ;
41- --search-color : # 111 ;
4244 --code-highlight-kw-color : # ab8ac1 ;
4345 --code-highlight-kw-2-color : # 769acb ;
4446 --code-highlight-lifetime-color : # d97f26 ;
@@ -103,13 +105,6 @@ details.rustdoc-toggle > summary::before {
103105 color : # 888 ;
104106}
105107
106- .search-results .result-name span .alias {
107- color : # fff ;
108- }
109- .search-results .result-name span .grey {
110- color : # ccc ;
111- }
112-
113108# source-sidebar div .files > a : hover , details .dir-entry summary : hover ,
114109# source-sidebar div .files > a : focus , details .dir-entry summary : focus {
115110 background-color : # 444 ;
Original file line number Diff line number Diff line change 3636 --sidebar-current-link-background-color : # fff ;
3737 --search-result-link-focus-background-color : # ccc ;
3838 --search-result-border-color : # aaa3 ;
39+ --search-color : # 000 ;
40+ --search-results-alias-color : # 000 ;
41+ --search-results-grey-color : # 999 ;
3942 --stab-background-color : # fff5d6 ;
4043 --stab-code-color : # 000 ;
41- --search-color : # 000 ;
4244 --code-highlight-kw-color : # 8959a8 ;
4345 --code-highlight-kw-2-color : # 4271ae ;
4446 --code-highlight-lifetime-color : # b76514 ;
@@ -96,13 +98,6 @@ body.source .example-wrap pre.rust a {
9698 color : # 888 ;
9799}
98100
99- .search-results .result-name span .alias {
100- color : # 000 ;
101- }
102- .search-results .result-name span .grey {
103- color : # 999 ;
104- }
105-
106101# source-sidebar div .files > a : hover , details .dir-entry summary : hover ,
107102# source-sidebar div .files > a : focus , details .dir-entry summary : focus {
108103 background-color : # E0E0E0 ;
You can’t perform that action at this time.
0 commit comments