Color scheme error

We’re currently developing a Shopify theme and are about to add the color scheme settings in the next version of the theme. While creating and adding the setting in the development environment, we encounter the error: “To preview your changes, color schemes must be defined in settings_data and settings_schema files.”; and the color scheme data must be manually added to the setting_data.json file. When we try to update the Dawn theme from a version that doesn’t have this setting (version 2.0.0) to a version that has this setting (current version 15.4.1), however, we don’t encounter this error, and the data is automatically added from a preset. We want to ask, when we release the next version of our theme, is there any solution that the data can be automatically added from presets to setting_data.json file when customers update their themes?

image