[ntp] Support shopping module product images with white backgrounds
Product images should sit on top of a light gray background. Before this CL, we only supported this for images with a transparent background. This CL adds support for images with a white background by: - Placing the image in a white box, - Making the image and the box slightly transparent, and - Placing the box on top of a dark gray background. The colors and transparency are chosen such that the white box and the dark gray background mix to the same light gray we showed for images with transparent backgrounds before. See crbug/1145763 for screenshots. Fixed: 1145763 Change-Id: Ib07bfd99b6a0d30192113e1ceb1a542d076138a8 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2520319 Commit-Queue: Tibor Goldschwendt <tiborg@chromium.org> Auto-Submit: Tibor Goldschwendt <tiborg@chromium.org> Reviewed-by:Moe Ahmadi <mahmadi@chromium.org> Cr-Commit-Position: refs/heads/master@{#824548}
Showing
Please register or sign in to comment