mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-04 01:00:04 +00:00
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:
@@ -360,6 +360,9 @@ class WP_Theme_JSON {
|
||||
'duotone' => null,
|
||||
'gradients' => null,
|
||||
'link' => null,
|
||||
'heading' => null,
|
||||
'button' => null,
|
||||
'caption' => null,
|
||||
'palette' => null,
|
||||
'text' => null,
|
||||
),
|
||||
@@ -562,6 +565,9 @@ class WP_Theme_JSON {
|
||||
array( 'border', 'style' ),
|
||||
array( 'border', 'width' ),
|
||||
array( 'color', 'link' ),
|
||||
array( 'color', 'heading' ),
|
||||
array( 'color', 'button' ),
|
||||
array( 'color', 'caption' ),
|
||||
array( 'dimensions', 'minHeight' ),
|
||||
array( 'position', 'sticky' ),
|
||||
array( 'spacing', 'blockGap' ),
|
||||
|
||||
Reference in New Issue
Block a user