From 10a69df129d852cc4a05ab54b56ca58c3e97eba0 Mon Sep 17 00:00:00 2001 From: Aadil Ayub Date: Thu, 30 May 2024 13:11:24 +0500 Subject: [PATCH] remove more default wp css variables --- functions.php | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/functions.php b/functions.php index adf114a..43b308b 100644 --- a/functions.php +++ b/functions.php @@ -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 );