Skip to content
This repository has been archived by the owner on Sep 21, 2022. It is now read-only.

Commit

Permalink
Merge pull request #436 from Financial-Times/NOPS-COPS-36-fix-transpa…
Browse files Browse the repository at this point in the history
…rent-images

NOPS-COPS-36 Fix Transparent Images
  • Loading branch information
willhoward authored Apr 20, 2020
2 parents 6e2d6fb + a24e000 commit 631b51d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions scss/_hacks.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/* Give all images a paper-coloured background to prevent PNGs from being
displayed against black when open in a lightbox or undergoing transitions. */
img {
background-color: oColorsGetPaletteColor('pink');
}

$o-buttons-themes__standout: map-merge($o-buttons-themes__standout, (
pressedselected: (
background: oColorsGetColorFor(o-buttons-standout-pressedselected, background)
Expand Down

0 comments on commit 631b51d

Please sign in to comment.