Skip to content

Commit

Permalink
Add a light background to images
Browse files Browse the repository at this point in the history
Images with transparency will generally assume a light background.
  • Loading branch information
elia committed Jan 11, 2024
1 parent 12d7504 commit 77bcfeb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions admin/app/assets/stylesheets/solidus_admin/dark.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,5 @@ html {

main img {
filter: invert(100%) hue-rotate(-180deg);
background-color: #fff;
}
1 change: 1 addition & 0 deletions admin/app/assets/stylesheets/solidus_admin/dimmed.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@ html {

main img {
filter: invert(91%) brightness(1.5) contrast(1.5) hue-rotate(-180deg);
background-color: #ddd;
}

0 comments on commit 77bcfeb

Please sign in to comment.