Skip to content

Commit 302e51f

Browse files
Add colors for constants and unions
1 parent 6c94965 commit 302e51f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/librustdoc/html/static/rustdoc.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -438,6 +438,8 @@ a {
438438
.content span.struct, .content a.struct, .block a.current.struct { color: #df3600; }
439439
.content span.type, .content a.type, .block a.current.type { color: #e57300; }
440440
.content span.macro, .content a.macro, .block a.current.macro { color: #068000; }
441+
.content span.union, .content a.union, .block a.current.union { color: #c0c74f; }
442+
.content span.constant, .content a.constant, .block a.current.constant { color: #c7944f; }
441443
.block a.current.crate { font-weight: 500; }
442444

443445
.search-input {

0 commit comments

Comments
 (0)