File tree Expand file tree Collapse file tree 4 files changed +4
-8
lines changed
src/librustdoc/html/static/css Expand file tree Collapse file tree 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 */
914914 font-size : 1rem ;
915915 width : 100% ;
916916 background-color : var (--button-background-color );
917+ color : var (--search-color );
917918}
918919.search-input : focus {
919920 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)
4040 --search-result-link-focus-background-color : # 3c3c3c ;
4141 --stab-background-color : # 314559 ;
4242 --stab-code-color : # e6e1cf ;
43+ --search-color : # fff ;
4344}
4445
4546.slider {
@@ -149,10 +150,6 @@ details.rustdoc-toggle > summary::before {
149150 filter : invert (98% ) sepia (12% ) saturate (81% ) hue-rotate (343deg ) brightness (113% ) contrast (76% );
150151}
151152
152- .search-input {
153- color : # fff ;
154- }
155-
156153.module-item .stab ,
157154.import-item .stab {
158155 color : # 000 ;
Original file line number Diff line number Diff line change 3535 --search-result-link-focus-background-color : # 616161 ;
3636 --stab-background-color : # 314559 ;
3737 --stab-code-color : # e6e1cf ;
38+ --search-color : # 111 ;
3839}
3940
4041.slider {
@@ -72,10 +73,6 @@ details.rustdoc-toggle > summary::before {
7273 filter : invert (100% );
7374}
7475
75- .search-input {
76- color : # 111 ;
77- }
78-
7976# crate-search-div ::after {
8077 /* match border-color; uses https://codepen.io/sosuke/pen/Pjoqqp */
8178 filter : invert (94% ) sepia (0% ) saturate (721% ) hue-rotate (255deg ) brightness (90% ) contrast (90% );
Original file line number Diff line number Diff line change 3535 --search-result-link-focus-background-color : # ccc ;
3636 --stab-background-color : # fff5d6 ;
3737 --stab-code-color : # 000 ;
38+ --search-color : # 000 ;
3839}
3940
4041.slider {
You can’t perform that action at this time.
0 commit comments