-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add background color setting #223
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. Left one copy styling note then good to go.
This work raises two new questions, for separate PRs:
- The typography and background color should be saved with user defined layouts.
- Some of the group blocks in the default templates have solid white backgrounds. We should remove these so the page background is always visible.
/> | ||
<BaseControl label={ __( 'Background Color', 'newspack-newsletters' ) } id={ id }> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<BaseControl label={ __( 'Background Color', 'newspack-newsletters' ) } id={ id }> | |
<BaseControl label={ __( 'Background color', 'newspack-newsletters' ) } id={ id }> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed: 8fb1840
# [1.2.0](v1.1.0...v1.2.0) (2020-06-18) ### Bug Fixes * copy ([8fb1840](8fb1840)) * namespace use in register_rest_route ([ccaebbc](ccaebbc)) * raise list limit to maximum ([#224](#224)) ([863c8a7](863c8a7)) ### Features * remove white background from layouts' groups ([0fd4468](0fd4468)) * support background color setting ([2b98984](2b98984)), closes [#219](#219) * support background color setting ([#223](#223)) ([cb142eb](cb142eb)), closes [#219](#219) * **mjml:** reponsive images ([#222](#222)) ([c1867d9](c1867d9)), closes [#221](#221)
🎉 This PR is included in version 1.2.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
All Submissions:
Changes proposed in this Pull Request:
Add setting for background color. During testing I've found that GMail and Outlook on iOS in dark mode disregard a white background color even if set, there's nothing we can do about it I think.
Closes #219.
How to test the changes in this Pull Request:
Other information: