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

Buttons block: Use default background color based on the current theme #54195

Open
fluiddot opened this issue Sep 5, 2023 · 0 comments
Open
Labels
[Block] Buttons Affects the Buttons Block Mobile App - i.e. Android or iOS Native mobile impl of the block editor. (Note: used in scripts, ping mobile folks to change) [Type] Enhancement A suggestion for improvement.

Comments

@fluiddot
Copy link
Contributor

fluiddot commented Sep 5, 2023

Description

When adding a Buttons block, the background color of buttons is always set to grey by default. This diverges from the web version, which uses the default color based on the theme.

Step-by-step reproduction instructions

  1. Add a Buttons block in the web version.
  2. Check the background color applied to the button.
  3. Add a Button block in the native version.
  4. Observe that the background color is grey and doesn't match the one observed in the web version.

Expected behaviour

By default, buttons of the Buttons block should have their background color based on the current theme.

Actual behaviour

By default, buttons of the Buttons block always have their background set to grey.

Screenshots or screen recording (optional)

Web App
Screenshot 2023-09-05 at 18 05 48

WordPress information

  • WordPress version: N/A
  • Gutenberg version: N/A
  • Are all plugins except Gutenberg deactivated? N/A
  • Are you using a default theme (e.g. Twenty Twenty-One)? No

Device information

  • Device: iPhone 11
  • Operating system: iOS 15.4.1
  • WordPress app version: WP-iOS 23.2.0.0
@fluiddot fluiddot added [Type] Enhancement A suggestion for improvement. Mobile App - i.e. Android or iOS Native mobile impl of the block editor. (Note: used in scripts, ping mobile folks to change) [Block] Buttons Affects the Buttons Block labels Sep 5, 2023
@fluiddot fluiddot changed the title Buttons block: Use background default color based on the current theme Buttons block: Use default background color based on the current theme Sep 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Block] Buttons Affects the Buttons Block Mobile App - i.e. Android or iOS Native mobile impl of the block editor. (Note: used in scripts, ping mobile folks to change) [Type] Enhancement A suggestion for improvement.
Projects
None yet
Development

No branches or pull requests

1 participant