Skip to content

Commit 9c3ffd7

Browse files
committed
adjust sidebar link brightness
1 parent d13e8dd commit 9c3ffd7

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,9 @@ pre.rust a,
221221
body.source .example-wrap pre.rust a {
222222
background: #333;
223223
}
224+
.sidebar a {
225+
color: #53b1db;
226+
}
224227

225228
details.rustdoc-toggle > summary.hideme > span,
226229
details.rustdoc-toggle > summary::before,

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,9 @@ a.test-arrow {
182182
body.source .example-wrap pre.rust a {
183183
background: #333;
184184
}
185+
.sidebar a {
186+
color: #fdbf35;
187+
}
185188

186189
details.rustdoc-toggle > summary.hideme > span,
187190
details.rustdoc-toggle > summary::before,

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,9 @@ a.test-arrow {
179179
body.source .example-wrap pre.rust a {
180180
background: #eee;
181181
}
182+
.sidebar a {
183+
color: #356da4;
184+
}
182185

183186
details.rustdoc-toggle > summary.hideme > span,
184187
details.rustdoc-toggle > summary::before,

0 commit comments

Comments
 (0)