Editor: add support for block-level link hover colors.

Adds the ability to set link hover colors for individual blocks from the block inspector color panel.

Props @youknowriad, @peterwilsoncc, @kebbet.
Fixes #58575.


git-svn-id: https://develop.svn.wordpress.org/trunk@56028 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Isabel Brison
2023-06-26 01:13:56 +00:00
parent 3381afd631
commit f571f4519b
4 changed files with 34 additions and 4 deletions

View File

@@ -269,7 +269,10 @@ class Tests_Theme_wpThemeJson extends WP_UnitTestCase {
'color' => true,
),
'color' => array(
'link' => true,
'link' => true,
'heading' => true,
'button' => true,
'caption' => true,
),
'dimensions' => array(
'minHeight' => true,
@@ -299,7 +302,10 @@ class Tests_Theme_wpThemeJson extends WP_UnitTestCase {
'color' => true,
),
'color' => array(
'link' => true,
'link' => true,
'heading' => true,
'button' => true,
'caption' => true,
),
'dimensions' => array(
'minHeight' => true,