Skip to content

Commit 3cec71e

Browse files
authored
Rollup merge of #76374 - pickfire:patch-4, r=Cldfire
Improve ayu doc source line number contrast Improve contrast of foreground line number. Before ![image](https://user-images.githubusercontent.com/4687791/92305696-1bf2ab80-efbc-11ea-8b5c-a24c4f6261e0.png) After ![image](https://user-images.githubusercontent.com/4687791/92305700-2a40c780-efbc-11ea-9061-dbfcb1e71980.png) r? @Cldfire I think we should add the line for light and dark theme too, it looks better and clearer that way.
2 parents 4ac88c0 + d80415a commit 3cec71e

File tree

1 file changed

+3
-2
lines changed
  • src/librustdoc/html/static/themes

1 file changed

+3
-2
lines changed

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

+3-2
Original file line numberDiff line numberDiff line change
@@ -129,9 +129,10 @@ pre {
129129
color: #ffb44c;
130130
}
131131

132-
.line-numbers span { color: #5c6773ab; }
132+
.line-numbers span { color: #5c6773; }
133133
.line-numbers .line-highlighted {
134-
background-color: rgba(255, 236, 164, 0.06) !important;
134+
color: #708090;
135+
background-color: rgba(255, 236, 164, 0.06);
135136
padding-right: 4px;
136137
border-right: 1px solid #ffb44c;
137138
}

0 commit comments

Comments
 (0)