Skip to content

Commit

Permalink
💄 style: don't fully invert images in dark theme
Browse files Browse the repository at this point in the history
It washes out the contrast a bit, but a pure white background on a
picture, which matches the background of the light theme, will now
perfectly match the dark theme background.
  • Loading branch information
welpo committed Feb 11, 2023
1 parent 0bae051 commit f443693
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sass/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
--accent-color: #ff9a8c;

.invertable-image {
filter: invert(1);
filter: invert(.88);
}
}

Expand Down

0 comments on commit f443693

Please sign in to comment.