Skip to content

Commit

Permalink
Invert diagrams when JavaScript is disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
jhpratt committed Oct 12, 2021
1 parent b8fe5a2 commit 0476c5b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/api/format-description.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@
filter: invert(0.8) hue-rotate(180deg);
}
}

@media (prefers-color-scheme: dark) {
.light.no-js img[src$='#rr'] {
filter: invert(0.8) hue-rotate(180deg);
}
}
</style>

# Format description
Expand Down

0 comments on commit 0476c5b

Please sign in to comment.