Hi @nikhilchaudhary
First off, make sure you are on the latest patch – 2.0.4. This ensures that things go as smoothly as possible, as these new hot fixes have improved a lot of things.
Then, the commands for the main theme should be as follows –
# WARNING: Run all the commands one by one and carefully examine the output of each command
# 1. First run the replace with dry run, to see which tables exactly will be affected and how many replacements will be there.
wp search-replace --dry-run "paletteColor" "theme-palette-color-"
wp search-replace --dry-run "buttonInitialColor" "theme-button-background-initial-color"
wp search-replace --dry-run "var(--fontFamily)" "var(--theme-font-family)"
# 2. Actually perform the replacement
wp search-replace "paletteColor" "theme-palette-color-"
wp search-replace "buttonInitialColor" "theme-button-background-initial-color"
wp search-replace "var(--fontFamily)" "var(--theme-font-family)"
Let us know if this results in a successful migration. Make sure you have a backup for that just in case scenario. 🙂
Thanks.