re-enable default padding and spacing presets

This commit is contained in:
Aadil Ayub 2024-05-30 17:51:15 +05:00
parent 617cbde64d
commit dbc689122c

View File

@ -17,14 +17,14 @@ function custom_wp_theme_json_default( $theme_json ) {
'typography' => array( 'typography' => array(
'fontSizes' => array(), 'fontSizes' => array(),
), ),
'dimensions' => array( // 'dimensions' => array(
'aspectRatios' => array(), // 'aspectRatios' => array(),
), // ),
'spacing' => array( // 'spacing' => array(
'spacingScale' => array( // 'spacingScale' => array(
'steps' => 0, // 'steps' => 0,
), // ),
), // ),
), ),
); );
return $theme_json->update_with( $new_data ); return $theme_json->update_with( $new_data );