Skip to content

Commit

Permalink
Move color to themes
Browse files Browse the repository at this point in the history
  • Loading branch information
Manishearth committed Apr 12, 2021
1 parent 05d1e72 commit 942ed31
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
2 changes: 0 additions & 2 deletions src/librustdoc/html/static/rustdoc.css
Expand Up @@ -1766,14 +1766,12 @@ details.rustdoc-toggle > summary::-webkit-details-marker {

details.rustdoc-toggle > summary.hideme > span {
margin-left: 9px;
color: #999;
}

details.rustdoc-toggle > summary::before {
content: "[+]";
font-weight: 300;
font-size: 0.8em;
color: #999;
letter-spacing: 1px;
}

Expand Down
4 changes: 3 additions & 1 deletion src/librustdoc/html/static/themes/ayu.css
Expand Up @@ -224,7 +224,9 @@ a {
color: #39AFD7;
}

.collapse-toggle {
.collapse-toggle,
details.rustdoc-toggle > summary.hideme > span,
details.rustdoc-toggle > summary::before {
color: #999;
}

Expand Down
4 changes: 3 additions & 1 deletion src/librustdoc/html/static/themes/dark.css
Expand Up @@ -186,7 +186,9 @@ a.test-arrow {
color: #dedede;
}

.collapse-toggle {
.collapse-toggle,
details.rustdoc-toggle > summary.hideme > span,
details.rustdoc-toggle > summary::before {
color: #999;
}

Expand Down
4 changes: 3 additions & 1 deletion src/librustdoc/html/static/themes/light.css
Expand Up @@ -184,7 +184,9 @@ a.test-arrow {
color: #f5f5f5;
}

.collapse-toggle {
.collapse-toggle,
details.rustdoc-toggle > summary.hideme > span,
details.rustdoc-toggle > summary::before {
color: #999;
}

Expand Down

0 comments on commit 942ed31

Please sign in to comment.