Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Dark mode: add class to invert image brightness
  • Loading branch information
hugovk committed Apr 28, 2023
commit cfa17802db70ece5b67c0a2c97f59a511afbb899
4 changes: 4 additions & 0 deletions python_docs_theme/static/pydoctheme_dark.css
Original file line number Diff line number Diff line change
Expand Up @@ -120,3 +120,7 @@ div.note {
.nav-content {
background-color: black;
}

img.invert-in-dark-mode {
filter: invert(1) hue-rotate(.5turn);
}