Skip to content

Commit c8e0f97

Browse files
committed
Change associated type to use link color
1 parent 2a7ee21 commit c8e0f97

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ pre, .rustdoc.source .example-wrap {
188188
color: #39AFD7;
189189
}
190190
.content span.type, .content a.type {
191-
color: #e6e1cf;
191+
color: #39AFD7;
192192
}
193193
.content span.fn, .content a.fn, .content span.method,
194194
.content a.method, .content span.tymethod,

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ a.result-union:focus { background-color: #194e9f; }
126126
a.result-fn:focus,
127127
a.result-method:focus,
128128
a.result-tymethod:focus { background-color: #4950ed; }
129-
a.result-type:focus { background-color: #eee; }
129+
a.result-type:focus { background-color: #884719; }
130130
a.result-foreigntype:focus { background-color: #194e9f; }
131131
a.result-attr:focus,
132132
a.result-derive:focus,
@@ -140,7 +140,7 @@ a.result-keyword:focus { background-color: #884719; }
140140

141141
.content span.enum, .content a.enum, .block a.current.enum { color: #2dbfb8; }
142142
.content span.struct, .content a.struct, .block a.current.struct { color: #2dbfb8; }
143-
.content span.type, .content a.type, .block a.current.type { color: #ddd; }
143+
.content span.type, .content a.type, .block a.current.type { color: #D2991D; }
144144
.content span.foreigntype, .content a.foreigntype, .block a.current.foreigntype { color: #2dbfb8; }
145145
.content span.attr, .content a.attr, .block a.current.attr,
146146
.content span.derive, .content a.derive, .block a.current.derive,

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ a.result-union:focus { background-color: #e7b1a0; }
126126
a.result-fn:focus,
127127
a.result-method:focus,
128128
a.result-tymethod:focus { background-color: #c6afb3; }
129-
a.result-type:focus { background-color: #ccc; }
129+
a.result-type:focus { background-color: #afc6e4; }
130130
a.result-foreigntype:focus { background-color: #e7b1a0; }
131131
a.result-attr:focus,
132132
a.result-derive:focus,
@@ -140,7 +140,7 @@ a.result-keyword:focus { background-color: #afc6e4; }
140140

141141
.content span.enum, .content a.enum, .block a.current.enum { color: #AD378A; }
142142
.content span.struct, .content a.struct, .block a.current.struct { color: #AD378A; }
143-
.content span.type, .content a.type, .block a.current.type { color: black; }
143+
.content span.type, .content a.type, .block a.current.type { color: #3873AD; }
144144
.content span.foreigntype, .content a.foreigntype, .block a.current.foreigntype { color: #AD378A; }
145145
.content span.attr, .content a.attr, .block a.current.attr,
146146
.content span.derive, .content a.derive, .block a.current.derive,

0 commit comments

Comments
 (0)