about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJacob Hoffman-Andrews <github@hoffman-andrews.com>2021-12-08 12:07:32 -0800
committerJacob Hoffman-Andrews <github@hoffman-andrews.com>2021-12-08 12:07:32 -0800
commitc8e0f97ad2e8efc71a7099ae1f67be8e7dcb5f6b (patch)
tree5c6ad23e5ab571c504cf20442ff789ff1800e6c5
parent2a7ee2178bb3a8f3610e0e4bd3ea409941954b15 (diff)
downloadrust-c8e0f97ad2e8efc71a7099ae1f67be8e7dcb5f6b.tar.gz
rust-c8e0f97ad2e8efc71a7099ae1f67be8e7dcb5f6b.zip
Change associated type to use link color
-rw-r--r--src/librustdoc/html/static/css/themes/ayu.css2
-rw-r--r--src/librustdoc/html/static/css/themes/dark.css4
-rw-r--r--src/librustdoc/html/static/css/themes/light.css4
3 files changed, 5 insertions, 5 deletions
diff --git a/src/librustdoc/html/static/css/themes/ayu.css b/src/librustdoc/html/static/css/themes/ayu.css
index 558ac426645..bbf9b5ba6ff 100644
--- a/src/librustdoc/html/static/css/themes/ayu.css
+++ b/src/librustdoc/html/static/css/themes/ayu.css
@@ -188,7 +188,7 @@ pre, .rustdoc.source .example-wrap {
 	color: #39AFD7;
 }
 .content span.type, .content a.type {
-	color: #e6e1cf;
+	color: #39AFD7;
 }
 .content span.fn, .content a.fn, .content span.method,
 .content a.method, .content span.tymethod,
diff --git a/src/librustdoc/html/static/css/themes/dark.css b/src/librustdoc/html/static/css/themes/dark.css
index 2114e3581a7..f3aca6746c9 100644
--- a/src/librustdoc/html/static/css/themes/dark.css
+++ b/src/librustdoc/html/static/css/themes/dark.css
@@ -126,7 +126,7 @@ a.result-union:focus { background-color: #194e9f; }
 a.result-fn:focus,
 a.result-method:focus,
 a.result-tymethod:focus { background-color: #4950ed; }
-a.result-type:focus { background-color: #eee; }
+a.result-type:focus { background-color: #884719; }
 a.result-foreigntype:focus { background-color: #194e9f; }
 a.result-attr:focus,
 a.result-derive:focus,
@@ -140,7 +140,7 @@ a.result-keyword:focus { background-color: #884719; }
 
 .content span.enum, .content a.enum, .block a.current.enum { color: #2dbfb8; }
 .content span.struct, .content a.struct, .block a.current.struct { color: #2dbfb8; }
-.content span.type, .content a.type, .block a.current.type { color: #ddd; }
+.content span.type, .content a.type, .block a.current.type { color: #D2991D; }
 .content span.foreigntype, .content a.foreigntype, .block a.current.foreigntype { color: #2dbfb8; }
 .content span.attr, .content a.attr, .block a.current.attr,
 .content span.derive, .content a.derive, .block a.current.derive,
diff --git a/src/librustdoc/html/static/css/themes/light.css b/src/librustdoc/html/static/css/themes/light.css
index 89fc2bbfec6..4bf323d3396 100644
--- a/src/librustdoc/html/static/css/themes/light.css
+++ b/src/librustdoc/html/static/css/themes/light.css
@@ -126,7 +126,7 @@ a.result-union:focus { background-color: #e7b1a0; }
 a.result-fn:focus,
 a.result-method:focus,
 a.result-tymethod:focus { background-color: #c6afb3; }
-a.result-type:focus { background-color: #ccc; }
+a.result-type:focus { background-color: #afc6e4; }
 a.result-foreigntype:focus { background-color: #e7b1a0; }
 a.result-attr:focus,
 a.result-derive:focus,
@@ -140,7 +140,7 @@ a.result-keyword:focus { background-color: #afc6e4; }
 
 .content span.enum, .content a.enum, .block a.current.enum { color: #AD378A; }
 .content span.struct, .content a.struct, .block a.current.struct { color: #AD378A; }
-.content span.type, .content a.type, .block a.current.type { color:  black; }
+.content span.type, .content a.type, .block a.current.type { color:  #3873AD; }
 .content span.foreigntype, .content a.foreigntype, .block a.current.foreigntype { color: #AD378A; }
 .content span.attr, .content a.attr, .block a.current.attr,
 .content span.derive, .content a.derive, .block a.current.derive,