diff --git a/lib/class-wp-theme-json.php b/lib/class-wp-theme-json.php index 6b140156f65db..72ee649c6fd89 100644 --- a/lib/class-wp-theme-json.php +++ b/lib/class-wp-theme-json.php @@ -92,6 +92,9 @@ class WP_Theme_JSON { 'styles' => array( 'border' => array( 'radius' => null, + 'color' => null, + 'style' => null, + 'width' => null, ), 'color' => array( 'background' => null, @@ -120,6 +123,9 @@ class WP_Theme_JSON { 'settings' => array( 'border' => array( 'customRadius' => null, + 'customColor' => null, + 'customStyle' => null, + 'customWidth' => null, ), 'color' => array( 'custom' => null, @@ -251,6 +257,18 @@ class WP_Theme_JSON { 'value' => array( 'border', 'radius' ), 'support' => array( '__experimentalBorder', 'radius' ), ), + 'borderColor' => array( + 'value' => array( 'border', 'color' ), + 'support' => array( '__experimentalBorder', 'color' ), + ), + 'borderWidth' => array( + 'value' => array( 'border', 'width' ), + 'support' => array( '__experimentalBorder', 'width' ), + ), + 'borderStyle' => array( + 'value' => array( 'border', 'style' ), + 'support' => array( '__experimentalBorder', 'style' ), + ), 'color' => array( 'value' => array( 'color', 'text' ), 'support' => array( 'color' ),