Skip to content

Commit

Permalink
Added inverting svg colors in dark mode
Browse files Browse the repository at this point in the history
  • Loading branch information
bulhakovolexii committed Jan 26, 2024
1 parent 1ac608c commit bd4ea27
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/_sass/custom/custom.scss
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ img {
img[src$="gh-light-mode-only"] {
display: none;
}
img[src$=".svg"] {
-webkit-filter: invert(100%); /* safari 6.0 - 9.0 */
filter: invert(100%);
}
}

// Styling tables
Expand Down

0 comments on commit bd4ea27

Please sign in to comment.