Skip to content

Commit

Permalink
Merge pull request thuliteio#460 from limichange/patch-5
Browse files Browse the repository at this point in the history
feat: adjust latex svg image to dark theme
  • Loading branch information
h-enk committed Sep 21, 2021
2 parents b348c3e + b045b32 commit d8b48ae
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions assets/scss/common/_dark.scss
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,10 @@ $navbar-dark-active-color: $link-color-dark;
color: $link-color-dark;
}

[data-dark-mode] body .content img[src^="https://latex.codecogs.com/svg.latex"] {
filter: invert(1);
}

[data-dark-mode] body .navbar .btn-link:hover {
color: $navbar-dark-hover-color;
}
Expand Down

0 comments on commit d8b48ae

Please sign in to comment.