Automattic / wp-calypso

The JavaScript and API powered WordPress.com
https://developer.wordpress.com
GNU General Public License v2.0
12.42k stars 1.99k forks source link

Button Block: Add Option for Hover Color #56382

Open msilbers opened 3 years ago

msilbers commented 3 years ago

What

Include option to change hover color on a button block

Why

The button block allows customization of the text and background colors, but inherits hover from the theme, which some customers don't like. This came up in a chat.

How

We can add it to the color options where text and background colors are set, in the sidebar.

inaikem commented 3 years ago

Noting a request for button block hover effects here: 4314023-zen.

msilbers commented 3 years ago

requested in 32531245-hc

msilbers commented 3 years ago

Needed CSS for this in 4435312-hc but not outright requested

aleone89 commented 2 years ago

Another requirement for this here: hc-24805223 (TwentySixteen theme)

I supplied this CSS:

.wp-block-button.is-style-outline a:hover, .wp-block-button.is-style-outline a:visited { color: black; background: #ffef8e; }

aleone89 commented 2 years ago

Another instance here: hc-34473719

Addison-Stavlo commented 2 years ago

Linking this Gutenberg issue here for better tracking of the feature request: https://github.com/WordPress/gutenberg/issues/4543

cuemarie commented 2 years ago

Requested here: 35161607-hc No workaround provided due to Pro Plan's current scope of support

dcoleonline commented 2 years ago

Another in 5508842-zen Supplied CSS workaround based on their plan level

github-actions[bot] commented 2 years ago

Support References

This comment is automatically generated. Please do not edit it.