Skip to content

Commit

Permalink
fix(css): dim image in light mode (#367)
Browse files Browse the repository at this point in the history
When defaultTheme is dark, images brightness didn't change to 100% in light mode.

FIxed #365
  • Loading branch information
starspiritstorm authored Jan 17, 2022
1 parent d1d3472 commit 5e6c812
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions assets/scss/themes/_light.scss
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@
.theme-icon-dark {
display: none;
}
img {
filter: none;
}

@if ($enableHighlight) {
/* https://xyproto.github.io/splash/docs/all.html */
Expand Down

0 comments on commit 5e6c812

Please sign in to comment.