Skip to content

Commit 94ba7f0

Browse files
Fix search result bottom border color
1 parent b0f3940 commit 94ba7f0

File tree

4 files changed

+4
-1
lines changed

4 files changed

+4
-1
lines changed

src/librustdoc/html/static/css/rustdoc.css

+1-1
Original file line numberDiff line numberDiff line change
@@ -886,7 +886,7 @@ so that we can apply CSS-filters to change the arrow color in themes */
886886
/* A little margin ensures the browser's outlining of focused links has room to display. */
887887
margin-left: 2px;
888888
margin-right: 2px;
889-
border-bottom: 1px solid var(--border-color);
889+
border-bottom: 1px solid var(--search-result-border-color);
890890
gap: 1em;
891891
}
892892

src/librustdoc/html/static/css/themes/ayu.css

+1
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ Original by Dempfi (https://github.com/dempfi/ayu)
3838
--sidebar-link-color: #53b1db;
3939
--sidebar-current-link-background-color: transparent;
4040
--search-result-link-focus-background-color: #3c3c3c;
41+
--search-result-border-color: #aaa3;
4142
--stab-background-color: #314559;
4243
--stab-code-color: #e6e1cf;
4344
--search-color: #fff;

src/librustdoc/html/static/css/themes/dark.css

+1
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
--sidebar-link-color: #fdbf35;
3434
--sidebar-current-link-background-color: #444;
3535
--search-result-link-focus-background-color: #616161;
36+
--search-result-border-color: #aaa3;
3637
--stab-background-color: #314559;
3738
--stab-code-color: #e6e1cf;
3839
--search-color: #111;

src/librustdoc/html/static/css/themes/light.css

+1
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
--sidebar-link-color: #356da4;
3434
--sidebar-current-link-background-color: #fff;
3535
--search-result-link-focus-background-color: #ccc;
36+
--search-result-border-color: #aaa3;
3637
--stab-background-color: #fff5d6;
3738
--stab-code-color: #000;
3839
--search-color: #000;

0 commit comments

Comments
 (0)