From 302e51fdc9e921eda6b52eff00dc102ea2e27514 Mon Sep 17 00:00:00 2001 From: Guillaume Gomez Date: Sun, 30 Jul 2017 15:11:15 +0200 Subject: [PATCH] Add colors for constants and unions --- src/librustdoc/html/static/rustdoc.css | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/librustdoc/html/static/rustdoc.css b/src/librustdoc/html/static/rustdoc.css index 567c8fb97180..9d237bba1bcd 100644 --- a/src/librustdoc/html/static/rustdoc.css +++ b/src/librustdoc/html/static/rustdoc.css @@ -438,6 +438,8 @@ a { .content span.struct, .content a.struct, .block a.current.struct { color: #df3600; } .content span.type, .content a.type, .block a.current.type { color: #e57300; } .content span.macro, .content a.macro, .block a.current.macro { color: #068000; } +.content span.union, .content a.union, .block a.current.union { color: #c0c74f; } +.content span.constant, .content a.constant, .block a.current.constant { color: #c7944f; } .block a.current.crate { font-weight: 500; } .search-input {