Follow-up from T378770 where the background is been set as transparent by default. In order to avoid contrast issues between background and images used for community updates, allow communities to set a light background (white) for dark mode. The setting is not necessary for light mode where the background is already light.
Proposed solution: add a boolean type to opt in into having a white background for the image. Should appear below the image field in the community update form
Copy:
Label: Add a white background to the image in dark mode.
Description: If your image has a transparent background, it may be difficult to see in dark mode. If the text or icon is dark, adding a white background can ensure it remains visible in dark mode.
Design:
Acceptance criteria:
- Communities can set a white background for a logo/image via Special:CommunityConfiguration/CommunityUpdates
- Community Configuration migration to allow for the change. We should default to this setting being unchecked (in other words, leave this check box unchecked).