Skip to content

Commit

Permalink
doc: support Ayu theme
Browse files Browse the repository at this point in the history
This theme was recently added to rustdoc.
<rust-lang/rust#71237>
  • Loading branch information
yvt committed Jul 31, 2020
1 parent b164d6f commit 9672b15
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/constance/src/common.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,10 @@ span.center img, center img {
body.theme-dark span.center img, body.theme-dark center img {
filter: invert(88%);
}

body.theme-ayu span.center img, body.theme-ayu center img {
filter: invert(89%) sepia(90%) hue-rotate(180deg);
}
</style>
<script type="application/javascript">
<!--
Expand Down

0 comments on commit 9672b15

Please sign in to comment.