File tree 4 files changed +4
-8
lines changed
src/librustdoc/html/static/css
4 files changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -914,6 +914,7 @@ so that we can apply CSS-filters to change the arrow color in themes */
914
914
font-size : 1rem ;
915
915
width : 100% ;
916
916
background-color : var (--button-background-color );
917
+ color : var (--search-color );
917
918
}
918
919
.search-input : focus {
919
920
border-color : var (--search-input-focused-border-color );
Original file line number Diff line number Diff line change @@ -40,6 +40,7 @@ Original by Dempfi (https://github.com/dempfi/ayu)
40
40
--search-result-link-focus-background-color : # 3c3c3c ;
41
41
--stab-background-color : # 314559 ;
42
42
--stab-code-color : # e6e1cf ;
43
+ --search-color : # fff ;
43
44
}
44
45
45
46
.slider {
@@ -149,10 +150,6 @@ details.rustdoc-toggle > summary::before {
149
150
filter : invert (98% ) sepia (12% ) saturate (81% ) hue-rotate (343deg ) brightness (113% ) contrast (76% );
150
151
}
151
152
152
- .search-input {
153
- color : # fff ;
154
- }
155
-
156
153
.module-item .stab ,
157
154
.import-item .stab {
158
155
color : # 000 ;
Original file line number Diff line number Diff line change 35
35
--search-result-link-focus-background-color : # 616161 ;
36
36
--stab-background-color : # 314559 ;
37
37
--stab-code-color : # e6e1cf ;
38
+ --search-color : # 111 ;
38
39
}
39
40
40
41
.slider {
@@ -72,10 +73,6 @@ details.rustdoc-toggle > summary::before {
72
73
filter : invert (100% );
73
74
}
74
75
75
- .search-input {
76
- color : # 111 ;
77
- }
78
-
79
76
# crate-search-div ::after {
80
77
/* match border-color; uses https://codepen.io/sosuke/pen/Pjoqqp */
81
78
filter : invert (94% ) sepia (0% ) saturate (721% ) hue-rotate (255deg ) brightness (90% ) contrast (90% );
Original file line number Diff line number Diff line change 35
35
--search-result-link-focus-background-color : # ccc ;
36
36
--stab-background-color : # fff5d6 ;
37
37
--stab-code-color : # 000 ;
38
+ --search-color : # 000 ;
38
39
}
39
40
40
41
.slider {
You can’t perform that action at this time.
0 commit comments