remove more default wp css variables

This commit is contained in:
Aadil Ayub 2024-05-30 13:11:24 +05:00
parent 0bb53d1598
commit 10a69df129

View File

@ -9,8 +9,22 @@ function custom_wp_theme_json_default( $theme_json ) {
'settings' => array(
'color' => array(
'palette' => array(),
'gradient' => array(),
)
'gradients' => array(),
),
'shadow' => array(
'presets' => array(),
),
'typography' => array(
'fontSizes' => array(),
),
'dimensions' => array(
'aspectRatios' => array(),
),
'spacing' => array(
'spacingScale' => array(
'steps' => 0,
),
),
),
);
return $theme_json->update_with( $new_data );