Skip to content
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

Create cover block with only colour #2488

Merged
merged 4 commits into from
Jul 17, 2020
Merged

Conversation

antonis
Copy link

@antonis antonis commented Jul 16, 2020

Fixes WordPress/gutenberg#23831 (parent #2275)

Related PRs:

Description

A palette with four colours (black, white and a couple of theme defaults) has been added bellow the Add Media Button. When the user taps on a colour indicator the block is created with the selected colour as background.
The latest design can be found here.

How has this been tested?

  • Add a cover block
  • Press the one colour from the palette
  • Verify that a new cover block with only colour is created

Screenshots

Empty cover block Android iOS
Simulator Screen Shot - iPhone 11 - 2020-07-14 at 17 34 57 android ios

Types of changes

Enhancement

PR submission checklist:

  • I have considered adding unit tests where possible.
  • I have considered if this change warrants user-facing release notes more info and have added them to [RELEASE-NOTES.txt](RELEASE-NOTES.txt) if necessary.

@peril-wordpress-mobile
Copy link

peril-wordpress-mobile bot commented Jul 16, 2020

Wanna run full suite of Android and iOS UI tests? Click here and 'Approve' CI job!

Copy link
Contributor

@geriux geriux left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@antonis antonis merged commit 2cb0892 into develop Jul 17, 2020
@antonis antonis deleted the issue/23831_Cover_Only_color branch July 17, 2020 14:49
@antonis antonis added this to the 1.33 milestone Jul 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Blocks [Type] Enhancement Improves a current area of the editor
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants