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

Varia + children: Hover color stays default when the user changes the color of a block #3006

Closed
MaggieCabrera opened this issue Jan 12, 2021 · 1 comment

Comments

@MaggieCabrera
Copy link
Contributor

Steps to replicate

  • Activate any Varia child theme (or Varia)
  • Create a button, change its background color to the secondary color or a custom color.

Result

The hover background color doesn't fit the new color selected

Expected

If for example the color selected is the secondary color, the hover color should be something like background-color: #{map-deep-get($config-global, "color", "secondary", "hover")};, if the color selected is a custom color we can do something like lower the opacity of the color selected for the background. We should also consider if the text color needs to change as well, same thing with outlined buttons.

@MaggieCabrera
Copy link
Contributor Author

This should be fixed on the block directly: WordPress/gutenberg#27075

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant